<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=Building_CL-SOM-iMX8_Yocto_Linux_images</id>
	<title>Building CL-SOM-iMX8 Yocto Linux images - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mediawiki.compulab.com/w/index.php?action=history&amp;feed=atom&amp;title=Building_CL-SOM-iMX8_Yocto_Linux_images"/>
	<link rel="alternate" type="text/html" href="https://mediawiki.compulab.com/w/index.php?title=Building_CL-SOM-iMX8_Yocto_Linux_images&amp;action=history"/>
	<updated>2026-09-02T10:17:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://mediawiki.compulab.com/w/index.php?title=Building_CL-SOM-iMX8_Yocto_Linux_images&amp;diff=4477&amp;oldid=prev</id>
		<title>imported&gt;Igor.vaisbein: /* Building the images */</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.compulab.com/w/index.php?title=Building_CL-SOM-iMX8_Yocto_Linux_images&amp;diff=4477&amp;oldid=prev"/>
		<updated>2019-08-06T08:59:36Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Building the images&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Overview =&lt;br /&gt;
The Yocto Project is an open-source collaboration focused on embedded Linux development.&amp;lt;br&amp;gt;&lt;br /&gt;
The purpose of this article is to show how to build Yocto Image with support for the CL-SOM-iMX8 System-on-Module.&lt;br /&gt;
&lt;br /&gt;
[https://www.yoctoproject.org/docs/ Learn more about Yocto]&lt;br /&gt;
&lt;br /&gt;
= Yocto Environment Setup =&lt;br /&gt;
Yocto host requirements are listed [https://www.yoctoproject.org/docs/2.6/brief-yoctoprojectqs/brief-yoctoprojectqs.html#brief-build-system-packages on the Yocto official site]&lt;br /&gt;
&lt;br /&gt;
In order to get NXP Yocto BSP building environment please issue the following commands. More detailed instructions can be found at [https://source.codeaurora.org/external/imx/meta-fsl-bsp-release/tree/imx/README?h=sumo-4.14.98-2.0.0_ga the NXP readme file]&lt;br /&gt;
&amp;lt;pre&amp;gt;repo init -u git://source.codeaurora.org/external/imx/imx-manifest.git -b imx-linux-sumo -m imx-4.14.98-2.0.0_ga.xml&lt;br /&gt;
repo sync&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Next step is getting the Compulab BSP meta-layer.&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone -b master https://github.com/compulab-yokneam/meta-bsp-imx8mq.git sources/meta-bsp-imx8mq&lt;br /&gt;
git -C sources/meta-bsp-imx8mq checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The Compulab meta-layer consists of {{filename|meta-compulab}} directory, that provides support for CL-SOM-iMX8 and other Compulab i.MX based machines and contains recipes for U-boot and Linux kernel.&lt;br /&gt;
&lt;br /&gt;
= Building the Image =&lt;br /&gt;
&lt;br /&gt;
==Create Build Environment==&lt;br /&gt;
*Set the required machine, the required distribution, and the desired image&lt;br /&gt;
&amp;lt;pre&amp;gt;export MACHINE=cl-som-imx8&lt;br /&gt;
export DISTRO=fsl-imx-xwayland&lt;br /&gt;
export IMAGE=fsl-image-qt5-validation-imx&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Issue '''Compulab''' Setup Script:&lt;br /&gt;
&amp;lt;pre&amp;gt; source sources/meta-bsp-imx8mq/tools/setup-imx8mq-env -b build-${MACHINE}-${DISTRO}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building the images ==&lt;br /&gt;
The Yocto Project build uses the {{parameter|bitbake}} command.&lt;br /&gt;
&lt;br /&gt;
* To build a full Compulab image with GUI use the command below:&lt;br /&gt;
&amp;lt;pre&amp;gt;bitbake -k ${IMAGE}&amp;lt;/pre&amp;gt;&lt;br /&gt;
* To build a minimal Linux image use the command below:&lt;br /&gt;
&amp;lt;pre&amp;gt;bitbake -k core-image-full-cmdline&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* To re-build only the Linux kernel use the command below:&lt;br /&gt;
&amp;lt;pre&amp;gt;source setup-environment ${IMAGE}&lt;br /&gt;
bitbake -c cleansstate linux-imx&lt;br /&gt;
bitbake -k linux-imx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* To re-build only the u-boot bootloader and boot image use the command below:&lt;br /&gt;
&amp;lt;pre&amp;gt;source setup-environment ${IMAGE}&lt;br /&gt;
bitbake -c cleansstate imx-boot u-boot-imx&lt;br /&gt;
bitbake -k imx-boot u-boot-imx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:Yocto]]&lt;br /&gt;
[[Category:CL-SOM-iMX8]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Igor.vaisbein</name></author>
		
	</entry>
</feed>