Erase error does not mark smth in BBT

Richard Weinberger richard.weinberger at gmail.com
Sun Dec 8 09:43:33 EST 2013


On Sun, Dec 8, 2013 at 10:51 AM, Leon Pollak <leonp at plris.com> wrote:
> Hello, all.
>
> I am studying the code in nand_base.c
> I thought that when erase command ends with an error, the corresponding
> block will be marked as bad or in OOB or in BBT or in both.
> I think I walked through the code carefully, but did not find this
> BBT/OOB treatment.
>
> Please, help me - where is my error?

You're looking at the wrong layer. :-)
Look at the users of mtd_block_markbad().

-- 
Thanks,
//richard



More information about the linux-mtd mailing list