<?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_MCM-iMX8M-Mini_Yocto_Linux_images</id>
	<title>Building MCM-iMX8M-Mini 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_MCM-iMX8M-Mini_Yocto_Linux_images"/>
	<link rel="alternate" type="text/html" href="https://mediawiki.compulab.com/w/index.php?title=Building_MCM-iMX8M-Mini_Yocto_Linux_images&amp;action=history"/>
	<updated>2026-09-02T06:05:16Z</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_MCM-iMX8M-Mini_Yocto_Linux_images&amp;diff=4924&amp;oldid=prev</id>
		<title>Igor: Created page with &quot;= Overview = The Yocto Project is an open-source collaboration focused on embedded Linux development.&lt;br&gt; The purpose of this article is to show how to get Yocto Image with su...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.compulab.com/w/index.php?title=Building_MCM-iMX8M-Mini_Yocto_Linux_images&amp;diff=4924&amp;oldid=prev"/>
		<updated>2022-01-11T12:03:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Overview = The Yocto Project is an open-source collaboration focused on embedded Linux development.&amp;lt;br&amp;gt; The purpose of this article is to show how to get Yocto Image with su...&amp;quot;&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 get Yocto Image with support for the MCM-iMX8M-Mini 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/3.0/brief-yoctoprojectqs/brief-yoctoprojectqs.html on the Yocto official site]&lt;br /&gt;
Linux Distributions to be used on a host are listed [https://www.yoctoproject.org/docs/3.0/ref-manual/ref-manual.html#detailed-supported-distros ibid]&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/imx-manifest/tree/README?h=imx-linux-zeus the NXP readme file]&lt;br /&gt;
&amp;lt;pre&amp;gt;repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-hardknott -m imx-5.10.35-2.0.0.xml&lt;br /&gt;
wget --directory-prefix .repo/manifests https://raw.githubusercontent.com/compulab-yokneam/meta-bsp-imx8mm/rel_imx_5.10.35_2.0.0-stable/scripts/imx-5.10.35_2.0.0_compulab.xml&lt;br /&gt;
repo init -m imx-5.10.35_2.0.0_compulab.xml&lt;br /&gt;
repo sync&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 MCM-iMX8M-Mini and other Compulab i.MX based machines and contains recipes for U-boot and Linux kernel.&lt;br /&gt;
&lt;br /&gt;
= Image Building =&lt;br /&gt;
This section provides information about building MCM-iMX8M-Mini images.&lt;br /&gt;
&lt;br /&gt;
==Create Build Environment==&lt;br /&gt;
:* Issue '''Compulab''' Setup Script:&lt;br /&gt;
&amp;lt;pre&amp;gt;export MACHINE=mcm-imx8m-mini&lt;br /&gt;
MACHINE=mcm-imx8m-mini DISTRO=fsl-imx-xwayland  source ./compulab-setup-env -b build-xwayland&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You will be asked regarding options of the image you are configuring.&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 Compulab image with GUI use the command below:&lt;br /&gt;
&amp;lt;pre&amp;gt;bitbake -k compulab-ucm-imx8m-mini&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 build-xwayland&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 build-xwayland&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;
==Installation==&lt;br /&gt;
The resulting images are located in the build directory: build-xwayland/tmp/deploy/images/${MACHINE}&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|mcm-imx8m-mini.wic.bz2&lt;br /&gt;
|complete SD card image&lt;br /&gt;
|-&lt;br /&gt;
|mcm-imx8m-mini.tar.bz2&lt;br /&gt;
|root FS tree&lt;br /&gt;
|-&lt;br /&gt;
|imx-boot-mcm-imx8m-mini-sd.bin-flash_evk&lt;br /&gt;
|boot loader binary&lt;br /&gt;
|-&lt;br /&gt;
|Image&lt;br /&gt;
|kernel binary&lt;br /&gt;
|-&lt;br /&gt;
|modules-mcm-imx8m-mini.tgz&lt;br /&gt;
|kernel modules tree&lt;br /&gt;
|-&lt;br /&gt;
|mcm-imx8m-mini.dtb&lt;br /&gt;
|device tree binary&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To deploy the built image follow the [[MCM-iMX8M-Mini:_Yocto_Linux:_Manual_Installation:_SD_card|SD card installation instructions]]&lt;br /&gt;
&lt;br /&gt;
=Building previous versions of UCM-iMX8M-Mini Yocto=&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/compulab-yokneam/meta-bsp-imx8mm/blob/rel_imx_5.4.24_2.1.0-1.0/README.md Building MCM-iMX8M-Mini Yocto r1.0]&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:Yocto]]&lt;br /&gt;
[[Category:MCM-iMX8M-Mini]]&lt;/div&gt;</summary>
		<author><name>Igor</name></author>
		
	</entry>
</feed>