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)

pali 2012-06-20 12:13

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
 
@guilledoc: U-Boot does not flashing kernels! It loads it and start it directly. Did you installed -bootimg kernel package?

guilledoc 2012-06-20 13:33

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
 
Canīt believe myself
Sorry for bothering anyone with my posts same probleme as usual typing error-
Wrote in config without the "S" ---REUSEATAG--
THANKS A LOT for your hard work and really really sorry

jem555 2012-06-23 19:06

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
 
Hi. I'm trying to boot Nitdroid. N12umay is in the internal card mmcblk1p5 (ext3). Dropped nitdroid image in /boot and modules in /lib/modules, in first fat partition.
U-boot is reading kernel ok. It delays 10 sec (as configured) and then it reboots.

Thanks for any help!

trompkins 2012-06-23 20:29

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

Originally Posted by jem555 (Post 1226402)
Hi. I'm trying to boot Nitdroid. N12umay is in the internal card mmcblk1p5 (ext3). Dropped nitdroid image in /boot and modules in /lib/modules, in first fat partition.
U-boot is reading kernel ok. It delays 10 sec (as configured) and then it reboots.

Thanks for any help!

My config's identical. Try this:

/etc/bootmenu.d -- yes, it's mmcblk0p5
Code:

ITEM_NAME="NITDroid"
ITEM_KERNEL="uImage"
ITEM_DEVICE="${INT_CARD}p5"
ITEM_FSTYPE="ext3"
ITEM_CMDLINE="snd-soc-rx51.hp_lim=42 snd-soc-tlv320aic3x.hp_dac_lim=6 console=tty1 root=/dev/mmcblk0p5 rw rootdelay=5 init=/init panic=30 debug"
ITEM_REUSEATAGS=1

Drop uImage into root of mmcblk1p5, drop the modules into /your/nitdroid/lib/modules/2.6.28.NIT.07 then execute cd /your/nitdroid/lib/modules && ln -s 2.6.28.NIT.07 current if you haven't done that already.
Don't mess with mmc1, boot.scr or FAT partition, it's not needed.

You might also want to check the last paragraph of this post out if you need camera to work.

jem555 2012-06-23 21:14

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

Originally Posted by trompkins (Post 1226442)
My config's identical. Try this:

/etc/bootmenu.d -- yes, it's mmcblk0p5
Code:

ITEM_NAME="NITDroid"
ITEM_KERNEL="uImage"
ITEM_DEVICE="${INT_CARD}p5"
ITEM_FSTYPE="ext3"
ITEM_CMDLINE="snd-soc-rx51.hp_lim=42 snd-soc-tlv320aic3x.hp_dac_lim=6 console=tty1 root=/dev/mmcblk0p5 rw rootdelay=5 init=/init panic=30 debug"
ITEM_REUSEATAGS=1

Drop uImage into root of mmcblk1p5, drop the modules into /your/nitdroid/lib/modules/2.6.28.NIT.07 then execute cd /your/nitdroid/lib/modules && ln -s 2.6.28.NIT.07 current if you haven't done that already.
Don't mess with mmc1, boot.scr or FAT partition, it's not needed.

You might also want to check the last paragraph of this post out if you need camera to work.


Thanks a lot, trompkins!!! you got it! That's it. Changing to /dev/mmcblk0p5 was the key. I already had the modules in place cause before I've tried to boot directly from ext3. Now works like a charm.

Thanks again! :)

guilledoc 2012-06-24 11:31

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
 
Sorry for bothering again
Intalled the cssu-thumb and now when I reboot with keyboard open only bootmenu loads but not u-boot any idea how to arreange it?

reinob 2012-06-25 07:36

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

Originally Posted by guilledoc (Post 1226676)
Sorry for bothering again
Intalled the cssu-thumb and now when I reboot with keyboard open only bootmenu loads but not u-boot any idea how to arreange it?

When you installed cssu-thumb your kernel (u-boot w/ attached kernel) was replaced by the csssu-thumb kernel (which is based on kp50).

So you basically lost u-boot. If you want u-boot and cssu-thumb you need to create a combined image of u-boot + cssu-thumb kernel (I believe you can find the instructions on the first post).

peterleinchen 2012-06-26 21:00

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
 
Instructions for manually combining can be found in palis post #6, page 1.

If you got Multiboot, just combine the u-boot and the uImage, create new multiboot item (e.g. kp50u-boot), symlink modules folder (kp50u-boot) to existing one (kp50) and boot/flash it. On next boot you will have u-boot (combined with multiboot, which is of course not needed anymore, but hey its still there) ...

Mr Wolf 2012-06-29 13:58

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
 
Hi!
I wanted to install Backupmenu together with NITDroid.
So, I installed first U-Boot and then Backupmenu, and it worked, I could start Backupmenu from U-Boot menu.
Then, I installed NITDroid through the autoinstaller on the mass memory, but it replaced its own boot menu, U-Boot disappeared.
So, is there a way to have both Backupmenu and NITDroid in U-Boot?
Many thanks for your help!

Hurrian 2012-07-01 11:49

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
 
Pali, do you have any information on preparing an initfs to be fed to u-boot?

I feel like putting mmc and filesystem modules in an initrd and booting Maemo off a uSD, without the hassle of losing power management.


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

vBulletin® Version 3.8.8