View Single Post
Posts: 323 | Thanked: 180 times | Joined on Oct 2009 @ Gent, Belgium
#48
some info not soo long ago in the other big u-boot thread :

Posted by Rob1n :http://talk.maemo.org/showpost.php?p...&postcount=156
Originally Posted by mirakels View Post

my u-boot now allows to copy the initial atags and append cmdline and ramdisk images to it.
Nitdroid now comes up without panics, completely ignoring the maemo rootfs.
Only thing still is the firmware. I'll probably just copy the firmware files tot hte nitdroid partition. Will test later tonight.

Finally got it all working I can now boot into Maemo, Meego or Nitdroid without needing to reflash or change cards. I've attached the patch to u-boot I'm using - it appends the initrd and command line (if set) to the atags instead of just ignoring them when atagaddr is set.

For Nitdroid, I'm using multiboot as normal, but fooling it into thinking it's already done the reflash, so it just loads Nitdroid straight away. If anyone's interested, I can also post my initramfs and u-boot scripts.
The patches created by Rob1n or Mirakels is not in the last version of the u-boot code as delivered yesterday. I checked the git code for /arch/arm/bootm.c

It might not be needed to allow the copying of the existing ATAGS + the new ones as specified during u-boot, if you want to go for a pure port, as Rob1n used a hybrid Maemo FS + Nitdroid FS. But then extra work needs to be done.

Also the following post in the same thread (by Mirakels) might help to get more insight.

Anyway, it's getting too deep for me, for now, I'll let the big boys play

Thanks already for all the effort
 

The Following 3 Users Say Thank You to Netweaver For This Useful Post: