I've having a problem booting from NAND flash. I'm using an 8Gb Micron MT29F8G08ABABA and have put the (hopefully) correct info in the ID table and recompiled both the UBL and U-Boot.. Using the EVM and the SD card flash utilities I have erased and written to the NAND, but get nothing on the NAND boot, except that it goes back to the SD utilites.
Using our own board design I have used the serial utilities to write the UBL and U-Boot. But it still won't boot. Due to a schematic error, our board won't boot from the SD card. And due to a bug in the revision 1.1. chip our EVM won't serial boot.
But here is the question..
After flashing the NAND, if I have the SD card in the EVM it boots to the SD flash utilities even when the switches are set to NAND flash. Does this mean that the RBL never finds the UBL? If the RBL found the UBL but the UBL can't see the NAND ID would it still go to the SD card? I know the boot seq is check the NAND and if there is an error, then boot the SD card. But I'm not sure if once the UBL is found that an error would then go to the SD card. I could print some debug info if the UBL is loaded and running.
Thanks, John