U-Boot default mtdparts

Werner Almesberger werner at openmoko.org
Fri Jan 18 14:51:12 CET 2008

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.

- Werner

More information about the openmoko-kernel mailing list