for our custom board we have a 512MB Micron NAND flash chip.
I have compiled MTD utilities and changed the number and size of partitions as needed, also flashing root filesystem works with jffs2..all good
however, from time to time, we get a board that fails to flash for some reason, some times IO error or CRC failures...etc
so I'm building a new feature in the firmware for the production group to test the nand chip before flashing it (something like quick test, full test with a progress bar)
so I'm using mtd_pagetest and mtd_oob tests sucess as an indication for a healthy NAND MTD partition.
I have MTD2 used for u-boot environment and it is 1 block in size (128KB). The pagetest always fails on this partition for some reason! I think the partition is good, it has all u-boot variabled read/write fine, so i guess something wrong with page test dealing with a small partition maybe??
so, I'm just asking if anyone knows or have experienced similar problem with the mtd_pagetest?
Regards,
Ahmed