maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1) (https://talk.maemo.org/showthread.php?t=81613)

starkwiz 2013-04-29 05:30

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
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.

ArchiMark 2013-04-29 13:17

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
Quote:

Originally Posted by starkwiz (Post 1339827)
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..... :rolleyes:

Thanks for all your help!

handaxe 2013-04-29 18:34

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
Quote:

Originally Posted by ArchiMark (Post 1339790)
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

sLumPia 2013-05-04 18:58

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
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?

pali 2013-05-04 19:10

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
Quote:

Originally Posted by sLumPia (Post 1341251)
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 2013-05-04 21:04

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
Quote:

Originally Posted by sLumPia (Post 1341251)
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

sLumPia 2013-05-04 21:33

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
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.

Alecsandru 2013-05-25 19:11

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
u-boot doesn't read bootmenu.img.d and bootmenu folder on ext4 MyDocs , any hints? thank you

pali 2013-05-25 19:15

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
@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 2013-05-25 19:19

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
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


All times are GMT. The time now is 22:06.

vBulletin® Version 3.8.8