UBI torture_peb() bad block detection problem

Richard Genoud richard.genoud at gmail.com
Fri May 31 11:26:59 EDT 2013


2013/4/27 Qiang Yu <yuq825 at gmail.com>:
> Hi guys,
>
> I'm writing MTD driver for Allwinner A10 nand controller. Now there is
> a problem with the UBI torture_peb() function. From the code and UBI
> doc, a PEB will be treated as bad when read with bit-flip after erase.
> But with SAMSUNG K9GBG08U0A flash chip, sometimes the bit-flip does
> happen even after being erased.
>
> My question is why make this a rule to detect bad block in
> torture_peb()? A PEB won't have bit-flip when just being erased?

Hi !
As I have also a cubieboard, I would happily have a look at your
driver and test it !

Richard.



More information about the linux-mtd mailing list