I'm in the process of bringing up a new board based on the AM3352, it has a Macronix 2Gb NAND device (PN MX30LF2G28AB) The interesting thing about this part is that has a page size of 2048 and OOB of 112.
I believe that I've properly modified SPL, u-boot, and Linux to deal with this unusual OOB size.
I have configured sysboot 4:0 to 10011, i.e. 1st boot device NAND, last boot device UART. I have checked STATUS_CONTROL register to confirm that the processor is reading the sysboot pins correctly.
I've booted from UART and written the MLO and u-boot.img files to NAND, further more I have read the MLO sector back from NAND and verified that it matches the MLO file.
However the board will not boot from NAND, it always go to the UART boot.
I noticed on pg4683 of the TRM under Features it states:
Support for large page size (2048 bytes + 64 spare bytes) or very large page size 4096 bytes + 128 /
218 spare bytes)
So I'm wondering if the boot ROM code only supports OOB sizes of 64 for devices with pages sizes of 2048 and therefore this NAND device will not work?
Or if this is not the problem what else might be wrong?
Thanks,
Matt S.