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)

peterleinchen 2012-12-27 22:33

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

Originally Posted by MetalGearSolid (Post 1308067)
... Although I tried manually copying zImage into /home/user/MyDocs/bootmenu.d/ folder and it gave an error. Elsewhere in MyDocs I can cut/copy stuff. ...

This shows it seems you do not understand fully or just make small typo mistakes! Folder name is MyDocs/bootmenu.img.d
And copying will not work, as kernel image needs to be converted from z to uImage.

Quote:

Originally Posted by MetalGearSolid (Post 1308093)
Btw the command u-boot-update-bootmenu ... does it need to be run as root ?

u-boot-update-bootmenu does not need root rights.

Quote:

Originally Posted by MetalGearSolid (Post 1308093)
I tried with 2012.04-1 and got the mkimage error I posted above. I did not test with 2012.04-2 because I read in the threads that it is not suitable for hw rev 2204.

Maybe (just a guess) your zImage file (located in /boot) is not readable for user. Or it is already a uImage. Or ...
Please give output of
ls -l /boot
Smth like
Quote:

~ $ ls -l /boot/
-rw-r--r-- 1 root root 1783580 Mar 18 2012 zImage-2.6.28.10-power50
-rw-r--r-- 1 root root 2045788 Jul 10 00:45 zImage-2.6.28.10-power50u-boot
You see the size difference? But, really, just a guess.

MetalGearSolid 2012-12-29 15:35

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
Sorry about the typo .. I meant MyDocs/bootmenu.img.d

And I understand that the copy and convert part needs to be done by the script. I was just checking if that particular folder has i/o or access problem by manually copying something into it.

Output of ls -l /boot/

-rw-r--r-- 1 root root 1746688 Jan 16 2012 zImage-2.6.28-omap1
-rw-r--r-- 1 root root 1770180 Jan 16 2012 zImage-2.6.28-omap1-fb
-rw-r--r-- 1 root root 1785760 Jul 23 21:45 zImage-2.6.28.10-power51

peterleinchen 2012-12-30 15:11

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

Originally Posted by MetalGearSolid (Post 1308067)
Yes MyDocs is writable. Just in case I also did a filesystem check before trying it out.

Although I tried manually copying zImage into /home/user/MyDocs/bootmenu.d/ folder and it gave an error. Elsewhere in MyDocs I can cut/copy stuff. Could it be that the permissions for /home/user/MyDocs/bootmenu.d/ have gone wrong ?

Sorry, running out of ideas what might be wrong.
Latest thing I could imagine you are running out of space on MyDocs?

Sourav.dubey 2013-01-02 06:18

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
Pali
can you make uboot+kp52 pkg
there is one with uboot+kp46 but that does not support thumbs and quit outdated
also I have cssu thumb installed so can I use uboot ?
Got in reboot loops

MetalGearSolid 2013-01-05 17:07

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
Probably because CSSU-Thumb requires patches only present in KP51r1 kernel and up. All other kernels go into boot loop. I faced the same issue today.

Sourav.dubey 2013-01-07 06:36

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
Afaik uboot doesn't come with kpv51r1
if you have thumb installed, install uboot-with kernel-cssu

MetalGearSolid 2013-01-08 01:55

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
I solved my U-Boot problem a few days back. Just reporting here in case it happens to anyone else.

Initial failure was due to FAM, it updated u-boot-flasher but not u-boot-tools. Second time around somehow my KP51 zImage in /boot was corrupted so mkimage failed to convert. I was able to resolve by manually deleting the corrupted zImage and reinstalling KP51 bootimage.

Also for CSSU-thumb KP51r1 and above is required. Don't forget to change default bootitem to KP51r1 as the attached kernel will not boot into Maemo with cssu-thumb installed.

Fabry 2013-01-20 14:36

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
Hopes to see a N900 port for U-Boot v 2.0 (now called "Barebox bootloader") ?

elros34 2013-02-06 17:21

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
Pali, could you tell me what file I should edit to u-boot can use boot.scr and bootmenu.img.d from sdcard?

pali 2013-02-06 17:29

Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
 
@elros34: U-Boot on n900 is configured to use bootmenu "config" files from first fat eMMC partition = MyDocs. If you want to run your own uboot script from SD card, correct way is to create bootmenu item file with script file name.

/etc/bootmenu.d/50-SD-boot.conf
Code:

ITEM_NAME="Script boot.scr from SD card"
ITEM_SCRIPT="boot.scr"
ITEM_DEVICE="${EXT_CARD}p1"
ITEM_FSTYPE="fat"

Re-run u-boot-update-bootmenu and then you will have new menu entry in uboot for booting uboot script from SD card, first fat32 partition.


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

vBulletin® Version 3.8.8