Reply
Thread Tools Search this Thread
Posts: 709 | Thanked: 438 times | Joined on Jun 2010 @ Göteborg, Sweden
#671
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: 55 | Thanked: 6 times | Joined on Dec 2011 @ P town
#672
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: 1,589 | Thanked: 6,080 times | Joined on May 2010
#673
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: 3,837 | Thanked: 5,594 times | Joined on Mar 2011
#674
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: 55 | Thanked: 6 times | Joined on Dec 2011 @ P town
#675
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:
Reply

Tags
bootmenu, u-boot

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 
Forum Jump


All times are GMT -4. The time now is 08:11 PM.