...
With a properly configured SD card, follow these steps to flash your NAND:
...
Info |
---|
Please reference AM57xx Boot Configuration for boot mode settings. |
- Set , set the boot switches to boot from the SD card and power on the board and boot into Linux.
Flash MLO image to NAND:
Code Block language bash title Target flash_erase /dev/mtd0 0 0 nandwrite -p /dev/mtd0 MLO
Flash u-boot.img image to NAND:
Code Block language bash title Target flash_erase /dev/mtd4 0 0 nandwrite -p /dev/mtd4 u-boot.img
Flash the root file system image to NAND:
Code Block language bash title Target flash_erase /dev/mtd6 0 0 ubiformat /dev/mtd6 -f phytec-tisdk-image-am5728-phycore-rdk.ubi
- Power off the board, set the boot switches to boot from NAND using Boot Configuration, and power the board back on.