https://www.mediawiki.compulab.com/w/index.php?title=CL-SOM-iMX8X:_Yocto_Linux:_Manual_Installation:_SD_card&feed=atom&action=historyCL-SOM-iMX8X: Yocto Linux: Manual Installation: SD card - Revision history2024-03-29T14:18:46ZRevision history for this page on the wikiMediaWiki 1.31.0https://www.mediawiki.compulab.com/w/index.php?title=CL-SOM-iMX8X:_Yocto_Linux:_Manual_Installation:_SD_card&diff=4521&oldid=previmported>Igor.vaisbein at 07:27, 21 August 20192019-08-21T07:27:35Z<p></p>
<p><b>New page</b></p><div>== Introduction ==<br />
This article provides instructions needed to install the Yocto Linux SD-card image on SD card using a Linux Host workstation. <br />
The image provides a full boot system including U-Boot, Linux kernel, device driver modules and example root filesystem.<br />
<br />
== Preparation steps ==<br />
* Obtain a Linux PC workstation.<br />
* Obtain a USB Card reader and a micro-SD Card. Any commercially available micro-SD card of 4GB (or larger) may be used for the installation.<br />
* Download the CL-SOM-iMX8X Yocto Linux package from [https://www.compulab.com/products/computer-on-modules/cl-som-imx8x-nxp-i-mx-8x-system-on-module-computer/#devres CompuLab website].<br />
* Unzip the package to a directory on the host workstation.<br />
* The Yocto Linux SD-card image file, mentioned below, can be found in the {{filename|images}} subdirectory. <br />
* Plug the USB SD Card reader into the host PC. Insert the micro-SD Card into the USB Card reader. From now we assume the device name of the MMC/SD card on your Linux PC is {{filename|/dev/sdX}}.<br />
<br />
== Installation ==<br />
* Flash the image file to the micro-SD card:<br />
<pre>bzcat ~/path/to/cl-som-imx8x-yocto-linux/images/cl-som-imx8x.sdcard.bz2 | sudo dd of=/dev/sdX bs=1M<br />
</pre><br />
<br />
== Run Yocto Linux image ==<br />
* Insert the micro-SD card into the SD card socket '''P13'''.<br />
* Connect a standard USB cable (included in the kit) between your host PC and the evaluation kit micro-USB2.0 connector '''P12'''.<br />
*: Use a terminal emulator as described [[CL-SOM-iMX8X: Evaluation Kit: Getting Started#System setup|here]]<br />
* Power on the system.<br />
* The system will automatically boot into Linux.<br />
<br><br />
{{Note| The above procedure assumes default U-boot settings. In case the U-boot boot environment variables have been altered, it might be necessary to restore the default environment.<br />
When U-Boot starts press any key to stop autoboot. Set the correct U-Boot environment in the U-Boot prompt:<br />
<pre><br />
=> env default -a<br />
=> saveenv<br />
=> reset<br />
</pre><br />
}}<br />
<br />
[[Category:Linux]]<br />
[[Category:Yocto]]<br />
[[Category:CL-SOM-iMX8X]]</div>imported>Igor.vaisbein