UBIFS seeing corrupt blank pages when image flashed via u-boot

Calvin Johnson linux.cj at gmail.com
Mon Jan 13 07:19:42 EST 2014


Hi,

On Fri, Jan 3, 2014 at 6:29 PM, Artem Bityutskiy
<artem.bityutskiy at linux.intel.com> wrote:
>
> Hi Pekon,
>
> On Fri, 2014-01-03 at 11:45 +0000, Gupta, Pekon wrote:
> > *_Case-1_ Flashing UBIFS image from u-boot using 'nand write' utility*
> >
> > For a partially written erased-block..
> > (a) 1st page is written with 'erase-header'
> > (b) 2nd page is written with 'volume-header'
> > (c) '3rd page' is written with 'some data'
> > (d) '4th to last-page of block' should be left blank, but they are written with 0xFF.
> > As a effect of (d), the ECC calculated for (all 0xff data) is written to
> > OOB area of all pages from 4th-page till last-page of the PEB.
>
> Yup.
>

If the 4th to last-page are left blank and not covered with ECC, what
will happen in case of bit flips on the blank pages? There was an
issue reported some time back.
http://lists.infradead.org/pipermail/linux-mtd/2012-January/039256.html

Does UBI/UBIFS take care of this now?

Thanks,
Calvin



More information about the linux-mtd mailing list