U-Boot default mtdparts

Andy Green andy at openmoko.com
Fri Jan 18 15:04:52 CET 2008

Hash: SHA1

Somebody in the thread at some point said:
> Andy Green wrote:
>> Is it the right thing, part of a larger solution?  It at least enables
>> the device to boot.
> Hmm, MTDPARTS_DEFAULT looks in fact more like a problem than the
> solution. If you use that by accident, your partitions will almost
> certainly differ from the ones you get with "dynpart".
> Given that we start with lots of small partitions, followed by the
> reasonably big kernel, and then the rootfs, chances are that you'll
> hit the first bad block in the kernel partition, and thus end up
> with confusion about where exactly the rootfs starts, which should
> be fun given jffs2's extreme tolerance to anomalies.
> So not using MTDPARTS_DEFAULT at all is probably better. I'll look
> into this during the partitioning cleanup.

Great.  Right now the "default" isn't very meaningful -- Something Needs
Doing.  Maybe it should redo the bad block test in that case and
regenerate a correct mtdparts before saveenv-ing it.

- -Andy
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org


More information about the openmoko-kernel mailing list