[PATCH v2] mtd: spinand: add support for Foresee FS35ND01G-S1Y2
Daniel Palmer
daniel at 0x0f.com
Tue Mar 23 14:14:48 GMT 2021
Hi Miquel,
On Tue, 23 Mar 2021 at 23:06, Miquel Raynal <miquel.raynal at bootlin.com> wrote:
> >
> > # nandbiterrs -i /dev/mtd1
> > incremental biterrors test
> > Successfully corrected 0 bit errors per subpage
> > Inserted biterror @ 0/5
> > Read reported 4 corrected bit errors
> > ECC failure, invalid data despite read success
>
> This is not a valid behavior. There is something wrong with the way ECC
> status is read/retrieved. The read should indeed report 4 corrected bit
> errors, but then the data should be valid. Here it means that the
> introduced error appears corrected but in fact is not.
>
> We need to understand what status are available and write the
> appropriate vendor code.
Ok. Glad we checked then :).
Before sending again I will recheck how the ECC status is read and fix that up.
Thanks,
Daniel
More information about the linux-mtd
mailing list