Active Topics

 


Reply
Thread Tools
Posts: 17 | Thanked: 9 times | Joined on Apr 2012 @ India
#671
Can you try it by reformatting the partition to ext2 and updating FS_TYPE in boot item file ?
I didn't try booting to archlinux but u-boot-update-boot-menu command didn't gave any errors.
 

The Following User Says Thank You to starkwiz For This Useful Post:
ArchiMark's Avatar
Posts: 414 | Thanked: 109 times | Joined on Mar 2007 @ Silicon Valley
#672
Originally Posted by starkwiz View Post
Can you try it by reformatting the partition to ext2 and updating FS_TYPE in boot item file ?
I didn't try booting to archlinux but u-boot-update-bootmenu command didn't gave any errors.
I actually had that partition formatted to ext4 per the instructions on the blog....but for some reason, my n900 had problem with that.

So, that is why I reformatted partition to ext3.....

Meanwhile, someone over on the Arch thread suggested that I delete my boot menu entry file and start over. I did that and now when I did u-boot-update-bootmenu it worked without error message and when I rebooted I see the menu item!

Now, I just need to fix some Arch boot errors.....

Thanks for all your help!
__________________
Mark
Silicon Valley Digerati

Nokia N900
Previous: Nokia N810 & N800

Last edited by ArchiMark; 2013-04-29 at 13:51.
 
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#673
Originally Posted by ArchiMark View Post
So, are you saying that if I click return key after the last line and then save file, it is OK or are you saying to actually type in '\n' at the end of the last line or ?

Thanks.
No :-) It is a platform thing.....

http://en.wikipedia.org/wiki/Newline
 

The Following 2 Users Say Thank You to handaxe For This Useful Post:
Posts: 153 | Thanked: 81 times | Joined on Dec 2011 @ P town
#674
Hi, I have kernel 2.6.28.10-cssu3 installed.
This is my item file:
Code:
# ls -l /etc/bootmenu.d/
-rw-r--r--    1 root     root           217 May  4 23:08 20-ArchLinuxARM.item
-rw-r--r--    1 root     root            87 May  5 01:03 20-Maemo5-kernel-cssu.item
-rw-r--r--    1 root     root            82 Apr 20 16:56 30-U-Boot-2013.04-1.item
-rw-r--r--    1 root     root            99 May  4 23:34 99-backupmenu.item
This is the content of 20-Maemo5-kernel-cssu.item:
Code:
ITEM_NAME="Maemo 5 kernel cssu"
ITEM_KERNEL="kernel-2.6.28.10-cssu3"
ITEM_OMAPATAG="1"
Kernel already copied to /opt/boot :
Code:
# ls -l /opt/boot/
-rw-r--r--    1 root     root       1785748 May  4 21:34 kernel-2.6.28.10-cssu3
-rw-r--r--    1 root     root        212768 Apr 20 16:56 u-boot-2013.04-1.bin
This is the output when I run u-boot-update-bootmenu
Code:
# u-boot-update-bootmenu 
Default bootmenu entry is '/etc/bootmenu.d/20-Maemo5-kernel-cssu.item'
Adding bootmenu entry for: 'Maemo 5 with attached kernel 2.6.28-omap1 (Internal Nand)'

Configuration file: /etc/bootmenu.d/20-ArchLinuxARM.item
Adding bootmenu entry for: 'Arch Linux ARM'

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

Configuration file: /etc/bootmenu.d/30-U-Boot-2013.04-1.item
Generating u-boot image for kernel 'u-boot-2013.04-1.bin'...
Adding bootmenu entry for: 'U-Boot 2013.04-1'

Configuration file: /etc/bootmenu.d/99-backupmenu.item
Warning: Invalid file - missing kernel or script file - skipping...

Generating u-boot bootmenu script...
But when I reboot and select "Maemo 5 kernel cssu" on u-boot, it always boot backupmenu.
Can't u-boot load kernel-cssu directly? Something wrong with my configuration?

Also backupmenu is not listed in u-boot menu. How can I add backupmenu to u-boot menu?
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#675
Originally Posted by sLumPia View Post
Also backupmenu is not listed in u-boot menu. How can I add backupmenu to u-boot menu?
u-boot booting kernels not shell scripts. backupmenu is shell script which depends on linux kernel. so u-boot cannot boot backupmenu.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#676
Originally Posted by sLumPia View Post
But when I reboot and select "Maemo 5 kernel cssu" on u-boot, it always boot backupmenu.
Slide keyboard *in* just after selecting "Maemo 5 kernel cssu"

Otherwise, you may want to make it default boot entry, so u-boot will boot it automatically, if keyboard isn't slided *out* during boot.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following User Says Thank You to Estel For This Useful Post:
Posts: 153 | Thanked: 81 times | Joined on Dec 2011 @ P town
#677
Thanks Estel, it is boot to backupmenu because the keyboard was out.
I have set kernel-cssu as default entry and u-boot boot kernel-cssu right away.
 

The Following User Says Thank You to sLumPia For This Useful Post:
Alecsandru's Avatar
Posts: 439 | Thanked: 282 times | Joined on Oct 2012
#678
u-boot doesn't read bootmenu.img.d and bootmenu folder on ext4 MyDocs , any hints? thank you
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#679
@Alecsandru: Make sure, you have last uboot version (2013.04-1), MyDocs is on first eMMC partition and you are not using new ext4 features (which are not supported by uboot).
 
Alecsandru's Avatar
Posts: 439 | Thanked: 282 times | Joined on Oct 2012
#680
I've successfully converted MyDocs and /home to ext4 ,but u-boot can't read ext4 MyDocs ( I think) , any hint on this ,can be fixed or we have to wait the new release? thank you for everything pali

Last edited by Alecsandru; 2013-05-25 at 19:21.
 
Reply

Tags
bootmenu, u-boot


 
Forum Jump


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