Reply
Thread Tools
Nobless's Avatar
Posts: 101 | Thanked: 73 times | Joined on Oct 2011 @ Lithuania
#221
Originally Posted by vakkov View Post
@Nobless you didn't replace init.nokia.rc and init_subsys
I replaced but in you filename : "init.nokia.rc" was error: "init.nokia .rc" and i checked now, renamed it and its works Thanks now its boot ok.
 

The Following User Says Thank You to Nobless For This Useful Post:
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#222
Here is new version of script u-boot-update-bootmenu which support specifing first (default) menu entry. Specifing first menu entry is done by creating symlink from menu entry file to /etc/default/bootmenu.item

For example this will configure kernel power v50 as first entry:

Code:
$ ln -sf /etc/bootmenu.d/20-Maemo5-kernel-power-2.6.28.10-power50.item /etc/default/bootmenu.item
$ u-boot-update-bootmenu
Please note that when keyboard is closed, u-boot will always boot attached kernel. This behaviour must be changed in u-boot binary.
Attached Files
File Type: txt u-boot-update-bootmenu.txt (8.7 KB, 438 views)
 

The Following 9 Users Say Thank You to pali For This Useful Post:
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#223
Just tried the above, but in u-boot when I choose attached kernel, again only omap1 gets loaded and after that in boot menu, there's only one option which says Maemo 5 (Internal Nand) and wich again only boots omap1 instead of anything else? *feeling noobish*

What I'm missing?

Greetz,

J4ZZ
__________________

N900 ~ $ make me a sandwich
-bash: no, make it yourself
N900 ~ $ sudo make me a sandwich
-bash: ok then...
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#224
@J4ZZ, what about writing output from update script and output of ls -l /etc/default/bootmenu.item ?
 
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#225
This is update-script output:
Code:
┌[ root]+[N900]
└[~]--> u-boot-update-bootmenu
Default bootmenu entry is '/etc/bootmenu.d/20-Maemo5-kernel-power-2.6.28.10-power50.item'
Adding bootmenu entry for: Maemo 5 with attached kernel 2.6.28-omap1 (Internal Nand)

Configuration file: /etc/bootmenu.d/20-Maemo5-kernel-power-2.6.28.10-power50.item
Generating u-boot image for kernel 'zImage-2.6.28.10-power50'...
Adding bootmenu entry for: 'Maemo 5 with kernel-power 2.6.28.10-power50'
Configuring this bootmenu entry as default

Configuration file: /etc/bootmenu.d/30-Maemo5-2.6.28-omap1-fb.item
Generating u-boot image for kernel 'zImage-2.6.28-omap1-fb'...
Adding bootmenu entry for: 'Maemo 5 with 2.6.28-omap1-fb'

Configuration file: /etc/bootmenu.d/30-Maemo5-2.6.28-omap1.item
Generating u-boot image for kernel 'zImage-2.6.28-omap1'...
Adding bootmenu entry for: 'Maemo 5 with 2.6.28-omap1'

Configuration file: /etc/bootmenu.d/40-Nemo.item
Adding bootmenu entry for: 'Nemo'

Configuration file: /etc/bootmenu.d/50-NITDroid.item
Adding bootmenu entry for: 'NITDroid'

Configuration file: /etc/bootmenu.d/60-Kubuntu.item
Adding bootmenu entry for: 'Kubuntu'

Generating u-boot bootmenu script...
And here is ln -s...:
Code:
lrwxrwxrwx    1 root     root            61 Jan  1  2000 /etc/default/bootmenu.item -> /etc/bootmenu.d/20-Maemo5-kernel-power-2.6.28.10-power50.item
__________________

N900 ~ $ make me a sandwich
-bash: no, make it yourself
N900 ~ $ sudo make me a sandwich
-bash: ok then...
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#226
Now you should have in u-boot first entry "Maemo 5 with kernel-power 2.6.28.10-power50". If not, sent me generated file bootmenu.scr from MyDocs
 
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#227
The first pickable options I see from bootmenu are only:

Attached kernel
Internal eMMC
External SD card
U-Boot boot order
U-Boot console

Then when I select "Attached kernel"
Fanoush Boot menu starts with
"Maemo 5 (Internal Nand)"
and
"Power off (when not on charger)" options. That's all I get.

I attached bootmenu.scr
Attached Files
File Type: txt bootmenu.scr.txt (1.7 KB, 136 views)
__________________

N900 ~ $ make me a sandwich
-bash: no, make it yourself
N900 ~ $ sudo make me a sandwich
-bash: ok then...
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#228
Originally Posted by J4ZZ View Post
The first pickable options I see from bootmenu are only:

Attached kernel
Internal eMMC
External SD card
U-Boot boot order
U-Boot console

Then when I select "Attached kernel"
This output is default hardcoded into u-boot. And it is fallback if bootmenu.scr cannot be loaded from first eMMC fat32 partition.

So you have problem, that u-boot cannot read bootmenu.scr from that location. But no idea why. Do you have corrupted/resized/reformated/... MyDocs?

Originally Posted by J4ZZ View Post
Fanoush Boot menu starts with
"Maemo 5 (Internal Nand)"
and
"Power off (when not on charger)" options. That's all I get.
Fanoush bootmenu is now irrelevant.

Originally Posted by J4ZZ View Post
I attached bootmenu.scr
Uhm, your bootmenu.scr does not contains kernel power... This is also strange... I will try to investigate this problem too.
 

The Following 4 Users Say Thank You to pali For This Useful Post:
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#229


I reformatted MyDocs a while back under Ubuntu with Gparted, because i had to delete a few unused partitions. But I think that should be no problem at all, should it?
__________________

N900 ~ $ make me a sandwich
-bash: no, make it yourself
N900 ~ $ sudo make me a sandwich
-bash: ok then...
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#230
run in u-boot these commands:
mmcinfo
mmc dev 1
mmc part 1
fatls mmc 1:1 /
 

The Following 2 Users Say Thank You to pali For This Useful Post:
Reply

Tags
bootmenu, u-boot

Thread Tools

 
Forum Jump


All times are GMT. The time now is 20:03.