[Angstrom-devel] [RFC] How best to handle root-on-flash vs root-on-SD images
Rod Whitby
rod at whitby.id.au
Wed Apr 18 23:24:00 CEST 2007
Have a look at the 'turnup' script in packages/slugos-init/files ...
The idea is you copy the rootfs to the external storage as the 'turnup' step, and then pivot to that on boot. Then you can ipkg install to your heart's content on the external storage.
Note that we (nslu2-linux) want to replace this script by standard altboot functionality to do the same things. So please work with CoreDump to add the features to altboot, rather than reusing this turnup script.
-- Rod
(Apologies for formatting - sent on the road from Treo60)
-----Original Message-----
From: Marcin Juszkiewicz <openembedded at hrw.one.pl>
Date: Thursday, Apr 19, 2007 4:39 am
Subject: Re: [Angstrom-devel] [RFC] How best to handle root-on-flash vs root-on-SD images
Dnia ¶roda, 18 kwietnia 2007, Hans Henry von Tresckow napisa³:
> Since it looks like the lowly collie is now joining the rank of 2.6
> kernel powered machines, it looks like there will be a few more
> "flash-challanged" machines in Angstrom. Currently we have the Collie
> (16MB) and the Poodle/C-700 (21MB Root).
Also Tosa has 21-23M rootfs.
> From my testing so far, it seems that booting these kinds of machines
> with the root fs on SD is a very usefull option. However, it would be
> nice if we could offer some kind of "rescue" image that can be flashed
> into the internal root space to help with recovery and maintainace
> issues.
You need to look how nslu2 guys use their devices. NSLU2 has 8MB flash
with kernel and base system. Boot from flash check does USB storage is
present and working and then pivot_root into it. If storage is broken
then user can login into flash rootfs and fix.
--
JID: hrw-jabber.org
OpenEmbedded developer/consultant
Sam sobie ¶wistakiem, sreberkiem.
_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel at linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel
More information about the Angstrom-distro-devel
mailing list