<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.somlabs.com/index.php?action=history&amp;feed=atom&amp;title=Yocto_Kirkstone_OpenSTLinux_for_VisionSOM-STM32MP1</id>
	<title>Yocto Kirkstone OpenSTLinux for VisionSOM-STM32MP1 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.somlabs.com/index.php?action=history&amp;feed=atom&amp;title=Yocto_Kirkstone_OpenSTLinux_for_VisionSOM-STM32MP1"/>
	<link rel="alternate" type="text/html" href="https://wiki.somlabs.com/index.php?title=Yocto_Kirkstone_OpenSTLinux_for_VisionSOM-STM32MP1&amp;action=history"/>
	<updated>2026-04-28T08:35:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.somlabs.com/index.php?title=Yocto_Kirkstone_OpenSTLinux_for_VisionSOM-STM32MP1&amp;diff=3150&amp;oldid=prev</id>
		<title>KrzysztofChojnowski at 12:23, 23 December 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.somlabs.com/index.php?title=Yocto_Kirkstone_OpenSTLinux_for_VisionSOM-STM32MP1&amp;diff=3150&amp;oldid=prev"/>
		<updated>2022-12-23T12:23:20Z</updated>

		<summary type="html">&lt;p&gt;&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 12:23, 23 December 2022&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-l89&quot;&gt;Line 89:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 89:&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;&amp;lt;/pre&amp;gt;&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;&amp;lt;/pre&amp;gt;&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;br&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;br&gt;&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;The SDK installer (st-image-weston-openstlinux-weston-&amp;lt;MACHINE_NAME&amp;gt;-x86_64-toolchain-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;6&lt;/del&gt;-snapshot.sh) is located in the tmp-glibc/deploy/sdk directory.&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;The SDK installer (st-image-weston-openstlinux-weston-&amp;lt;MACHINE_NAME&amp;gt;-x86_64-toolchain-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;4&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0.4&lt;/ins&gt;-snapshot.sh) is located in the tmp-glibc/deploy/sdk directory.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>KrzysztofChojnowski</name></author>
	</entry>
	<entry>
		<id>https://wiki.somlabs.com/index.php?title=Yocto_Kirkstone_OpenSTLinux_for_VisionSOM-STM32MP1&amp;diff=3145&amp;oldid=prev</id>
		<title>KrzysztofChojnowski at 08:55, 23 December 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.somlabs.com/index.php?title=Yocto_Kirkstone_OpenSTLinux_for_VisionSOM-STM32MP1&amp;diff=3145&amp;oldid=prev"/>
		<updated>2022-12-23T08:55:32Z</updated>

		<summary type="html">&lt;p&gt;&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 08:55, 23 December 2022&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-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&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;== Introduction ==&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;== Introduction ==&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;br&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;br&gt;&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;This tutorial explains how to build a Yocto-based OpenSTLinux system for VisionSOM-STM32MP1 modules with VisionCB-STM32MP1-STD carrier board &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;with &lt;/del&gt;meta-somlabs support layer. Distribution for SoMLabs modules use the following components:&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;This tutorial explains how to build a Yocto-based OpenSTLinux system for VisionSOM-STM32MP1 modules with VisionCB-STM32MP1-STD carrier board &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and &lt;/ins&gt;meta-somlabs support layer. Distribution for SoMLabs modules use the following components:&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;br&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;br&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;* kernel (5.15.67): https://github.com/SoMLabs/somlabs-linux-stm32mp1/tree/v5.15-stm32mp-somlabs&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;* kernel (5.15.67): https://github.com/SoMLabs/somlabs-linux-stm32mp1/tree/v5.15-stm32mp-somlabs&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>KrzysztofChojnowski</name></author>
	</entry>
	<entry>
		<id>https://wiki.somlabs.com/index.php?title=Yocto_Kirkstone_OpenSTLinux_for_VisionSOM-STM32MP1&amp;diff=3144&amp;oldid=prev</id>
		<title>KrzysztofChojnowski: Created page with &quot;{{PageHeader|Yocto Kirkstone OpenSTLinux for VisionSOM-STM32MP1}} __toc__  == Introduction ==  This tutorial explains how to build a Yocto-based OpenSTLinux system for VisionS...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.somlabs.com/index.php?title=Yocto_Kirkstone_OpenSTLinux_for_VisionSOM-STM32MP1&amp;diff=3144&amp;oldid=prev"/>
		<updated>2022-12-23T08:23:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{PageHeader|Yocto Kirkstone OpenSTLinux for VisionSOM-STM32MP1}} __toc__  == Introduction ==  This tutorial explains how to build a Yocto-based OpenSTLinux system for VisionS...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{PageHeader|Yocto Kirkstone OpenSTLinux for VisionSOM-STM32MP1}} __toc__&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This tutorial explains how to build a Yocto-based OpenSTLinux system for VisionSOM-STM32MP1 modules with VisionCB-STM32MP1-STD carrier board with meta-somlabs support layer. Distribution for SoMLabs modules use the following components:&lt;br /&gt;
&lt;br /&gt;
* kernel (5.15.67): https://github.com/SoMLabs/somlabs-linux-stm32mp1/tree/v5.15-stm32mp-somlabs&lt;br /&gt;
* u-boot (2021.10): https://github.com/SoMLabs/somlabs-uboot-stm32mp1/tree/v2021.10-stm32mp-somlabs&lt;br /&gt;
* meta-somlabs (kirkstone): https://github.com/SoMLabs/openst-meta-somlabs/tree/kirkstone &lt;br /&gt;
&lt;br /&gt;
== meta-somlabs ==&lt;br /&gt;
&lt;br /&gt;
Meta-somlabs layer should be used in order to build the st-image-weston image. It provides changes including the QT libraries and the SoMLabs demo application.&lt;br /&gt;
&lt;br /&gt;
== Building the system image ==&lt;br /&gt;
&lt;br /&gt;
In order to build the system image a Distribution Package provided by STMicroelectronics is required. The whole building process is described on the ST wiki pages:&lt;br /&gt;
&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package&lt;br /&gt;
&lt;br /&gt;
Yocto is using absolute directory path to give names to intermediate files. If the path is too long, Yocto build fails because file names exceed the maximum size &lt;br /&gt;
supported by the file system. In that case, installation directory path should be renamed to reduce the overall absolute path name.&lt;br /&gt;
&lt;br /&gt;
The summary of required steps is shown below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir st-yocto&lt;br /&gt;
cd st-yocto&lt;br /&gt;
repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23&lt;br /&gt;
repo sync&lt;br /&gt;
cd layers/meta-st&lt;br /&gt;
git clone -b kirkstone https://github.com/SoMLabs/openst-meta-somlabs.git meta-somlabs&lt;br /&gt;
cd ../../&lt;br /&gt;
DISTRO=openstlinux-weston MACHINE=&amp;lt;MACHINE_NAME&amp;gt; source layers/meta-st/scripts/envsetup.sh&lt;br /&gt;
bitbake st-image-weston&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following VisionSOM machines are available:&lt;br /&gt;
* mp157a-dsi-ph-emmc-mx  VisionSOM-STM32MP1 eMMC module with VisionCB-STM32MP1-STD board and ph720128t003 DSI display&lt;br /&gt;
* mp157a-dsi-ph-sd-mx    VisionSOM-STM32MP1 SD-card module with VisionCB-STM32MP1-STD board and ph720128t003 DSI display&lt;br /&gt;
* mp157a-dsi-rvt-emmc-mx VisionSOM-STM32MP1 eMMC module with VisionCB-STM32MP1-STD board and rvt70hsmnwc00 DSI display&lt;br /&gt;
* mp157a-hdmi-lt-emmc-mx VisionSOM-STM32MP1 eMMC module with VisionCB-STM32MP1-STD board and lt8912b HDMI bridge&lt;br /&gt;
* mp157a-hdmi-lt-sd-mx   VisionSOM-STM32MP1 SD-card module with VisionCB-STM32MP1-STD board and lt8912b HDMI bridge&lt;br /&gt;
* mp157a-rgb-ph-emmc-mx  VisionSOM-STM32MP1 eMMC module with VisionCB-STM32MP1-STD board and ph800480t013 RGB display&lt;br /&gt;
* mp157a-rgb-ph-sd-mx    VisionSOM-STM32MP1 SD-card module with VisionCB-STM32MP1-STD board and ph800480t013 RGB display&lt;br /&gt;
&lt;br /&gt;
The compiled image files are located in the directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
st-yocto/build-openstlinuxweston-&amp;lt;MACHINE_NAME&amp;gt;/tmp-glibc/deploy/images/&amp;lt;MACHINE_NAME&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing SD card image ==&lt;br /&gt;
&lt;br /&gt;
The SD card image needs to be created using the available script after the building process:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd tmp-glibc/deploy/images/&amp;lt;MACHINE_NAME&amp;gt;/scripts&lt;br /&gt;
./create_sdcard_from_flashlayout.sh ../flashlayout_st-image-weston/trusted/FlashLayout_sdcard_&amp;lt;MACHINE_NAME&amp;gt;-trusted.tsv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The system image is located in the FlashLayout_sdcard_&amp;lt;MACHINE_NAME&amp;gt;-trusted.raw file in the tmp-glibc/deploy/images/&amp;lt;MACHINE_NAME&amp;gt; directory. To install the image to a card connected to host PC the dd command may be used:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo dd if=FlashLayout_sdcard_&amp;lt;MACHINE_NAME&amp;gt;-trusted.raw of=/dev/sdX bs=1M&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To boot the system from SD card on VisionCB-STM32MP1-STD board the BOOT jumpers must be set to 101.&lt;br /&gt;
&lt;br /&gt;
== Installing eMMC image ==&lt;br /&gt;
&lt;br /&gt;
To install the built system on eMMC memory the STM32CubeProgrammer has to be used. It is available to download from the STMicroelectronics website:&lt;br /&gt;
https://www.st.com/en/development-tools/stm32cubeprog.html&lt;br /&gt;
&lt;br /&gt;
In order to program the module on VisionCB-STM32MP1-STD board, the BOOT jumpers need to be set to 000 to enable DFU boot. STM32CubeProgrammer should be connected by the USB cable connected to the USB-OTG socket. After programming the BOOT jumpers need to be set to 010 in order to run the installed system.&lt;br /&gt;
&lt;br /&gt;
The details about using the STM32CubeProgrammer may be found on the ST wiki pages:&lt;br /&gt;
&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/STM32CubeProgrammer&lt;br /&gt;
https://wiki.st.com/stm32mpu/wiki/STM32CubeProgrammer_flashlayout&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Building the SDK ==&lt;br /&gt;
&lt;br /&gt;
The SDK for the host system can be build by calling the bitbake command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bitbake st-image-weston -c populate_sdk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The SDK installer (st-image-weston-openstlinux-weston-&amp;lt;MACHINE_NAME&amp;gt;-x86_64-toolchain-2.6-snapshot.sh) is located in the tmp-glibc/deploy/sdk directory.&lt;/div&gt;</summary>
		<author><name>KrzysztofChojnowski</name></author>
	</entry>
</feed>