[PATCH] mtd: nand: add option to erase NAND blocks even if detected as bad.

Richard Weinberger richard at nod.at
Fri May 12 01:45:51 PDT 2017


Boris,

Am 12.05.2017 um 10:44 schrieb Boris Brezillon:
>> Do this only if you *really* know what you are doing.
> 
> I'm clearly not encouraging people to use nand.scrub, it's just that
> sometime you don't have a choice, and this is the case here:
> Allwinner is putting non-FF data in the BBM region, and when we switch
> from an Allwinner kernel to a mainline kernel, the mainline kernel
> considers all programmed blocks as bad.

This is the "...only if you *really* know what you are doing" part. :-)

Thanks,
//richard



More information about the linux-mtd mailing list