<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de-AT">
	<id>https://becomwiki.live.md-websolutions.com/index.php?action=history&amp;feed=atom&amp;title=OpenEmbedded%3A_Building</id>
	<title>OpenEmbedded: Building - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://becomwiki.live.md-websolutions.com/index.php?action=history&amp;feed=atom&amp;title=OpenEmbedded%3A_Building"/>
	<link rel="alternate" type="text/html" href="https://becomwiki.live.md-websolutions.com/index.php?title=OpenEmbedded:_Building&amp;action=history"/>
	<updated>2026-05-13T12:46:37Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in BECOM Systems Support</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://becomwiki.live.md-websolutions.com/index.php?title=OpenEmbedded:_Building&amp;diff=516&amp;oldid=prev</id>
		<title>Peter: 1 Version importiert</title>
		<link rel="alternate" type="text/html" href="https://becomwiki.live.md-websolutions.com/index.php?title=OpenEmbedded:_Building&amp;diff=516&amp;oldid=prev"/>
		<updated>2023-10-31T08:03:11Z</updated>

		<summary type="html">&lt;p&gt;1 Version importiert&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;de-AT&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 31. Oktober 2023, 10:03 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;de-AT&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Peter</name></author>
	</entry>
	<entry>
		<id>https://becomwiki.live.md-websolutions.com/index.php?title=OpenEmbedded:_Building&amp;diff=515&amp;oldid=prev</id>
		<title>en&gt;Peter: 1 Version importiert</title>
		<link rel="alternate" type="text/html" href="https://becomwiki.live.md-websolutions.com/index.php?title=OpenEmbedded:_Building&amp;diff=515&amp;oldid=prev"/>
		<updated>2023-08-22T19:35:54Z</updated>

		<summary type="html">&lt;p&gt;1 Version importiert&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Building an image ==&lt;br /&gt;
&lt;br /&gt;
Change your working directory to the Bluetechnix overlay:&lt;br /&gt;
 robert@bltLinux:~/oe$ cd btmxc&lt;br /&gt;
 robert@bltLinux:~/oe/btmxc$ ls&lt;br /&gt;
 conf oeenv&lt;br /&gt;
There you see an oeenv file, source it – it will set up everything needed for working with this&lt;br /&gt;
overlay (mind the space between &amp;quot;.&amp;quot; and oeenv):&lt;br /&gt;
 robert@bltLinux:~/oe/btmxc$ . oeenv&lt;br /&gt;
 robert@bltLinux:~/oe/btmxc$&lt;br /&gt;
If you got your own copy of BitBake and you installed it in oe/bitbake/, you may also source&lt;br /&gt;
the bitbakeenv file. It will add BitBake&amp;#039;s path to your $PATH. (Note that you have to do this&lt;br /&gt;
step after sourcing oeenv, because oeenv sets the OEBASE variable.)&lt;br /&gt;
 robert@bltLinux:~/oe/btmxc$ . bitbakeenv&lt;br /&gt;
 robert@bltLinux:~/oe/btmxc$&lt;br /&gt;
Everytime you execute bitbake you should be in this directory.&lt;br /&gt;
&lt;br /&gt;
Now lets build our first image. Note that we use &amp;#039;&amp;#039;blt-image&amp;#039;&amp;#039; generically here. You have to use&lt;br /&gt;
the correct image name for your board according to the list below.&lt;br /&gt;
&lt;br /&gt;
 robert@bltLinux:~/oe/btmxc$ &amp;#039;&amp;#039;&amp;#039;bitbake blt-image&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 NOTE: Handling BitBake files: \ (6638/6638) [100 %]&lt;br /&gt;
 NOTE: Parsing finished. 6345 cached, 0 parsed, 293 skipped, 0 masked.&lt;br /&gt;
 NOTE: Cache is clean, not saving.&lt;br /&gt;
 NOTE: build 200904142114: started&lt;br /&gt;
 OE Build Configuration:&lt;br /&gt;
 BB_VERSION = &amp;quot;1.8.12&amp;quot;&lt;br /&gt;
 METADATA_BRANCH = &amp;quot;stable/2009&amp;quot;&lt;br /&gt;
 METADATA_REVISION = &amp;quot;13e3e087e4d45555ee29caf09576961db9e5f30e&amp;quot;&lt;br /&gt;
 TARGET_ARCH = &amp;quot;arm&amp;quot;&lt;br /&gt;
 TARGET_OS = &amp;quot;linux-gnueabi&amp;quot;&lt;br /&gt;
 MACHINE = &amp;quot;btmxc31&amp;quot;&lt;br /&gt;
 DISTRO = &amp;quot;angstrom&amp;quot;&lt;br /&gt;
 DISTRO_VERSION = &amp;quot;2009.X-test-20090414&amp;quot;&lt;br /&gt;
 TARGET_FPU = &amp;quot;hard&amp;quot;&lt;br /&gt;
 NOTE: Resolving any missing task queue dependencies&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
The first compilation of an image will take a while since it will build everything starting from the cross tool chain and ending&lt;br /&gt;
with the root file system. &lt;br /&gt;
&lt;br /&gt;
Afterwards you can find the image ready at &amp;#039;&amp;#039;&amp;#039;/oe/btmxc/tmp/deploy/glibc/images/sbc-imx51/blt-image&amp;#039;&amp;#039;&amp;#039; (Last part may verify, depending on the machine for which you are compiling and the image name.)&lt;br /&gt;
&lt;br /&gt;
=== Images for Bluetechnix hardware ===&lt;br /&gt;
&lt;br /&gt;
We provide recipes for one or more demo images in our OpenEmbedded repo for each module. Images are contained in &amp;#039;&amp;#039;oe/openembedded/recipes/images/&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
;SBC-i.MX51&lt;br /&gt;
:sbc-imx51-console-image.bb&lt;br /&gt;
:sbc-imx51-qtembedded-image.bb&lt;br /&gt;
:sbc-imx51-gnome-image.bb&lt;br /&gt;
;CM-i.MX27 with DEV-i.MX27/35&lt;br /&gt;
:btmxc27-image.bb&lt;br /&gt;
;CM-i.MX35 with DEV-i.MX27/35&lt;br /&gt;
:btmxc35-image.bb&lt;br /&gt;
&lt;br /&gt;
(To compile, don&amp;#039;t enter the &amp;quot;.bb&amp;quot; suffix, e.g. &amp;#039;&amp;#039;bitbake sbc-imx51-gnome-image&amp;#039;&amp;#039;.)&lt;br /&gt;
&lt;br /&gt;
== A little script for setting up NFS file system ==&lt;br /&gt;
&lt;br /&gt;
After building, the complete image (compressed archive) is saved in &amp;#039;&amp;#039;oe/btmxc/tmp/deploy/glibc/images/[machine]/[image name].[archive type]&amp;#039;&amp;#039;, e.g.&lt;br /&gt;
 harald@WS-HP4600-35:~/imx/oe/btmxc/tmp/deploy/glibc/images/i.fly$ ls -l ifly*&lt;br /&gt;
 lrwxrwxrwx 1 harald harald 62 2009-12-21 10:15 ifly-image-i.fly.jffs2 -&amp;gt; Angstrom-ifly-image-glibc-ipk-2009.X-stable-i.fly.rootfs.jffs2&lt;br /&gt;
 lrwxrwxrwx 1 harald harald 64 2009-12-21 10:17 ifly-image-i.fly.tar.bz2 -&amp;gt; Angstrom-ifly-image-glibc-ipk-2009.X-stable-i.fly.rootfs.tar.bz2&lt;br /&gt;
 lrwxrwxrwx 1 harald harald 63 2009-12-21 10:17 ifly-image-i.fly.tar.gz -&amp;gt; Angstrom-ifly-image-glibc-ipk-2009.X-stable-i.fly.rootfs.tar.gz&lt;br /&gt;
&lt;br /&gt;
To be able to access kernel and file system easily from your target, here is a little script (for btmxc27) that&lt;br /&gt;
*copies the kernel image to /tftpboot&lt;br /&gt;
*extracts the file system image to a directory&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 sudo rm -rf ${OEBASE}/btmxc/tmp/deploy/glibc/images/i.fly/rootfs #delete old directory&lt;br /&gt;
 cd ${OEBASE}/btmxc/tmp/deploy/glibc/images/i.fly&lt;br /&gt;
 mkdir rootfs&lt;br /&gt;
 cd rootfs&lt;br /&gt;
 sudo tar -xvjf ../ifly-image-i.fly.tar.bz2 #unpack (you need root permissions!)&lt;br /&gt;
 cd ..&lt;br /&gt;
 cp zImage.bin /tftpboot/zImage #copy kernel image&lt;br /&gt;
 cd ${OEBASE}/btmxc/&lt;br /&gt;
&lt;br /&gt;
In your &amp;#039;&amp;#039;/tftpboot&amp;#039;&amp;#039;, you should have a symbolic link to the newly created &amp;#039;&amp;#039;rootfs&amp;#039;&amp;#039; directory. We explain that [[https://wiki/wiki/NFS_Server here]].&lt;br /&gt;
&lt;br /&gt;
== Target network setup ==&lt;br /&gt;
Network setup is configured in the file &amp;#039;&amp;#039;/etc/network/interfaces&amp;#039;&amp;#039; in your rootfs. The default network setup for Ethernet (eth0) is set to DHCP:&lt;br /&gt;
 auto eth0&lt;br /&gt;
 iface eth0 inet dhcp&lt;br /&gt;
&lt;br /&gt;
To set a fixed IP address, you may modify the lines above as follows:&lt;br /&gt;
 auto eth0&lt;br /&gt;
 iface eth0 inet static&lt;br /&gt;
 address 192.168.0.53&lt;br /&gt;
 netmask 255.255.255.0&lt;br /&gt;
 gateway 192.168.0.1&lt;br /&gt;
 broadcast 192.168.0.255&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;IMPORTANT!&amp;#039;&amp;#039;&amp;#039; If you are mounting the rootfs via NFS, you &amp;#039;&amp;#039;&amp;#039;MUST NOT&amp;#039;&amp;#039;&amp;#039; configure &amp;#039;&amp;#039;eth0&amp;#039;&amp;#039; at all in the configuration file, so comment the lines&lt;br /&gt;
 #auto eth0&lt;br /&gt;
 #iface eth0 inet dhcp&lt;br /&gt;
The reason is that the Linux kernel - in case of NFS - must configure the network before this file can even be read. This is done via kernel arguments (see &amp;#039;&amp;#039;Loading Linux:&amp;#039;&amp;#039; in the&lt;br /&gt;
Redboot [[Redboot short reference|short reference]]). If the network would be configured later again, the connection to the NFS server is interrupted! &lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
;Invalid MD5 sum&lt;br /&gt;
:If the build fails because of an invalid md5 sum, run the &amp;#039;&amp;#039;fetch&amp;#039;&amp;#039; task on the recipe causing this error, then build again. The re-fetch might solve the problem.&lt;br /&gt;
&lt;br /&gt;
;Package fails to build&lt;br /&gt;
:In case a package fails to build, run the clean task on it, then build again. E.g.&lt;br /&gt;
 bitbake -c clean packetname &lt;br /&gt;
 bitbake failed-image&lt;br /&gt;
:If the problem persists, you may try disabling concurrent building by editing &amp;#039;&amp;#039;btmxc/conf/local.conf&amp;#039;&amp;#039;. &amp;#039;&amp;#039;PARALLEL_MAKE&amp;#039;&amp;#039; defines a flag to the compiler GCC and gives the number of parallel make threads. &amp;#039;&amp;#039;BB_NUMBER_THREADS&amp;#039;&amp;#039; decides how many threads &amp;#039;&amp;#039;bitbake&amp;#039;&amp;#039; will start.&lt;br /&gt;
 #PARALLEL_MAKE = &amp;quot;-j 4&amp;quot;&lt;br /&gt;
 PARALLEL_MAKE = &amp;quot;-j 1&amp;quot;&lt;br /&gt;
 #BB_NUMBER_THREADS = &amp;quot;2&amp;quot;&lt;br /&gt;
 BB_NUMBER_THREADS = &amp;quot;1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:i.MX]]&lt;br /&gt;
[[Category:OpenEmbedded]]&lt;/div&gt;</summary>
		<author><name>en&gt;Peter</name></author>
	</entry>
</feed>