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

Mario Rugiero mrugiero at gmail.com
Sun May 14 19:54:26 PDT 2017


Sorry for the noise, but I'm resending since my phone is fixated on
sending HTML mails, so it was rejected from the list:
After some thought, I believe the proper solution is the one proposed
by Boris: write a little program which classifies the false positives
for bad blocks, and erase those blocks forcibly.
What I'm currently wondering is if the incompatibilities come with
false negatives too. In such a case, we should be able to provide the
MTD driver with the information we just gathered, or is it viable to
just program the BBT we just built?

Regards,
Mario.

PD (not in the original mail): would mtd-tools the right place to do
this, or rather sunxi-tools? I think converting from vendor-specific
layouts to MTD could be a more common problem, so I thought of trying
and making it generic enough to support several backends.

2017-05-13 6:17 GMT-03:00 Richard Weinberger <richard at nod.at>:
> Mario,
>
> Am 12.05.2017 um 12:23 schrieb Mario Rugiero:
>>> Actually, most of the development is done already, but we need to
>>> intensively test the implementation and cleanup the code.
>> If you can describe the tests to me, I think I can have them running
>> in at least three devices during next week.
>> I can help with the cleanup, too.
>
> Well, the critical and most important task is understanding the existing
> issues, see slides, and find a bulletproof solution that scales.
>
> If you have questions, don't hesitate to ask. You can also find
> me and Boris on #mtd.
>
> Thanks,
> //richard



More information about the linux-mtd mailing list