<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://ess-wiki.advantech.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=X86%2FYocto_BSP%2FQSG_v1.1</id>
		<title>X86/Yocto BSP/QSG v1.1 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://ess-wiki.advantech.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=X86%2FYocto_BSP%2FQSG_v1.1"/>
		<link rel="alternate" type="text/html" href="https://ess-wiki.advantech.com.tw/wiki/index.php?title=X86/Yocto_BSP/QSG_v1.1&amp;action=history"/>
		<updated>2026-05-21T16:53:26Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.3</generator>

	<entry>
		<id>https://ess-wiki.advantech.com.tw/wiki/index.php?title=X86/Yocto_BSP/QSG_v1.1&amp;diff=24749&amp;oldid=prev</id>
		<title>Winston.huang: Created page with &quot; {{DISPLAYTITLE:x86 Yocto BSP v1.1 Quick Start Guide}} &lt;div style=&quot;float:right;  position:fixed;  margin:0 1em 0 0;  top5100px;  right:10px;  max-height: 400px;  overflow: aut...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ess-wiki.advantech.com.tw/wiki/index.php?title=X86/Yocto_BSP/QSG_v1.1&amp;diff=24749&amp;oldid=prev"/>
				<updated>2022-07-12T07:29:50Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; {{DISPLAYTITLE:x86 Yocto BSP v1.1 Quick Start Guide}} &amp;lt;div style=&amp;quot;float:right;  position:fixed;  margin:0 1em 0 0;  top5100px;  right:10px;  max-height: 400px;  overflow: aut...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
{{DISPLAYTITLE:x86 Yocto BSP v1.1 Quick Start Guide}}&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:right;  position:fixed;  margin:0 1em 0 0;  top5100px;  right:10px;  max-height: 400px;  overflow: auto&amp;quot;&amp;gt;__TOC__&amp;lt;/div&amp;gt; &lt;br /&gt;
== &amp;lt;span style=&amp;quot;color:#0070c0&amp;quot;&amp;gt;Host Machine&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
It is recommended to use Ubuntu 18.04 LTS (Bionic Beaver) or Ubuntu 20.04 LTS (Focal Fosa) as host system, and CPU is Intel i5 degree or higher, memory size ≥ 16GB, free disk space ≥ 500GB.&lt;br /&gt;
&lt;br /&gt;
=== Install docker ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt install docker.io&lt;br /&gt;
systemctl status docker ## check if docker serivce is active&lt;br /&gt;
sudo usermod -aG docker $USER&lt;br /&gt;
sudo reboot&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
docker version ## check docker version&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:Please refer to [https://docs.docker.com/engine/installation/ Docker Installation Guide] for details&lt;br /&gt;
&lt;br /&gt;
=== Install pre-built docker image ===&lt;br /&gt;
&lt;br /&gt;
If you want to build docker image from scratch, please skip this section.&lt;br /&gt;
&lt;br /&gt;
Please refer to [[X86/Yocto_BSP/downloads|this page]] to get the '''pre-built docker image''' tarball(password is ProvidedByAdvantech).&lt;br /&gt;
&lt;br /&gt;
Then do the following command.(Remember to replace the [[X86/Yocto_BSP/downloads#Yocto_3.1|&amp;lt;span style=&amp;quot;color:#ff0000&amp;quot;&amp;gt;${DATE}&amp;lt;/span&amp;gt;]] with the exact date code)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
docker load --input adv-x86-yocto-1.1-docker-image_${DATE}.tar.gz&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;color:#0070c0&amp;quot;&amp;gt;Unpack Yocto BSP&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
You should replace the following &amp;lt;span style=&amp;quot;color:#ff0000&amp;quot;&amp;gt;${BSP_TARBALL}&amp;lt;/span&amp;gt; with the exact tarball name.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
tar xvf ${BSP_TARBALL} -C ~/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;color:#0070c0&amp;quot;&amp;gt;Build Docker Image&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
(The alternative way is to [[#Install_pre-built_docker_image|install the pre-built docker image]].)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd ~/adv-x86-yocto-1.1&lt;br /&gt;
scripts/build_docker_image.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;color:#0070c0&amp;quot;&amp;gt;Put Download Files (optional)&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Please refer to [[X86/Yocto_BSP/downloads|this page]] to get '''downloads''' tarball(password is ProvidedByAdvantech).&lt;br /&gt;
&lt;br /&gt;
Then do the following command to restore '''downloads''' to the specific directory.(Remember to replace the [[X86/Yocto_BSP/downloads#Yocto_3.1|&amp;lt;span style=&amp;quot;color:#ff0000&amp;quot;&amp;gt;${DATE}&amp;lt;/span&amp;gt;]] with the exact date code)&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
tar xvf adv-x86-yocto-1.1-downloads_${DATE}.tar -C ~/adv-x86-yocto-1.1/yocto/build/&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;color:#0070c0&amp;quot;&amp;gt;Build Yocto Image&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Start docker container ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd ~/adv-x86-yocto-1.1&lt;br /&gt;
./scripts/docker_run.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Start building yocto image ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd yocto/build&lt;br /&gt;
source ../intel-embedded-system-enabling/oe-init-build-env ./&lt;br /&gt;
echo 'PARALLEL_MAKE = &amp;quot;-j 4&amp;quot;' &amp;gt;&amp;gt; conf/local.conf&lt;br /&gt;
bitbake -k mc:x86-adv-gui:advantech-image-gui&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:Please refer to [[X86/Yocto_BSP/FAQ_v1.1|FAQ]].&lt;br /&gt;
&lt;br /&gt;
=== Stop docker container ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
exit ## or logout&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can get the below files from the directory, '''~/adv-x86-yocto-1.1/yocto/build/tmp-x86-adv-gui-glibc/deploy/images/intel-corei7-64/'''.&lt;br /&gt;
&lt;br /&gt;
:advantech-image-gui-intel-corei7-64.wic&lt;br /&gt;
:advantech-image-gui-intel-corei7-64.wic.bz2&lt;br /&gt;
:advantech-image-gui-intel-corei7-64.wic.bmap&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;color:#0070c0&amp;quot;&amp;gt;Create Install Image&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Get the [https://www.dropbox.com/sh/8hy4wxpah64t7ar/AAAqbDrkBjd61y0I5_o7qrNAa?dl=0 Create_Install_Image.sh](password is ProvidedByAdvantech), put it to the home directory and do the following commands&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
chmod +x ~/Create_Install_Image.sh&lt;br /&gt;
~/Create_Install_Image.sh&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And you will get the compressed install image.&lt;br /&gt;
&lt;br /&gt;
:advantech-image-gui-intel-corei7-64_install.wic.bz2&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;color:#0070c0&amp;quot;&amp;gt;Create USB installer&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
# Put the '''advantech-image-gui-intel-corei7-64_install.wic.bz2''' to windows computer.&lt;br /&gt;
# Extract advantech-image-gui-intel-corei7-64_install.wic.bz2 to '''advantech-image-gui-intel-corei7-64_install.wic'''.&lt;br /&gt;
# Plug USB drive to your computer.&lt;br /&gt;
# Download [https://www.balena.io/etcher/ balenaEtcher].&lt;br /&gt;
# Execute balenaEtcher, click “Flash from file“ to select the wic file, '''advantech-image-gui-intel-corei7-64_install.wic'''. &amp;lt;br/&amp;gt; [[File:flash_usb_s5-1.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;[[File:flash_usb_s5-2.png|800px]]&lt;br /&gt;
# Click “Change“ to select the USB drive which you want to flash, then click “Select(X)“&amp;lt;br/&amp;gt;[[File:flash_usb_s6-1.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;[[File:flash_usb_s6-2.png]]&lt;br /&gt;
# Click “Flash!“&amp;lt;br/&amp;gt;[[File:flash_usb_s7.png|800px]]&lt;br /&gt;
# While the “Flash Complete!” shows up, click “X” to close balenaEtcher.&amp;lt;br/&amp;gt;[[File:flash_usb_s8.png|800px]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;color:#0070c0&amp;quot;&amp;gt;Install to Target Device&amp;lt;/span&amp;gt; ==&lt;br /&gt;
# Plug USB installer to this system and boot from USB drive.&lt;br /&gt;
# Open the '''Install_to_Target_Device.txt''' on desktop for easily copy&amp;amp;paste command to &amp;quot;Terminal&amp;quot;.&amp;lt;br/&amp;gt;[[File:install_to_target_s2.png|800px]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;[[File:install_to_target_s2-2.png|700px]]&lt;br /&gt;
# Click &amp;quot;Terminal Emulator&amp;quot;.&amp;lt;br/&amp;gt;[[File:install_to_target_s3.png]]&lt;br /&gt;
# Input the following command to show all disks .&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
lsblk -ndo name,size,type&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
# Input the following command to set which disk you would like to install.&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
TARGET=XXX ## XXX means exact disk you would like to install, e.g. sda&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
# Input the following command to flash image to target disk.&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo bmaptool copy --bmap advantech-image-gui-intel-corei7-64.wic.bmap advantech-image-gui-intel-corei7-64.wic.bz2 /dev/$TARGET&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;br/&amp;gt;[[File:install_to_target_s6.png|960px]]&lt;br /&gt;
# While system shows &amp;quot;bmaptool: info : 100% copied&amp;quot;, turn off target device and remove USB drive.&amp;lt;br/&amp;gt;[[File:install_to_target_s7.png|960px]]&lt;br /&gt;
# After reboot, system boot into Yocto.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;color:#0070c0&amp;quot;&amp;gt;Enable secure boot&amp;lt;/span&amp;gt; ==&lt;br /&gt;
# Boot to BIOS, go to “Security-&amp;gt; Secure Boot-&amp;gt; Key Management”.&amp;lt;br&amp;gt;Check all “Secure Boot variable” is “No Keys”. If all of them are not “No Keys”.&amp;lt;br&amp;gt;Select “Reset To Setup Mode-&amp;gt; Yes”, system will auto reboot and clear all keys.&amp;lt;br/&amp;gt;[[File:secure_boot_1-1.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;[[File:secure_boot_1-2.png]]&lt;br /&gt;
# Reboot system to OS, during boot menu, select “chainload efi-secure-boot-lockdown” then press enter.&amp;lt;br/&amp;gt;[[File:secure_boot_2.png]]&lt;br /&gt;
# After sytem created Cert, it will reboot automactically.&amp;lt;br/&amp;gt;[[File:secure_boot_3.png]]&lt;br /&gt;
# Boot to BIOS again, go to “Security-&amp;gt; Secure Boot” enable “Secure Boot.”&amp;lt;br&amp;gt;Go to “Save &amp;amp; Exit” select “Save Changes and Exit”, system will auto reboot.&amp;lt;br/&amp;gt;[[File:secure_boot_4.png]]&lt;br /&gt;
# Reboot system to OS, open Terminal and use command “sudo mokutil –sb-state”. You will see “SecureBoot enabled”.&amp;lt;br/&amp;gt;[[File:secure_boot_5.png]]&lt;/div&gt;</summary>
		<author><name>Winston.huang</name></author>	</entry>

	</feed>