Hello,
I am trying to boot from NAND flash on my AM335x EVM board, unfortunately without much success. Booting from SD card works fine.
I would ilke to flash the NAND via SD card, as described in the BSP user guide.
I compiled the required NAND-capable BIN files: XLDRNAND.BIN, EBOOTND.BIN and NK.BIN with the environment variable IMGNAND set to 1 in the platform builder project.
The SW3 position was 1 - off, the rest on. SW4 was 1 through 6 - ON, 7 OFF, 8 ON.
I transferred these files to my SD card, booted to Eboot using the SD card and flashed the files mentioned above in the order given above, following the instructions in the WinCE BSP ARM 8 user guide:
- Enabled write of nk.bin on boot
- Set ECC to BCH 8 bit ELM-X for XLDRNAND.BIN, BCH 8 bit ELM for the other 2 files
- Set filename to the relevant file to flash: XLDRNAND.BIN, EBOOTND.BIN or NK.BIN
- Set boot device to NK from SDCard file
- Reboot to flash the file
The first two files, XLDRNAND.BIN and EBOOTND.BIN seemed to be flashed correctly. In order to boot from NAND I set SW3 to 1 - ON, 2 - OFF, the rest ON. However, the board did not boot: on reset, it just printed 'CCCC' on the terminal. Surely it should at least boot into Eboot at this stage?
What am I doing wrong?