Active Topics

 


Reply
Thread Tools
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#571
Originally Posted by MetalGearSolid View Post
... 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.

Originally Posted by MetalGearSolid View Post
Btw the command u-boot-update-bootmenu ... does it need to be run as root ?
u-boot-update-bootmenu does not need root rights.

Originally Posted by MetalGearSolid View Post
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
~ $ 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.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 3 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 43 | Thanked: 50 times | Joined on Apr 2011 @ Ipoh, Malaysia
#572
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's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#573
Originally Posted by MetalGearSolid View Post
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?
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 
Posts: 177 | Thanked: 152 times | Joined on Oct 2011
#574
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
 
Posts: 43 | Thanked: 50 times | Joined on Apr 2011 @ Ipoh, Malaysia
#575
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.
 
Posts: 177 | Thanked: 152 times | Joined on Oct 2011
#576
Afaik uboot doesn't come with kpv51r1
if you have thumb installed, install uboot-with kernel-cssu
 
Posts: 43 | Thanked: 50 times | Joined on Apr 2011 @ Ipoh, Malaysia
#577
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.
 

The Following 2 Users Say Thank You to MetalGearSolid For This Useful Post:
Posts: 362 | Thanked: 426 times | Joined on Nov 2010 @ Italy, Lombardia
#578
Hopes to see a N900 port for U-Boot v 2.0 (now called "Barebox bootloader") ?
 

The Following 2 Users Say Thank You to Fabry For This Useful Post:
Posts: 578 | Thanked: 994 times | Joined on Dec 2012
#579
Pali, could you tell me what file I should edit to u-boot can use boot.scr and bootmenu.img.d from sdcard?
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#580
@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.
 

The Following User Says Thank You to pali For This Useful Post:
Reply

Tags
bootmenu, u-boot


 
Forum Jump


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