Re: U-Boot for Nokia RX-51 with BootMenu
I have problems with u-boot-gen-combined:
Code:
Nokia-N900:/home/user# ls -l u-boot-2011.12-1.bin |
Re: U-Boot for Nokia RX-51 with BootMenu
u-boot-gen-combined propably failed because it does not show output file. Correct output should be:
Code:
U-Boot binary: u-boot-2011.12-1.bin Code:
$ sh -x /usr/bin/u-boot-gen-combined u-boot-2011.12-1.bin uImage1 zImage1 |
Re: U-Boot for Nokia RX-51 with BootMenu
Here the result:
Code:
Nokia-N900:/home/user# sh -x /usr/bin/u-boot-gen-combined u-boot-2011.12-1.bin uImage1 zImage3 dd if=/dev/zero of=zImage3 bs=1 count=70544 conv=notrunc oflag=append dd if=uImage1 of=zImage3 conv=notrunc oflag=append have no effect PS I have BusyBox v1.19.3 (Debian 1.19.3power4) multi-call binary. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
oflag option is not supported by maemo's dd command (at least on busybox power4 version) The correct dd commands should be: dd if="/dev/zero" of="$output" bs=1 count="$uboot_append" conv=notrunc seek="$uboot_size" 2>/dev/null dd if="$kernel" of="$output" conv=notrunc bs=1024 seek="$(($uboot_max / 1024))" 2>/dev/null |
Re: U-Boot for Nokia RX-51 with BootMenu
Has someone tested this with busybox-power? I got errors during flashing with u-boot-flasher (related to /dev/mtd3 and whatever) Also, booting the standard kernel (omap1, installed via u-boot-flasher) and some others via very early u-boot menu seems ok, but if you aren't quick enough to close the slider afterwards BootMenu can't boot using /etc/bootmenu.d/*.item and has troubles with mtd4.
I'm actually not sure if using /etc/bootmenu.d/ is "the best way" as it conflicts in the above way and also during updating u-boot's menu (manually have to move backupmenu.item and recovery.item out of there to allow successful menu creation) |
Re: U-Boot for Nokia RX-51 with BootMenu
hi Pali,
first of all thanks for your great work! This is really a step change in the multiboot/boot menu area. Finally something user friendly. And very safe, once your first combined kernel is set up correctly. I'm sure lother devs will modify their solutions to be usable with this U-Boot solution. Can I have a few requests ? - Is it possible to auto boot the LAST selected kernel when booting with keyboard closed ? That way it would only be needed to open the keyboard to select a DIFFERENT kernel, and it would allow to boot every time (with keyboard closed) the previously selected non-NAND kernel. - when showing the U-boot bootmenu, is possible to increase the timeout value before continuing the default boot? Now it's a v short time it's looking for keystrokes. This can easily be extended to a few seconds I guess. - maybe I'm running abit ahead but I'm trying to get create an entry to start my NITdroid :) What is the syntax for the device specifier in the item for the SD Card, 2nd partition ? U-boot keeps complaining about the incorrect boot device. I started off with ITEM_DEVICE=mmcblk1p2. NO GO. Then, according to the error message, the device specifier should be in the format 'dev[:part]'. U-boot also informed me gently that the current device is mmc0 so trying to be clever, I tried ITEM_DEVICE=mmc1:2. stil NO GO all other ITEM_ properties I kept as in the multiboot item file. Any hint u can give ? PS. Did I already say I really like booting/playing with kernels this way ? :) |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
Quote:
Quote:
Quote:
Code:
ITEM_NAME="Test" |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
But if somebody else has problem, I can change that code. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
If there is even only one error during menu generation, the bootmenu.scr is not generated (or updated). Please remove backupmenu.item from /etc/bootmenu.d/ and retry, it will work. |
All times are GMT. The time now is 01:08. |
vBulletin® Version 3.8.8