CL-SOM-iMX7: Yocto Linux: Manual Installation: SD card

From Compulab Mediawiki
Jump to: navigation, search


This article provides an introduction on how to install the Yocto Linux SD-card image on SD card using Linux Host workstation. The image provides the full system to boot with U-Boot, Linux kernel and device driver modules and example root filesystem.

Preparation steps

  • Obtain a Linux PC workstation.
  • Get a USB Card reader and an SD Card. Any commercially available SD card of 1GB (or larger) may be used for the installation.
  • Download the Yocto Linux package for CL-SOM-iMX7 from CompuLab website.
  • Unzip the package to a directory on the host workstation.
  • The Yocto Linux SD-card image file mentioned below can be found in the images subdirectory.
  • Plug the USB SD Card reader to a host Linux PC. Insert the SD Card into the USB Card reader. From now we assume the device name of the MMC/SD card on your Linux PC is /dev/sdX.


  • Burn the image file to the SD card:
zcat ~/path/to/cl-som-imx7-yocto-linux/images/fsl-image-gui-cl-som-imx7.rootfs.sdcard.gz | sudo dd of=/dev/sdX bs=1M

Run Yocto Linux image

  • Insert the SD card into the SD socket:
    • on the SBC-iMX7 use (P9) SD socket
    • on the SBC-IOT-iMX7 use (P18) micro SD socket
    • on the IOT-GATE-iMX7 use socket marked uSD on the front panel
  • Turn on the evaluation system.
  • The Yocto SD-card image may require a small boot settings adjustment for proper booting.
  • Reset the U-Boot environment to default state in the U-Boot prompt if needed:
CL-SOM-iMX7 # env default -a
  • For the IOT-GATE-iMX7 and the SBC-IOT-iMX7 set a proper device tree blob name
CL-SOM-iMX7 # setenv fdt_file imx7d-sbc-iot-imx7.dtb
  • Start the boot process:
CL-SOM-iMX7 # boot