CL-SOM-iMX7: Yocto Linux: Creating Live-SD card

From Compulab Mediawiki
Revision as of 14:18, 16 January 2019 by imported>Uri.mashiach
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

This article provides instructions on how to create the CompuLab CL-SOM-iMX7 System-on-Module Yocto Linux Live SD-card using a Linux host workstation. The Live SD card contains a complete boot stack, including U-Boot, Linux kernel, 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 Live SD-card image file will be located in the images sub-directory.
  • Plug the USB SD Card reader into the host Linux PC. Insert the SD Card into the USB Card reader. In the following instructions it is assumed that the device name of the MMC/SD card on your Linux PC is /dev/sdX.

Installation

  • Flash the image file to the SD card:
bzcat ~/path/to/cl-som-imx7-yocto-linux/images/cl-som-imx7-image-qt5.sdcard.bz2 | sudo dd of=/dev/sdX bs=1M

Run Live image

  • Insert the SD card into the SD socket (P9).
  • Power-on the system.
  • The Live SD-card image may require boot settings adjustment for proper boot.
  • If needed, reset the U-Boot environment to default state in the U-Boot prompt:
CL-SOM-iMX7 # env default -a
  • Start the boot process:
CL-SOM-iMX7 # boot

See also