On Wed, 5 Feb 2020 22:28:50 +1100 JH <jupiter.hce@xxxxxxxxx> wrote: > Resolved, using kernel test probably a bad idea, change to use > mtd-utils nandbiterrs resolved issue. I doubt it solved the real problem: ECC is not working properly. > > [ 695.257984] mtd_nandbiterrs: Inserted biterror @ 0/0 > > [ 695.262984] mtd_nandbiterrs: rewrite page > > [ 695.273646] mtd_nandbiterrs: read_page > > [ 695.280000] mtd_nandbiterrs: Read reported 2 corrected bit errors The ECC engine should report an uncorrectable error here, not 2 corrected bits. BTW, an ECC of 2bits/512bytes sounds weak for a 2k-page NAND. What's the NAND part you're testing with? ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/