We have a custom board based on the am335x-evm design. I have it booting from the SD card, but I need to make it boot from the onboard NAND. I have the partitions set up correctly (I think) in the dts file, and I am able to format the partitions and copy all of the files from the SD card to the NAND in Linux. I am not able to access the NAND flash from uboot. Every time I try to erase the NAND from uboot I get an error and it tells me to reset the board. The uboot is version 2013.10-00189-g78d8ebd-dirty (which I inherited from a previous developer). Does anyone have suggestions for:
1. Exactly how should the first partitions in the NAND be configured and formatted from Linux to store the MLO, u-boot.img, and kernel files?
2. Any ideas on why uboot is not able to erase or write to NAND?
3. Anything I am missing?
Thanks for your help. in advance.