UBIFS and hardware ECC of all FF pages of MLC NAND
Artem Bityutskiy
dedekind at infradead.org
Thu Sep 24 10:51:46 EDT 2009
On Thu, 2009-09-24 at 16:20 +0300, Adrian Hunter wrote:
> UBIFS assumes FF pages at the end of eraseblocks are empty. UBI and UBIFS are
> designed not to require OOB and will not read or write it.
>
> > 2. for initial downloading, should an ECC be programmed on all FF data pages? Is there any correction advantage?
>
> In your case, as you have discovered, you must not program ECC for FF pages at
> the end of eraseblocks.
>
> > 3. for runtime page writes, should an all FF page leave the ECC at FF as well?
>
> No. The only time UBI or UBIFS will write an all FF page is if that is the
> data to be stored - in which case, it should be given an ECC.
I even wrote a doc about how UBI-aware flashing should be done:
http://www.linux-mtd.infradead.org/doc/ubi.html#L_format
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list