Difference between revisions of "CL-SOM-iMX7: Yocto Linux: Manual Installation: SD card"

From Compulab Mediawiki
Jump to: navigation, search
(Run Yocto Linux image)
 
Line 18: Line 18:
  
 
=== Run Yocto Linux image ===
 
=== Run Yocto Linux image ===
* Insert the SD card into the SD socket (P9) on the SBC-iMX7.
+
* Insert the SD card into the SD socket:
* Turn on the CL-SOM-iMX7 evaluation system.
+
** on the SBC-iMX7 use (P9) SD socket
* The CL-COM-iMX7 Yocto SD-card image requires default boot settings for proper booting.
+
** 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:
 
* Reset the U-Boot environment to default state in the U-Boot prompt if needed:
 
<pre>
 
<pre>
 
CL-SOM-iMX7 # env default -a
 
CL-SOM-iMX7 # env default -a
 
</pre>
 
</pre>
 +
:* For the IOT-GATE-iMX7 and the SBC-IOT-iMX7 set a proper device tree blob name
 +
:<pre>CL-SOM-iMX7 # setenv fdt_file imx7d-sbc-iot-imx7.dtb</pre>
 
* Start the boot process:
 
* Start the boot process:
 
<pre>
 
<pre>
Line 33: Line 38:
 
[[Category:Yocto]]
 
[[Category:Yocto]]
 
[[Category:CL-SOM-iMX7]]
 
[[Category:CL-SOM-iMX7]]
 +
[[Category:IOT-GATE-iMX7]]
 +
[[Category:SBC-IOT-iMX7]]

Latest revision as of 08:15, 5 April 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:
    • 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