We have a board based on K2H eval board, but with no SPI or I2C flash. The board does have a 4Gbit NAND flash - same part# as used on eval board.
We are unable to get the board to boot from NAND flash. The board either locks up with no ability to interrogate by emulator, or it ends up in the "no-boot" loop within the boot loader.
We have confirmed, by downloading utilities into RAM under CCS, that we can identify/read/write NAND flash. However, we are unable to boot from NAND flash. DEVSTAT looks correct; though most of the time we configure the board for no-boot, and then intervene with the emulator and change DEVSTAT to boot from flash.
We have burned a uboot GPH image into NAND flash, starting with the first page. The burn verifies for its entire length. We know the image works because we can take the non-GPH image, load it into memory at 0x0c00_1000, and run from there with the emulator.
Questions:
It appears the ROM boot loader must examine the flash contents before copying the image to RAM and jumping to the image. The first 8 bytes of the GPH image appear to contain a byte count and starting address. Can someone provide details: what validation does the boot loader performs on the image?
If the first two words are size, load address, what endian-ness should these values be?
Also, are there status codes or error conditions within the boot rom that give insight into what has happened? We note that there is a table containing branches to self (infinite loops) that appear to be error traps for various conditions.