Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

With a properly configured SD card, follow these steps to flash your NAND:

...

Info

Please reference AM57xx Boot Configuration for boot mode settings.

  1. Set , set the boot switches to boot from the SD card and power on the board and boot into Linux.
  2. Flash MLO image to NAND:

    Code Block
    languagebash
    titleTarget
    flash_erase /dev/mtd0 0 0
    
    nandwrite -p /dev/mtd0 MLO
    


  3. Flash u-boot.img image to NAND:

    Code Block
    languagebash
    titleTarget
    flash_erase /dev/mtd4 0 0
    
    nandwrite -p /dev/mtd4 u-boot.img


  4. Flash the root file system image to NAND:

    Code Block
    languagebash
    titleTarget
    flash_erase /dev/mtd6 0 0
    
    ubiformat /dev/mtd6 -f phytec-tisdk-image-am5728-phycore-rdk.ubi


  5. Power off the board, set the boot switches to boot from NAND using Boot Configuration, and power the board back on.