Difference between revisions of "CL-SOM-iMX7: Yocto Linux: Manual Installation: SD card"
(→Preparation steps) |
|||
Line 6: | Line 6: | ||
* Obtain a Linux PC workstation. | * 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. | * 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 [http://www.compulab. | + | * Download the Yocto Linux package for CL-SOM-iMX7 from [http://www.compulab.com/products/computer-on-modules/cl-som-imx7-freescale-i-mx-7-system-on-module/#devres CompuLab website]. |
* Unzip the package to a directory on the host workstation. | * Unzip the package to a directory on the host workstation. | ||
* The Yocto Linux SD-card image file mentioned below can be found in the {{filename|images}} subdirectory. | * The Yocto Linux SD-card image file mentioned below can be found in the {{filename|images}} subdirectory. | ||
Line 14: | Line 14: | ||
* Burn the image file to the SD card: | * Burn the image file to the SD card: | ||
<pre> | <pre> | ||
− | + | 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 | |
</pre> | </pre> | ||
Revision as of 12:50, 27 March 2017
Introduction
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.
Installation
- 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 (P9) on the SBC-iMX7.
- Turn on the CL-SOM-iMX7 evaluation system.
- The CL-COM-iMX7 Yocto SD-card image requires default boot settings for proper booting.
- Reset the U-Boot environment to default state in the U-Boot prompt if needed:
CL-SOM-iMX7 # env default -a
- Start the boot process:
CL-SOM-iMX7 # boot