loading the kernel and root FS separately from flash?

Robert P. J. Day rpjday at mindspring.com
Mon Jun 28 20:00:05 EST 2004


(as wolfgang also responded to this, i'll save some feedback for his
post.)

On Sun, 27 Jun 2004, Eugene Surovegin wrote:

> Yes, this is possible and actually quite trivial.
>
> Partition your flash the way you want, e.g. reserve part of the
> flash chip for root fs, place filesystem into it and mount
> corresponding mtdblock device during boot, e.g. use something like
> "root=/dev/mtdblock1" if you have several fs compiled into your
> kernel you can use additional command line parameter
> "rootfstype=<your_root_fs>" to prevent kernel trying all registered
> fs while mounting root.

yes, i found out that it was, in fact, kind of embarrassingly easy. i
just followed a sample partition definition in rpxlite.c and, lo and
behold, it just worked.  i'm not used to having things just work. :-)

rday

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list