Difference between revisions of "CL-SOM-iMX7: Yocto Linux: Manual Installation: SD card"
(→Preparation steps) |
(→Run Yocto Linux image) |
||
(One intermediate revision by one other user not shown) | |||
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> | ||
=== 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: |
− | * | + | ** on the SBC-iMX7 use (P9) SD socket |
− | * The | + | ** 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