<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ronetix.at/index.php?action=history&amp;feed=atom&amp;title=iMX8MP-COMPACT-CM_Yocto_Linux</id>
	<title>iMX8MP-COMPACT-CM Yocto Linux - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ronetix.at/index.php?action=history&amp;feed=atom&amp;title=iMX8MP-COMPACT-CM_Yocto_Linux"/>
	<link rel="alternate" type="text/html" href="https://wiki.ronetix.at/index.php?title=iMX8MP-COMPACT-CM_Yocto_Linux&amp;action=history"/>
	<updated>2026-11-03T23:16:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.ronetix.at/index.php?title=iMX8MP-COMPACT-CM_Yocto_Linux&amp;diff=405&amp;oldid=prev</id>
		<title>Ilko: Rename iMX8MP-CM to iMX8MP-COMPACT-CM</title>
		<link rel="alternate" type="text/html" href="https://wiki.ronetix.at/index.php?title=iMX8MP-COMPACT-CM_Yocto_Linux&amp;diff=405&amp;oldid=prev"/>
		<updated>2024-02-06T09:26:29Z</updated>

		<summary type="html">&lt;p&gt;Rename iMX8MP-CM to iMX8MP-COMPACT-CM&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:26, 6 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{#vardefine:HARDWARE_NAME|iMX8MP-CM}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{#vardefine:HARDWARE_NAME|iMX8MP&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-COMPACT&lt;/ins&gt;-CM}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{#vardefine:MACHINE_NAME|imx8mp-cm}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{#vardefine:MACHINE_NAME|imx8mp-cm}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{#vardefine:YOCTO_NAME|micledore}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{#vardefine:YOCTO_NAME|micledore}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ilko</name></author>
	</entry>
	<entry>
		<id>https://wiki.ronetix.at/index.php?title=iMX8MP-COMPACT-CM_Yocto_Linux&amp;diff=403&amp;oldid=prev</id>
		<title>Ilko: Ilko moved page iMX8MP-CM Yocto Linux to iMX8MP-COMPACT-CM Yocto Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.ronetix.at/index.php?title=iMX8MP-COMPACT-CM_Yocto_Linux&amp;diff=403&amp;oldid=prev"/>
		<updated>2024-02-06T09:24:56Z</updated>

		<summary type="html">&lt;p&gt;Ilko moved page &lt;a href=&quot;/index.php?title=iMX8MP-CM_Yocto_Linux&quot; class=&quot;mw-redirect&quot; title=&quot;iMX8MP-CM Yocto Linux&quot;&gt;iMX8MP-CM Yocto Linux&lt;/a&gt; to &lt;a href=&quot;/index.php?title=iMX8MP-COMPACT-CM_Yocto_Linux&quot; title=&quot;iMX8MP-COMPACT-CM Yocto Linux&quot;&gt;iMX8MP-COMPACT-CM Yocto Linux&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:24, 6 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Ilko</name></author>
	</entry>
	<entry>
		<id>https://wiki.ronetix.at/index.php?title=iMX8MP-COMPACT-CM_Yocto_Linux&amp;diff=391&amp;oldid=prev</id>
		<title>Ilko: initial creation</title>
		<link rel="alternate" type="text/html" href="https://wiki.ronetix.at/index.php?title=iMX8MP-COMPACT-CM_Yocto_Linux&amp;diff=391&amp;oldid=prev"/>
		<updated>2024-01-25T14:29:55Z</updated>

		<summary type="html">&lt;p&gt;initial creation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#vardefine:HARDWARE_NAME|iMX8MP-CM}}&lt;br /&gt;
{{#vardefine:MACHINE_NAME|imx8mp-cm}}&lt;br /&gt;
{{#vardefine:YOCTO_NAME|micledore}}&lt;br /&gt;
{{#vardefine:KERNEL_VER|6.1.55}}&lt;br /&gt;
{{#vardefine:UBOOT_VER|v2023.04}}&lt;br /&gt;
[[File:iMX8MP-CM-top.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The Yocto Project is an open source collaboration project that helps developers create custom Linux-based systems for embedded products, regardless of the hardware architecture.&amp;lt;br&amp;gt;&lt;br /&gt;
This article show how to build Yocto Image for {{#var:HARDWARE_NAME}} CPU module using:&amp;lt;br&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
! &lt;br /&gt;
! Linux Kernel&lt;br /&gt;
! U-BOOT&lt;br /&gt;
|-&lt;br /&gt;
| Yocto {{#var:YOCTO_NAME}}&lt;br /&gt;
| {{#var:KERNEL_VER}}&lt;br /&gt;
| {{#var:UBOOT_VER}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[https://www.yoctoproject.org/docs/ Learn more about Yocto]&lt;br /&gt;
&lt;br /&gt;
== Setting Boot mode ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Boot mode setting on carrier board&lt;br /&gt;
|-&lt;br /&gt;
! BOOT !! J4:1-2 !! J4:3-4 !! J4:5-6 !! J4:7-8&lt;br /&gt;
|-&lt;br /&gt;
| Cortex-A53 Serial Downloader || close || open || open || open&lt;br /&gt;
|-&lt;br /&gt;
| Cortex-A53, eMMC || open || close || open || open&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Terminal Setup ==&lt;br /&gt;
The carrier board connects the host PC using the micro-B USB connector (J6).&amp;lt;br&amp;gt;&lt;br /&gt;
Common serial communication programs such as Minicom, HyperTerminal, Tera Term, or PuTTY can be used.&amp;lt;br&amp;gt; &lt;br /&gt;
The {{#var:HARDWARE_NAME}} board uses the second port for the Arm Cortex-A cores console.&lt;br /&gt;
&lt;br /&gt;
== Installing required packages ==&lt;br /&gt;
&lt;br /&gt;
Please make sure your host PC is running Ubuntu 20.04+ 64-bit and install the following packages:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sudo apt-get install gawk wget git diffstat unzip texinfo gcc-multilib \&lt;br /&gt;
build-essential chrpath socat cpio python3 python3-pip python3-pexpect \&lt;br /&gt;
xz-utils debianutils iputils-ping libsdl1.2-dev xterm python-is-python3 lz4&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install autoconf libtool libglib2.0-dev libarchive-dev python-git-doc \&lt;br /&gt;
sed cvs subversion coreutils texi2html docbook-utils \&lt;br /&gt;
help2man make gcc g++ desktop-file-utils libgl1-mesa-dev libglu1-mesa-dev \&lt;br /&gt;
mercurial automake groff curl lzop asciidoc u-boot-tools dos2unix mtd-utils pv \&lt;br /&gt;
libncurses5 libncurses5-dev libncursesw5-dev libelf-dev zlib1g-dev bmap-tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More details about the Yocto Environment Setup can be found &lt;br /&gt;
[https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html on the Yocto official site]&lt;br /&gt;
&lt;br /&gt;
== Download Yocto based on Freescale Community BSP ==&lt;br /&gt;
&lt;br /&gt;
 $ git config --global user.name &amp;quot;Your Name&amp;quot;&lt;br /&gt;
 $ git config --global user.email &amp;quot;Your Email&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 $ mkdir ~/bin &lt;br /&gt;
 $ curl &amp;lt;nowiki&amp;gt;http://commondatastorage.googleapis.com/git-repo-downloads/repo &amp;gt; ~/bin/repo&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 $ chmod a+x ~/bin/repo&lt;br /&gt;
 $ export PATH=~/bin:$PATH&lt;br /&gt;
&lt;br /&gt;
 $ mkdir ~/yocto-ronetix&lt;br /&gt;
 $ cd ~/yocto-ronetix&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Download the Yocto repository&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
 $ repo init -u https://github.com/ronetix/imx-manifest -b imx-linux-mickledore -m imx-6.1.55-2.2.0.xml&lt;br /&gt;
 $ repo sync&lt;br /&gt;
&lt;br /&gt;
== Setup and build Yocto ==&lt;br /&gt;
* Setup first time:&lt;br /&gt;
 $ MACHINE={{#var:MACHINE_NAME}} DISTRO=fsl-imx-xwayland source ./imx-setup-release.sh -b build-{{#var:MACHINE_NAME}}&lt;br /&gt;
&lt;br /&gt;
* or setup if already configured:&lt;br /&gt;
 $ source setup-environment build-{{#var:MACHINE_NAME}}&lt;br /&gt;
&lt;br /&gt;
* Build:&lt;br /&gt;
 $ bitbake imx-image-core&lt;br /&gt;
&lt;br /&gt;
=== Build Results ===&lt;br /&gt;
The resulted images are located in tmp/deploy/images/{{#var:MACHINE_NAME}}.&lt;br /&gt;
&lt;br /&gt;
=== Booting Linux ===&lt;br /&gt;
This section describes how to copy the images (U-Boot, Linux kernel, device tree, and&lt;br /&gt;
rootfs) to the eMMC device on the module.&lt;br /&gt;
&lt;br /&gt;
==== Universal update utility ====&lt;br /&gt;
The Universal Update Utility (UUU) runs on a Windows or Linux OS host and is used to download images to devices on an i.MX board.&lt;br /&gt;
&lt;br /&gt;
===== Downloading UUU =====&lt;br /&gt;
Download UUU version 1.5.21 or later from https://github.com/nxp-imx/mfgtools/releases&lt;br /&gt;
&lt;br /&gt;
===== Write WIC image info eMMC =====&lt;br /&gt;
Follow the instructions below:&lt;br /&gt;
* Connect a USB cable from a computer to the J7, port USB Type C port on the carrier board for download link.&lt;br /&gt;
* Connect a USB cable from J6, port UART-DBG (Micro-AB) port to the computer for console output.&lt;br /&gt;
* Open a Terminal emulator program&lt;br /&gt;
* Set the boot mode to &amp;quot;Cortex-A53 Serial Downloader&amp;quot;, see [[#Setting Boot mode]]&lt;br /&gt;
&lt;br /&gt;
  $ cd tmp/deploy/images/{{#var:MACHINE_NAME}}&lt;br /&gt;
  $ uuu -b emmc_all imx-boot-tagged imx-image-core-{{#var:MACHINE_NAME}}.wic.zst&lt;br /&gt;
&lt;br /&gt;
==== Boot Linux ====&lt;br /&gt;
* set the boot mode to &amp;quot;Cortex-A53, eMMC&amp;quot;, see [[#Setting Boot mode]]&lt;br /&gt;
* reset the board&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[{{#var:HARDWARE_NAME}} Yocto Linux | Yocto Linux]]&lt;br /&gt;
* [[{{#var:HARDWARE_NAME}} Linux|Building Linux Kernel]]&lt;br /&gt;
* [[{{#var:HARDWARE_NAME}} U-Boot|Building U-Boot]]&lt;/div&gt;</summary>
		<author><name>Ilko</name></author>
	</entry>
</feed>