Difference between revisions of "Transclusion: CL-SOM-iMX7: U-Boot: Creating a bootable SD card"

From Compulab Mediawiki
Jump to: navigation, search
(SD card requirements)
 
 
Line 1: Line 1:
== Introduction ==
 
CL-SOM-iMX7 system-on-module uses SPI flash as its main boot storage.
 
In addition to the on-board SPI flash, the CL-SOM-iMX7 can also boot from an SD card.
 
This article describes the preparation and the boot process for using an SD card.
 
 
 
== SD card requirements ==
 
== SD card requirements ==
 
Prior to installing the firmware on an SD card, make sure that:
 
Prior to installing the firmware on an SD card, make sure that:

Latest revision as of 15:26, 26 October 2017

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