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:

  1. With the guidance of Boot ConfigurationsConfiguration, 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 with the assistance of Boot ConfigurationsConfiguration, and power the board back on.