Reply
Thread Tools
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#461
Originally Posted by Hurrian View Post
The new kernel wouldn't be flashed on the NAND, it'll be kept as a separate option in u-boot to boot. We won't be dealing with the 2MB flash size limit.
I think I'm a bit distracted today. I meant to write what Pali said, but then extend it with what you (and Pali) said, which is what I actually had in mind, i.e. to put the kernel somewhere in MyDocs (or wherever U-boot can read it).

*Note, you can take out the UBIFS and cramfs drivers which are inlined into the kernel. Why do we have those when we intend to boot into eMMC?
Exactly. For now (for whatever appropriate definition of "now" I would leave the UBIFS stuff in there. Just in case we actually succeed in having the rootfs on MMC and we happen to need the NAND as a *backup* root file system

[ have to investigate the option of using MTD5 as swap, or for some minimal Backupmenu-like installation, etc. ]

Furthermore, we can simply tweak bootmenu.scr to have the eMMC boot system as default. No biggie.
Obviously it's no biggie. The biggie comes when your N900 cannot communicate with the external world (no USB, no SD, no network) except by means of the user's fingers. That's when any U-boot debugging becomes a pain.

But hey, I'm not complaining. It's already amazing enough that we have the chance of doing so much at bootloader level (3rd or 4th level, but so what
 

The Following User Says Thank You to reinob For This Useful Post:
Posts: 20 | Thanked: 8 times | Joined on Apr 2012
#462
Originally Posted by reinob View Post
How are you installing it?

Just download the .deb and (as root) do dpkg -i u-boot-tools..

Post (exactly) any errors you get.
Thanks Reinob. I was using the filemanager which launch app manager. I used dpkg and all installed ok.
 
Posts: 34 | Thanked: 6 times | Joined on Apr 2012
#463
guys after power 51 installation and the two uboot files installation in d first page. i got the message ''Warning: Item file has obsolated option ITEM_USEATAG. Change it to ITEM_OMAPATAG'' what does this mean? what am i to do? i havnt switched off my phone for fear of not booting up?
 
Posts: 20 | Thanked: 8 times | Joined on Apr 2012
#464
I must be missing something in getting this working. I've just flashed my phone with vanilla PR13. Installed the tools and flasher package from the first post. Ran u-boot-update-bootmenu which created an entry for the default omap kernel. Rebooted it gets as far as "Starting Kernel", sits for 30 secs then turns off.

Am I missing a crucial step here?
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#465
Did you follow the first post, especially
Set bootmenu item file as default first entry
Create symlink to /etc/default/bootmenu.item from your item file. For example:
$ ln -s /etc/bootmenu.d/20-Maemo5-kernel-power-2.6.28.10-power51.item /etc/default/bootmenu.item

Item config file has same format as Fanoush bootmenu and is stored in same folder (Multiboot package has same format too, but in folder /etc/multiboot.d/)

After creating config run tool u-boot-update-bootmenu. u-boot-update-bootmenu must be called every time, when config file is changed.
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#466
Originally Posted by aadags View Post
guys after power 51 installation and the two uboot files installation in d first page. i got the message ''Warning: Item file has obsolated option ITEM_USEATAG. Change it to ITEM_OMAPATAG'' what does this mean? what am i to do? i havnt switched off my phone for fear of not booting up?
The warning says it all, edit each of the files in /etc/bootmenu.d/, for which you are getting this error message and change
ITEM_USEATAG to ITEM_OMAPATAG. Is this warning that difficult to understand?
 

The Following 3 Users Say Thank You to michaaa62 For This Useful Post:
Posts: 32 | Thanked: 30 times | Joined on Jul 2012 @ Deb & Ian's dooryard
#467
Originally Posted by aadags View Post
guys after power 51 installation and the two uboot files installation in d first page. i got the message ''Warning: Item file has obsolated option ITEM_USEATAG. Change it to ITEM_OMAPATAG'' what does this mean? what am i to do? i havnt switched off my phone for fear of not booting up?
U-boot uses ITEM config files located at /etc/bootmenu.d. Somehow your .item file(s) contain a deprecated variable.

Please read the OP post careful, and don't forget to run 'u-boot-update-bootmenu' after changing settings in ITEM file.
 
Posts: 34 | Thanked: 6 times | Joined on Apr 2012
#468
phewww!!!!! i made it at last! even though it initially stopped at starting kernel. it booted on a second a second attempt with keyboard closed.
so is it advisable to install nitdroid n12 with uboot enabled?

Last edited by aadags; 2012-08-08 at 12:59. Reason: corrected
 
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#469
@aadags,

1. What you got is a warning. U-boot-update-bootmenu still wrote the correct settings, so feel free to reboot. Don't worry about it.

2. When you think you can or are brave enough, edit[**] each file you find under /etc/bootmenu.d directory and simply replace ITEM_USEATAG with ITEM_OMAPTAG. Then run u-boot-menu-update again.

[**] If you don't know how to edit a file please search in the Wiki or in the Forum. Don't ask here (it's way off topic). If absolutely necessary, please create a new thread and ask there OK?

3. About Uninstalling
At the moment your kernel has been replaced by U-boot (together with an attached kernel). Don't just uninstall u-boot. A kernel cannot be "uninstalled": it has to be replaced by something else. You cannot leave the kernel partition "empty", so to speak.

Since you apparently wanted to use U-boot (that's why you're here), I don't think you really want to uninstall it (and as I mentioned above in point 1, you're perfectly OK) -- UNLESS U-BOOT-UPDATE-BOOTMENU DISPLAYED OTHER ERROR THAT YOU HAVE NOT TOLD US ABOUT.

If you want to be absolutely sure, run u-boot-update-bootmenu again and post the exact output (a photo will do, if you don't know how).
 

The Following 2 Users Say Thank You to reinob For This Useful Post:
Posts: 20 | Thanked: 8 times | Joined on Apr 2012
#470
If I just install the 2 packages and reboot. Shouldn't it just boot the attached kernel? As in, the attachedkernel doesn't actually have a bootmenu entry, so its not dependant on a correct bootmenu setup in order to boot properly?

(Just trying to troubleshoot my setup and another failure)
 
Reply

Tags
bootmenu, u-boot

Thread Tools

 
Forum Jump


All times are GMT. The time now is 14:33.