Does UBI support MLC nand flash?

Josh Boyer jwboyer at linux.vnet.ibm.com
Wed Jan 2 12:13:00 EST 2008


On Wed, 2 Jan 2008 08:52:28 -0800
David Brown <davidb at davidb.org> wrote:

> On Wed, Jan 02, 2008 at 06:39:45AM -0600, Josh Boyer wrote:
> >On Wed, 2 Jan 2008 14:19:16 +0800
> >Nancy <nancydreaming at gmail.com> wrote:
> >
> >> oh, forgot to metion UBI.
> >> UBI has two headers for each LED/PED, they are not write at same time.
> >> Is that against MLC nand's no ramdom write and  write only once
> >> permission?
> >
> >Not to my knowledge.  The second header is written to the second page
> >in the block if subpage writes aren't supported by the underlying
> >chip.  That should still work fine for MLC.
> 
> Many MLC devices will not allow you to write to the second page after
> having written to the third or subsequent pages.  Would this still work?

Yes... UBI doesn't write actual data to the blocks until both headers
are in place.

josh



More information about the linux-mtd mailing list