Transclusion: CL-SOM-iMX7: U-Boot: Creating a bootable SD card

From Compulab Mediawiki
Jump to: navigation, search

SD card requirements

Prior to installing the firmware on an SD card, make sure that:

  • The SD card partitions do not start in the first 1MB of the SD card. Otherwise, the partitions may be overwritten by this procedure.
  • The partitioning is not done using GPT. Otherwise, the GPT data above 1K (from start of SD card) will be overwritten by this procedure.

Installing firmware on an SD card

The firmware can be installed on an SD card using a workstation with an SD card reader.

  • Insert the SD card into the workstation card reader
  • The SD card will be identified as /dev/sdX, where X is the SD card drive letter.
  • Run the following command:
dd if=cl-som-imx7-firmware of=/dev/sdX bs=512 seek=2 skip=2 conv=fsync