Hi, everyone,
I encounter a strange uboot nand operation fail. I use nand erease, nand write command to flash kernel and cramfs image, everything is ok, no any error message. Then I boot the system, uboot can read kernel and cramfs image, mount cramfs, run application with many error message. If I reflash system, the problem is similar, just get different error message when run in application in rootfs. If I refalsh and mount cramfs rootfs in a different address range in nand or replace the nand chip with other ipnc368 machine, the problem disappeared, system can boot and run normal.
So, It seems nand flash damage just in some address range. But, Why uboot nand write command can't report error, is there no ecc generate and read back verify? And when uboot boot and nand command read the cramfs image, no error report also(uboot can't find camfs error, linux find error untill run application in cramfs), is there no ecc check?
How to fix this issue?