I am working on a imx53_loco based board and my last modification was to boot the system through a NAND Flash memory. All parts of the system (hardware, bootloader, kernel and rootfs) are correctly settled-up and are working seamless (No "dmesg" prints indicating read/write errors, Read/Write from all the system components alike).
However, i don't know how to ensure the system is correctly adjusted and even if it will recover bad bits and set as "bad blocks" erroneous blocks of memory.
My first thought was to change the read function in NAND driver and randomly replace a bit in the page read to force the system to recover the information. Still, it doesn't cover the write process and i don't think that's the best practice for testing NAND operation.
I would be glad if anyone could help by suggesting some method, hardware or software for test the NAND operation and configuration in the hole system.
Based on IMX53 loco board
Leonardo Ramos dos Santos