[PATCH 0/3] Qi booting control from rootfs

Werner Almesberger werner at openmoko.org
Tue Nov 25 16:32:48 CET 2008


Andy Green wrote:
>> But this doesn't matter, does it ? It's about where the data is in
>> the NAND and whether what you tell the kernel is correct or not.
> 
> There's no rootfstype=jffs2 floating around with NOR?

Sure there is, if you tell it to boot from JFFS2. But why would
this affect the problem we have with the dynamic partitions ?

> impacted by rootfs: not so for SD.  It's not worth servicing the need
> for append and noboot on NAND by bringing back the private state monster.

You could consider it a feature: if you change your rootfs, you
don't have to restore the Qi parameter line :-)

It actually fits nicely if you think of the usage pattern: if you
maintain distinct root file systems on an SD card, you'll probably
just have multiple cards and switch them. However, with NAND, you
have to wipe out the old rootfs, but you keep boot loader and
kernel out-of-band.

In any case, being able to pass parameters from the second erase
page would not prevent anyone from not doing so. So this only
happens if there's a reason for it. The alternative is that people
edit the hard-coded default in Qi, which I think is a lot scarier.

- Werner



More information about the openmoko-kernel mailing list