5.6 Booting Up the Board

  • After flashing, insert the SD card into the microSD card slot.
  • Connect Micro USB cable to the j10 port. In the Linux host machine, it will enumerate as /dev/ttyACM0.
  • Open minicom and set up the settings.
  • Press the Reset button on the board.
  • This time, the board will start to boot up. Interrupt at the U-Boot timeout to make changes to the U-Boot environment variables.
  • Modify the two variables as shown:
    • bootargs: Change the mmcblk0p2 to mmcblk1p2 by using the following command:
      => edit bootargs

      Edit the response and change mmcblk0p2 to mmcblk1p2 by using the following command:

      edit: console=ttyS0,115200 root=/dev/mmcblk1p2 rw rootwait rootfstype=ext4 atmel.pm_modes=standby,ulp1
    • bootcmd_boot: Change mmc 0:1 to mmc 1:1 by using the following command:
      => edit bootcmd_boot

      Edit the response and change mmc 0:1 to mmc 1:1 by using the following command:

      edit: fatload mmc 1:1 ${loadaddr} ${board_name}.itb; bootm ${loadaddr}#kernel_dtb${at91_overlays_config};
    • Save the environment by using the following command:
      => saveenv

      The following is the reply displayed after executing the => saveenv command:

      Saving Environment to FAT... OK boot
    • Boot the board by using the following command:
      => boot
      Note: For reference, see the following image: