I have a board that we build for some times now and recently we build a new batch.
The new batch can not write/read from NAND.
We checked and NAND is the same part number and everything else is the same. We used a NAND from old batch and placed it on new board and the new board worked, we placed the NAND from a non working board into a working board and the working board stops working. So we belive it is the NAND that makes the problem.
After some investigation, we found that on a working board, we are getting this message in uboot :
nand info
Device 0: NAND 512MiB 3,3V 16-bit, sector size 128 KiB
and on a non working board we are getting this:
Device 0: NAND 512MiB 3,3V 16-bit, sector size 256 KiB
apparently the sector size is changed.
The device is: MT29F4G16ABAEAH4
How important is sector size? and how can I change the kernel and uboot to work with this new sector size?