<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.yoctoproject.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jconnolly</id>
	<title>Yocto Project - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.yoctoproject.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jconnolly"/>
	<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/Special:Contributions/Jconnolly"/>
	<updated>2026-04-23T13:11:15Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=Transcript:_from_git_checkout_to_meta-intel_BSP&amp;diff=1417</id>
		<title>Transcript: from git checkout to meta-intel BSP</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=Transcript:_from_git_checkout_to_meta-intel_BSP&amp;diff=1417"/>
		<updated>2011-04-26T17:15:49Z</updated>

		<summary type="html">&lt;p&gt;Jconnolly: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To build and run a meta-intel BSP, you need to check out a local copy of the poky repo, along with a local copy of the meta-intel repo somewhere inside the poky checkout e.g. see below (the example below uses the &#039;fishriver&#039; BSP as an example.  For other meta-intel BSPs, you can use the instructions in the same way - just substitute the BSP name you actually want to build below e.g. for the jasperforest BSP, substitute &#039;jasperforest&#039;, &#039;meta-jasperforest&#039;, etc.&lt;br /&gt;
&lt;br /&gt;
NOTE: this transcript was from a build done on a Ubuntu 10.04 system.  Please see the &#039;Yocto Project Quickstart&#039; for the packages required to be installed on the host system for building [http://www.yoctoproject.org/docs/yocto-quick-start/yocto-project-qs.html]&lt;br /&gt;
&lt;br /&gt;
First do the basic checkout of the Yocto sources:&lt;br /&gt;
&lt;br /&gt;
 trz@elmorro:/usr/local/src$ &#039;&#039;&#039;mkdir Yocto&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src$ &#039;&#039;&#039;cd Yocto/&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto$ &#039;&#039;&#039;git init&#039;&#039;&#039;&lt;br /&gt;
 Initialized empty Git repository in /usr/local/src/Yocto/.git/&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto$ &#039;&#039;&#039;git remote add poky git://git.pokylinux.org/poky.git&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto$ &#039;&#039;&#039;git remote update&#039;&#039;&#039;&lt;br /&gt;
 Fetching poky&lt;br /&gt;
 remote: Counting objects: 93654, done.&lt;br /&gt;
 remote: Compressing objects: 100% (28485/28485), done.&lt;br /&gt;
 remote: Total 93654 (delta 63441), reused 92073 (delta 62265)&lt;br /&gt;
 Receiving objects: 100% (93654/93654), 61.50 MiB | 253 KiB/s, done.&lt;br /&gt;
 Resolving deltas: 100% (63441/63441), done.&lt;br /&gt;
 From git://git.pokylinux.org/poky&lt;br /&gt;
  * [new branch]      bernard    -&amp;gt; poky/bernard&lt;br /&gt;
  * [new branch]      bernard-5.0.1 -&amp;gt; poky/bernard-5.0.1&lt;br /&gt;
  * [new branch]      blinky     -&amp;gt; poky/blinky&lt;br /&gt;
  * [new branch]      clyde      -&amp;gt; poky/clyde&lt;br /&gt;
  * [new branch]      elroy      -&amp;gt; poky/elroy&lt;br /&gt;
  * [new branch]      green      -&amp;gt; poky/green&lt;br /&gt;
  * [new branch]      laverne    -&amp;gt; poky/laverne&lt;br /&gt;
  * [new branch]      master     -&amp;gt; poky/master&lt;br /&gt;
  * [new branch]      pinky      -&amp;gt; poky/pinky&lt;br /&gt;
  * [new branch]      purple     -&amp;gt; poky/purple&lt;br /&gt;
  * [new tag]         bernard-5.0 -&amp;gt; bernard-5.0&lt;br /&gt;
  * [new tag]         pinky-3.1.2 -&amp;gt; pinky-3.1.2&lt;br /&gt;
 From git://git.pokylinux.org/poky&lt;br /&gt;
  * [new tag]         bernard-1.0rc1 -&amp;gt; bernard-1.0rc1&lt;br /&gt;
  * [new tag]         bernard-5.0-alpha -&amp;gt; bernard-5.0-alpha&lt;br /&gt;
  * [new tag]         bernard-5.0rc1 -&amp;gt; bernard-5.0rc1&lt;br /&gt;
  * [new tag]         bernard-5.0rc2 -&amp;gt; bernard-5.0rc2&lt;br /&gt;
  * [new tag]         laverne-4.0 -&amp;gt; laverne-4.0&lt;br /&gt;
  * [new tag]         laverne-4.0.1 -&amp;gt; laverne-4.0.1&lt;br /&gt;
  * [new tag]         m4         -&amp;gt; m4&lt;br /&gt;
  * [new tag]         purple-3.2 -&amp;gt; purple-3.2&lt;br /&gt;
  * [new tag]         purple-3.2.1 -&amp;gt; purple-3.2.1&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto$ &#039;&#039;&#039;git checkout -b bernard-cur poky/bernard&#039;&#039;&#039;&lt;br /&gt;
 Branch bernard-cur set up to track remote branch bernard from poky.&lt;br /&gt;
 Switched to a new branch &#039;bernard-cur&#039;&lt;br /&gt;
&lt;br /&gt;
Now check out the meta-intel repo into the top-level Yocto repo dir:&lt;br /&gt;
&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto$ &#039;&#039;&#039;mkdir meta-intel&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto$ &#039;&#039;&#039;cd meta-intel&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/meta-intel$ &#039;&#039;&#039;git init&#039;&#039;&#039;&lt;br /&gt;
 Initialized empty Git repository in /usr/local/src/Yocto/meta-intel/.git/&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/meta-intel$ &#039;&#039;&#039;git remote add meta-intel git://git.pokylinux.org/meta-intel.git&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/meta-intel$ &#039;&#039;&#039;git remote update&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/meta-intel$ &#039;&#039;&#039;git checkout -b fishriver meta-intel/master&#039;&#039;&#039;&lt;br /&gt;
 Branch fishriver set up to track remote branch master from meta-intel.&lt;br /&gt;
 Switched to a new branch &#039;fishriver&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/meta-intel$ &#039;&#039;&#039;cd ..&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto$ &#039;&#039;&#039;source poky-init-build-env &#039;&#039;&#039;&lt;br /&gt;
 You had no conf/local.conf file. Poky has created this configuration file for&lt;br /&gt;
 you with some default values. You may wish to edit it to use a different MACHINE&lt;br /&gt;
 (target hardware) or enable parallel build options to take advantage of multiple&lt;br /&gt;
 cores for example. See the file for more information as common configuration&lt;br /&gt;
 options are commented.&lt;br /&gt;
 &lt;br /&gt;
 Also, for more information see the Poky Reference Manual:&lt;br /&gt;
     http://yoctoproject.org/community/documentation&lt;br /&gt;
 &lt;br /&gt;
 You had no conf/bblayers.conf file. Poky has created this configuration file for&lt;br /&gt;
 you with some default values. To add additional metadata layers into your&lt;br /&gt;
 configuration please add entries to this file.&lt;br /&gt;
 &lt;br /&gt;
 For more information see the Poky Reference Manual:&lt;br /&gt;
     http://yoctoproject.org/community/documentation&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 ### Shell environment set up for Poky builds. ###&lt;br /&gt;
 &lt;br /&gt;
 You can now run &#039;bitbake &amp;lt;target&amp;gt;&#039;&lt;br /&gt;
 &lt;br /&gt;
 Common targets are:&lt;br /&gt;
     poky-image-minimal&lt;br /&gt;
     poky-image-sato&lt;br /&gt;
     meta-toolchain&lt;br /&gt;
     meta-toolchain-sdk&lt;br /&gt;
 &lt;br /&gt;
 You can also run generated qemu images with a command like &#039;poky-qemu qemux86&#039;&lt;br /&gt;
 &lt;br /&gt;
Before building, you need to add the meta-fishriver layer so the build recognizes it. So edit bblayers.conf:&lt;br /&gt;
 &lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build$ &#039;&#039;&#039;emacs -nw conf/bblayers.conf&#039;&#039;&#039;&lt;br /&gt;
 &lt;br /&gt;
And change:&lt;br /&gt;
 &lt;br /&gt;
 BBLAYERS = &amp;quot; \&lt;br /&gt;
   /usr/local/src/Yocto/meta \                                                              &lt;br /&gt;
   &amp;quot;&lt;br /&gt;
 &lt;br /&gt;
to:&lt;br /&gt;
 &lt;br /&gt;
 &#039;&#039;&#039;BBLAYERS = &amp;quot; \&lt;br /&gt;
   /usr/local/src/Yocto/meta \                                                              &lt;br /&gt;
   /usr/local/src/Yocto/meta-intel/meta-fishriver \                                         &lt;br /&gt;
   &amp;quot;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You also need to make a few changes to your local.conf:&lt;br /&gt;
 &lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build$ &#039;&#039;&#039;emacs -nw conf/local.conf&#039;&#039;&#039;&lt;br /&gt;
 &lt;br /&gt;
Change:&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;MACHINE ??= &amp;quot;qemux86&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;MACHINE ??= &amp;quot;fishriver&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To make the build go faster, depending on how many CPUs you have change the following variables.  I&lt;br /&gt;
have 4 cores, with HT, so I&#039;m changing my values to 8:&lt;br /&gt;
&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build/conf$ &#039;&#039;&#039;emacs -nw local.conf&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;BB_NUMBER_THREADS = &amp;quot;8&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
 &#039;&#039;&#039;PARALLEL_MAKE = &amp;quot;-j 8&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since this is your first build, it won&#039;t matter - it will take awhile regardless, but for later builds, to avoid re-downloading all the packages again, you can point the DL_DIR variable in local conf to the downloads dir of a previous build.&lt;br /&gt;
&lt;br /&gt;
You&#039;re now ready to build your image, which make take several hours.  Continuing the session...:&lt;br /&gt;
&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build$ &#039;&#039;&#039;cd /usr/local/src/Yocto/&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto$ &#039;&#039;&#039;source poky-init-build-env&#039;&#039;&#039; &lt;br /&gt;
 &lt;br /&gt;
 ### Shell environment set up for Poky builds. ###&lt;br /&gt;
 &lt;br /&gt;
 You can now run &#039;bitbake &amp;lt;target&amp;gt;&#039;&lt;br /&gt;
 &lt;br /&gt;
 Common targets are:&lt;br /&gt;
     poky-image-minimal&lt;br /&gt;
     poky-image-sato&lt;br /&gt;
     meta-toolchain&lt;br /&gt;
     meta-toolchain-sdk&lt;br /&gt;
 &lt;br /&gt;
 You can also run generated qemu images with a command like &#039;poky-qemu qemux86&#039;&lt;br /&gt;
 &lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build$ &#039;&#039;&#039;bitbake poky-image-sato-live&#039;&#039;&#039;&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 NOTE: Running noexec task 5894 of 5900 (ID: 1037, /usr/local/src/Yocto/meta/recipes-kernel/linux/linux-yocto_git.bb, do_package_write)&lt;br /&gt;
 NOTE: package perl-5.12.2-r3: task do_package_write_ipk: Succeeded&lt;br /&gt;
 NOTE: Running noexec task 5895 of 5900 (ID: 1104, /usr/local/src/Yocto/meta/recipes-devtools/perl/perl_5.12.2.bb, do_package_write)&lt;br /&gt;
 NOTE: package eglibc-2.12-r13: task do_package_write_ipk: Succeeded&lt;br /&gt;
 NOTE: Running noexec task 5896 of 5900 (ID: 233, /usr/local/src/Yocto/meta/recipes-core/eglibc/eglibc_2.12.bb, do_package_write)&lt;br /&gt;
 NOTE: package poky-image-sato-1.0-r0: task do_rootfs: Succeeded&lt;br /&gt;
 NOTE: package poky-image-sato-live-1.0-r0: task do_package_write_rpm: Succeeded&lt;br /&gt;
 NOTE: Running noexec task 5897 of 5900 (ID: 10, /usr/local/src/Yocto/meta/recipes-sato/images/poky-image-sato-live.bb, do_package_write)&lt;br /&gt;
 NOTE: package syslinux-4.03-r0: task do_package_write_rpm: Succeeded&lt;br /&gt;
 NOTE: Running noexec task 5898 of 5900 (ID: 141, /usr/local/src/Yocto/meta/recipes-devtools/syslinux/syslinux_4.03.bb, do_package_write)&lt;br /&gt;
 NOTE: package poky-image-minimal-initramfs-1.0-r0: task do_rootfs: Succeeded&lt;br /&gt;
 NOTE: Running task 5899 of 5900 (ID: 9, /usr/local/src/Yocto/meta/recipes-sato/images/poky-image-sato-live.bb, do_bootimg)&lt;br /&gt;
 NOTE: package poky-image-sato-live-1.0-r0: task do_bootimg: Started&lt;br /&gt;
 NOTE: package poky-image-sato-live-1.0-r0: task do_bootimg: Succeeded&lt;br /&gt;
 NOTE: Running noexec task 5900 of 5900 (ID: 4, /usr/local/src/Yocto/meta/recipes-sato/images/poky-image-sato-live.bb, do_build)&lt;br /&gt;
 NOTE: Tasks Summary: Attempted 5900 tasks of which 544 didn&#039;t need to be rerun and 0 failed.&lt;br /&gt;
&lt;br /&gt;
The build succeeded - look in build/tmp/deploy/images for the bootable image:&lt;br /&gt;
&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build$ &#039;&#039;&#039;cd /usr/local/src/Yocto/build/tmp/deploy/images&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build/tmp/deploy/images$ &#039;&#039;&#039;ls -al&#039;&#039;&#039;&lt;br /&gt;
 total 1960464&lt;br /&gt;
 drwxr-xr-x   3 trz trz      4096 2011-04-05 00:03 .&lt;br /&gt;
 drwxr-xr-x   5 trz trz      4096 2011-04-04 22:36 ..&lt;br /&gt;
 -rw-r--r--   1 trz trz   3910368 2011-04-04 22:57 bzImage- 2.6.37+git1+51c761795b078bf3c80104ed6e73b3d995067384_1+86bd1278bbf11589d87639df17d2f5f42db97b60-r16-fishriver-20110405031037.bin&lt;br /&gt;
 lrwxrwxrwx   1 trz trz       136 2011-04-04 22:57 bzImage-fishriver.bin -&amp;gt; bzImage-2.6.37+git1+51c761795b078bf3c80104ed6e73b3d995067384_1+86bd1278bbf11589d87639df17d2f5f42db97b60-r16-fishriver-20110405031037.bin&lt;br /&gt;
 drwxr-xr-x 339 trz trz     12288 2011-04-04 22:36 licenses&lt;br /&gt;
 -rw-r--r--   1 trz trz  33630384 2011-04-04 22:57 modules-2.6.37.6-yocto-standard+-r16-fishriver.tgz&lt;br /&gt;
 -rwxr--r--   1 trz trz   4648687 2011-04-05 00:03 poky-image-minimal-initramfs-fishriver-20110405031037.rootfs.cpio.gz&lt;br /&gt;
 -rw-r--r--   1 trz trz  67108864 2011-04-05 00:03 poky-image-minimal-initramfs-fishriver-20110405031037.rootfs.ext3&lt;br /&gt;
 lrwxrwxrwx   1 trz trz        68 2011-04-05 00:03 poky-image-minimal-initramfs-fishriver.cpio.gz -&amp;gt; poky-image-minimal-initramfs-fishriver-20110405031037.rootfs.cpio.gz&lt;br /&gt;
 lrwxrwxrwx   1 trz trz        65 2011-04-05 00:03 poky-image-minimal-initramfs-fishriver.ext3 -&amp;gt; poky-image-minimal-initramfs-fishriver-20110405031037.rootfs.ext3&lt;br /&gt;
 -rwxr--r--   1 trz trz 161879951 2011-04-05 00:02 poky-image-sato-fishriver-20110405031037.rootfs.cpio.gz&lt;br /&gt;
 -rw-r--r--   1 trz trz 572852224 2011-04-05 00:00 poky-image-sato-fishriver-20110405031037.rootfs.ext3&lt;br /&gt;
 lrwxrwxrwx   1 trz trz        55 2011-04-05 00:02 poky-image-sato-fishriver.cpio.gz -&amp;gt; poky-image-sato-fishriver-20110405031037.rootfs.cpio.gz&lt;br /&gt;
 lrwxrwxrwx   1 trz trz        52 2011-04-05 00:00 poky-image-sato-fishriver.ext3 -&amp;gt; poky-image-sato-fishriver-20110405031037.rootfs.ext3&lt;br /&gt;
 -rw-r--r--   1 trz trz 581971968 2011-04-05 00:03 poky-image-sato-live-fishriver-20110405031037.hddimg&lt;br /&gt;
 -rw-r--r--   1 trz trz 581804032 2011-04-05 00:03 poky-image-sato-live-fishriver-20110405031037.iso&lt;br /&gt;
 lrwxrwxrwx   1 trz trz        52 2011-04-05 00:03 poky-image-sato-live-fishriver.hddimg -&amp;gt; poky-image-sato-live-fishriver-20110405031037.hddimg&lt;br /&gt;
 lrwxrwxrwx   1 trz trz        49 2011-04-05 00:03 poky-image-sato-live-fishriver.iso -&amp;gt; poky-image-sato-live-fishriver-20110405031037.iso&lt;br /&gt;
&lt;br /&gt;
Now dd the &#039;live&#039; image to a USB drive (/dev/sdf for me, yours will be different):&lt;br /&gt;
&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build/tmp/deploy/images$ &#039;&#039;&#039;sudo dd if=poky-image-sato-live-fishriver-20110405031037.hddimg of=/dev/sdf&#039;&#039;&#039;&lt;br /&gt;
 [sudo] password for trz: &lt;br /&gt;
 1136664+0 records in&lt;br /&gt;
 1136664+0 records out&lt;br /&gt;
 581971968 bytes (582 MB) copied, 5.15645 s, 113 MB/s&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build/tmp/deploy/images$ sync&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build/tmp/deploy/images$ eject /dev/sdf&lt;br /&gt;
&lt;br /&gt;
The image should now be on the USB drive and ready to boot, enjoy!&lt;br /&gt;
&lt;br /&gt;
NOTE: if you have a problem with e.g. garbage characters, or other strange things, try doing this before you dd the image:&lt;br /&gt;
&lt;br /&gt;
 $ &#039;&#039;&#039;sudo dd if=/dev/zero of=/dev/sdf bs=1M count=1024&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Jconnolly</name></author>
	</entry>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=Transcript:_from_git_checkout_to_meta-intel_BSP&amp;diff=1416</id>
		<title>Transcript: from git checkout to meta-intel BSP</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=Transcript:_from_git_checkout_to_meta-intel_BSP&amp;diff=1416"/>
		<updated>2011-04-26T17:03:41Z</updated>

		<summary type="html">&lt;p&gt;Jconnolly: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To build and run a meta-intel BSP, you need to check out a local copy of the poky repo, along with a local copy of the meta-intel repo somewhere inside the poky checkout e.g. see below (the example below uses the &#039;fishriver&#039; BSP as an example.  For other meta-intel BSPs, you can use the instructions in the same way - just substitute the BSP name you actually want to build below e.g. for the jasperforest BSP, substitute &#039;jasperforest&#039;, &#039;meta-jasperforest&#039;, etc.&lt;br /&gt;
&lt;br /&gt;
NOTE: this transcript was from a build done on a Ubuntu 10.04 system.  Please see the &#039;Yocto Project Quickstart&#039; for the packages required to be installed on the host system for building [http://www.yoctoproject.org/docs/yocto-quick-start/yocto-project-qs.html]&lt;br /&gt;
&lt;br /&gt;
First do the basic checkout of the Yocto sources:&lt;br /&gt;
&lt;br /&gt;
 trz@elmorro:/usr/local/src$ &#039;&#039;&#039;mkdir Yocto&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src$ &#039;&#039;&#039;cd Yocto/&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto$ &#039;&#039;&#039;git init&#039;&#039;&#039;&lt;br /&gt;
 Initialized empty Git repository in /usr/local/src/Yocto/.git/&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto$ &#039;&#039;&#039;git remote add poky git://git.pokylinux.org/poky.git&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto$ &#039;&#039;&#039;git remote update&#039;&#039;&#039;&lt;br /&gt;
 Fetching poky&lt;br /&gt;
 remote: Counting objects: 93654, done.&lt;br /&gt;
 remote: Compressing objects: 100% (28485/28485), done.&lt;br /&gt;
 remote: Total 93654 (delta 63441), reused 92073 (delta 62265)&lt;br /&gt;
 Receiving objects: 100% (93654/93654), 61.50 MiB | 253 KiB/s, done.&lt;br /&gt;
 Resolving deltas: 100% (63441/63441), done.&lt;br /&gt;
 From git://git.pokylinux.org/poky&lt;br /&gt;
  * [new branch]      bernard    -&amp;gt; poky/bernard&lt;br /&gt;
  * [new branch]      bernard-5.0.1 -&amp;gt; poky/bernard-5.0.1&lt;br /&gt;
  * [new branch]      blinky     -&amp;gt; poky/blinky&lt;br /&gt;
  * [new branch]      clyde      -&amp;gt; poky/clyde&lt;br /&gt;
  * [new branch]      elroy      -&amp;gt; poky/elroy&lt;br /&gt;
  * [new branch]      green      -&amp;gt; poky/green&lt;br /&gt;
  * [new branch]      laverne    -&amp;gt; poky/laverne&lt;br /&gt;
  * [new branch]      master     -&amp;gt; poky/master&lt;br /&gt;
  * [new branch]      pinky      -&amp;gt; poky/pinky&lt;br /&gt;
  * [new branch]      purple     -&amp;gt; poky/purple&lt;br /&gt;
  * [new tag]         bernard-5.0 -&amp;gt; bernard-5.0&lt;br /&gt;
  * [new tag]         pinky-3.1.2 -&amp;gt; pinky-3.1.2&lt;br /&gt;
 From git://git.pokylinux.org/poky&lt;br /&gt;
  * [new tag]         bernard-1.0rc1 -&amp;gt; bernard-1.0rc1&lt;br /&gt;
  * [new tag]         bernard-5.0-alpha -&amp;gt; bernard-5.0-alpha&lt;br /&gt;
  * [new tag]         bernard-5.0rc1 -&amp;gt; bernard-5.0rc1&lt;br /&gt;
  * [new tag]         bernard-5.0rc2 -&amp;gt; bernard-5.0rc2&lt;br /&gt;
  * [new tag]         laverne-4.0 -&amp;gt; laverne-4.0&lt;br /&gt;
  * [new tag]         laverne-4.0.1 -&amp;gt; laverne-4.0.1&lt;br /&gt;
  * [new tag]         m4         -&amp;gt; m4&lt;br /&gt;
  * [new tag]         purple-3.2 -&amp;gt; purple-3.2&lt;br /&gt;
  * [new tag]         purple-3.2.1 -&amp;gt; purple-3.2.1&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto$ &#039;&#039;&#039;git checkout -b bernard-cur poky/bernard&#039;&#039;&#039;&lt;br /&gt;
 Branch bernard-cur set up to track remote branch bernard from poky.&lt;br /&gt;
 Switched to a new branch &#039;bernard-cur&#039;&lt;br /&gt;
&lt;br /&gt;
Now check out the meta-intel repo into the top-level Yocto repo dir:&lt;br /&gt;
&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto$ &#039;&#039;&#039;mkdir meta-intel&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto$ &#039;&#039;&#039;cd meta-intel&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/meta-intel$ &#039;&#039;&#039;git init&#039;&#039;&#039;&lt;br /&gt;
 Initialized empty Git repository in /usr/local/src/Yocto/meta-intel/.git/&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/meta-intel$ &#039;&#039;&#039;git remote add meta-intel git://git.pokylinux.org/meta-intel.git&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/meta-intel$ &#039;&#039;&#039;git remote update&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/meta-intel$ &#039;&#039;&#039;git checkout -b fishriver meta-intel/master&#039;&#039;&#039;&lt;br /&gt;
 Branch fishriver set up to track remote branch master from meta-intel.&lt;br /&gt;
 Switched to a new branch &#039;fishriver&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/meta-intel$ &#039;&#039;&#039;cd ..&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto$ &#039;&#039;&#039;source poky-init-build-env &#039;&#039;&#039;&lt;br /&gt;
 You had no conf/local.conf file. Poky has created this configuration file for&lt;br /&gt;
 you with some default values. You may wish to edit it to use a different MACHINE&lt;br /&gt;
 (target hardware) or enable parallel build options to take advantage of multiple&lt;br /&gt;
 cores for example. See the file for more information as common configuration&lt;br /&gt;
 options are commented.&lt;br /&gt;
 &lt;br /&gt;
 Also, for more information see the Poky Reference Manual:&lt;br /&gt;
     http://yoctoproject.org/community/documentation&lt;br /&gt;
 &lt;br /&gt;
 You had no conf/bblayers.conf file. Poky has created this configuration file for&lt;br /&gt;
 you with some default values. To add additional metadata layers into your&lt;br /&gt;
 configuration please add entries to this file.&lt;br /&gt;
 &lt;br /&gt;
 For more information see the Poky Reference Manual:&lt;br /&gt;
     http://yoctoproject.org/community/documentation&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 ### Shell environment set up for Poky builds. ###&lt;br /&gt;
 &lt;br /&gt;
 You can now run &#039;bitbake &amp;lt;target&amp;gt;&#039;&lt;br /&gt;
 &lt;br /&gt;
 Common targets are:&lt;br /&gt;
     poky-image-minimal&lt;br /&gt;
     poky-image-sato&lt;br /&gt;
     meta-toolchain&lt;br /&gt;
     meta-toolchain-sdk&lt;br /&gt;
 &lt;br /&gt;
 You can also run generated qemu images with a command like &#039;poky-qemu qemux86&#039;&lt;br /&gt;
 &lt;br /&gt;
Before building, you need to add the meta-fishriver layer so the build recognizes it. So edit bblayers.conf:&lt;br /&gt;
 &lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build$ &#039;&#039;&#039;emacs -nw conf/bblayers.conf&#039;&#039;&#039;&lt;br /&gt;
 &lt;br /&gt;
And change:&lt;br /&gt;
 &lt;br /&gt;
 BBLAYERS = &amp;quot; \&lt;br /&gt;
   /usr/local/src/Yocto/meta \                                                              &lt;br /&gt;
   &amp;quot;&lt;br /&gt;
 &lt;br /&gt;
to:&lt;br /&gt;
 &lt;br /&gt;
 &#039;&#039;&#039;BBLAYERS = &amp;quot; \&lt;br /&gt;
   /usr/local/src/Yocto/meta \                                                              &lt;br /&gt;
   /usr/local/src/Yocto/meta-intel/meta-fishriver \                                         &lt;br /&gt;
   &amp;quot;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You also need to make a few changes to your local.conf:&lt;br /&gt;
 &lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build$ &#039;&#039;&#039;emacs -nw conf/local.conf&#039;&#039;&#039;&lt;br /&gt;
 &lt;br /&gt;
Change:&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;MACHINE ??= &amp;quot;qemux86&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;MACHINE ??= &amp;quot;fishriver&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To make the build go faster, depending on how many CPUs you have change the following variables.  I&lt;br /&gt;
have 4 cores, with HT, so I&#039;m changing my values to 8:&lt;br /&gt;
&lt;br /&gt;
trz@elmorro:/usr/local/src/Yocto/build/conf$ &#039;&#039;&#039;emacs -nw local.conf&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;&#039;BB_NUMBER_THREADS = &amp;quot;8&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;&#039;PARALLEL_MAKE = &amp;quot;-j 8&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Since this is your first build, it won&#039;t matter - it will take awhile regardless, but for later builds, to avoid re-downloading all the packages again, you can point the DL_DIR variable in local conf to the downloads dir of a previous build.&lt;br /&gt;
&lt;br /&gt;
You&#039;re now ready to build your image, which make take several hours.  Continuing the session...:&lt;br /&gt;
&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build$ &#039;&#039;&#039;cd /usr/local/src/Yocto/&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto$ &#039;&#039;&#039;source poky-init-build-env&#039;&#039;&#039; &lt;br /&gt;
 &lt;br /&gt;
 ### Shell environment set up for Poky builds. ###&lt;br /&gt;
 &lt;br /&gt;
 You can now run &#039;bitbake &amp;lt;target&amp;gt;&#039;&lt;br /&gt;
 &lt;br /&gt;
 Common targets are:&lt;br /&gt;
     poky-image-minimal&lt;br /&gt;
     poky-image-sato&lt;br /&gt;
     meta-toolchain&lt;br /&gt;
     meta-toolchain-sdk&lt;br /&gt;
 &lt;br /&gt;
 You can also run generated qemu images with a command like &#039;poky-qemu qemux86&#039;&lt;br /&gt;
 &lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build$ &#039;&#039;&#039;bitbake poky-image-sato-live&#039;&#039;&#039;&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 NOTE: Running noexec task 5894 of 5900 (ID: 1037, /usr/local/src/Yocto/meta/recipes-kernel/linux/linux-yocto_git.bb, do_package_write)&lt;br /&gt;
 NOTE: package perl-5.12.2-r3: task do_package_write_ipk: Succeeded&lt;br /&gt;
 NOTE: Running noexec task 5895 of 5900 (ID: 1104, /usr/local/src/Yocto/meta/recipes-devtools/perl/perl_5.12.2.bb, do_package_write)&lt;br /&gt;
 NOTE: package eglibc-2.12-r13: task do_package_write_ipk: Succeeded&lt;br /&gt;
 NOTE: Running noexec task 5896 of 5900 (ID: 233, /usr/local/src/Yocto/meta/recipes-core/eglibc/eglibc_2.12.bb, do_package_write)&lt;br /&gt;
 NOTE: package poky-image-sato-1.0-r0: task do_rootfs: Succeeded&lt;br /&gt;
 NOTE: package poky-image-sato-live-1.0-r0: task do_package_write_rpm: Succeeded&lt;br /&gt;
 NOTE: Running noexec task 5897 of 5900 (ID: 10, /usr/local/src/Yocto/meta/recipes-sato/images/poky-image-sato-live.bb, do_package_write)&lt;br /&gt;
 NOTE: package syslinux-4.03-r0: task do_package_write_rpm: Succeeded&lt;br /&gt;
 NOTE: Running noexec task 5898 of 5900 (ID: 141, /usr/local/src/Yocto/meta/recipes-devtools/syslinux/syslinux_4.03.bb, do_package_write)&lt;br /&gt;
 NOTE: package poky-image-minimal-initramfs-1.0-r0: task do_rootfs: Succeeded&lt;br /&gt;
 NOTE: Running task 5899 of 5900 (ID: 9, /usr/local/src/Yocto/meta/recipes-sato/images/poky-image-sato-live.bb, do_bootimg)&lt;br /&gt;
 NOTE: package poky-image-sato-live-1.0-r0: task do_bootimg: Started&lt;br /&gt;
 NOTE: package poky-image-sato-live-1.0-r0: task do_bootimg: Succeeded&lt;br /&gt;
 NOTE: Running noexec task 5900 of 5900 (ID: 4, /usr/local/src/Yocto/meta/recipes-sato/images/poky-image-sato-live.bb, do_build)&lt;br /&gt;
 NOTE: Tasks Summary: Attempted 5900 tasks of which 544 didn&#039;t need to be rerun and 0 failed.&lt;br /&gt;
&lt;br /&gt;
The build succeeded - look in build/tmp/deploy/images for the bootable image:&lt;br /&gt;
&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build$ &#039;&#039;&#039;cd /usr/local/src/Yocto/build/tmp/deploy/images&#039;&#039;&#039;&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build/tmp/deploy/images$ &#039;&#039;&#039;ls -al&#039;&#039;&#039;&lt;br /&gt;
 total 1960464&lt;br /&gt;
 drwxr-xr-x   3 trz trz      4096 2011-04-05 00:03 .&lt;br /&gt;
 drwxr-xr-x   5 trz trz      4096 2011-04-04 22:36 ..&lt;br /&gt;
 -rw-r--r--   1 trz trz   3910368 2011-04-04 22:57 bzImage- 2.6.37+git1+51c761795b078bf3c80104ed6e73b3d995067384_1+86bd1278bbf11589d87639df17d2f5f42db97b60-r16-fishriver-20110405031037.bin&lt;br /&gt;
 lrwxrwxrwx   1 trz trz       136 2011-04-04 22:57 bzImage-fishriver.bin -&amp;gt; bzImage-2.6.37+git1+51c761795b078bf3c80104ed6e73b3d995067384_1+86bd1278bbf11589d87639df17d2f5f42db97b60-r16-fishriver-20110405031037.bin&lt;br /&gt;
 drwxr-xr-x 339 trz trz     12288 2011-04-04 22:36 licenses&lt;br /&gt;
 -rw-r--r--   1 trz trz  33630384 2011-04-04 22:57 modules-2.6.37.6-yocto-standard+-r16-fishriver.tgz&lt;br /&gt;
 -rwxr--r--   1 trz trz   4648687 2011-04-05 00:03 poky-image-minimal-initramfs-fishriver-20110405031037.rootfs.cpio.gz&lt;br /&gt;
 -rw-r--r--   1 trz trz  67108864 2011-04-05 00:03 poky-image-minimal-initramfs-fishriver-20110405031037.rootfs.ext3&lt;br /&gt;
 lrwxrwxrwx   1 trz trz        68 2011-04-05 00:03 poky-image-minimal-initramfs-fishriver.cpio.gz -&amp;gt; poky-image-minimal-initramfs-fishriver-20110405031037.rootfs.cpio.gz&lt;br /&gt;
 lrwxrwxrwx   1 trz trz        65 2011-04-05 00:03 poky-image-minimal-initramfs-fishriver.ext3 -&amp;gt; poky-image-minimal-initramfs-fishriver-20110405031037.rootfs.ext3&lt;br /&gt;
 -rwxr--r--   1 trz trz 161879951 2011-04-05 00:02 poky-image-sato-fishriver-20110405031037.rootfs.cpio.gz&lt;br /&gt;
 -rw-r--r--   1 trz trz 572852224 2011-04-05 00:00 poky-image-sato-fishriver-20110405031037.rootfs.ext3&lt;br /&gt;
 lrwxrwxrwx   1 trz trz        55 2011-04-05 00:02 poky-image-sato-fishriver.cpio.gz -&amp;gt; poky-image-sato-fishriver-20110405031037.rootfs.cpio.gz&lt;br /&gt;
 lrwxrwxrwx   1 trz trz        52 2011-04-05 00:00 poky-image-sato-fishriver.ext3 -&amp;gt; poky-image-sato-fishriver-20110405031037.rootfs.ext3&lt;br /&gt;
 -rw-r--r--   1 trz trz 581971968 2011-04-05 00:03 poky-image-sato-live-fishriver-20110405031037.hddimg&lt;br /&gt;
 -rw-r--r--   1 trz trz 581804032 2011-04-05 00:03 poky-image-sato-live-fishriver-20110405031037.iso&lt;br /&gt;
 lrwxrwxrwx   1 trz trz        52 2011-04-05 00:03 poky-image-sato-live-fishriver.hddimg -&amp;gt; poky-image-sato-live-fishriver-20110405031037.hddimg&lt;br /&gt;
 lrwxrwxrwx   1 trz trz        49 2011-04-05 00:03 poky-image-sato-live-fishriver.iso -&amp;gt; poky-image-sato-live-fishriver-20110405031037.iso&lt;br /&gt;
&lt;br /&gt;
Now dd the &#039;live&#039; image to a USB drive (/dev/sdf for me, yours will be different):&lt;br /&gt;
&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build/tmp/deploy/images$ &#039;&#039;&#039;sudo dd if=poky-image-sato-live-fishriver-20110405031037.hddimg of=/dev/sdf&#039;&#039;&#039;&lt;br /&gt;
 [sudo] password for trz: &lt;br /&gt;
 1136664+0 records in&lt;br /&gt;
 1136664+0 records out&lt;br /&gt;
 581971968 bytes (582 MB) copied, 5.15645 s, 113 MB/s&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build/tmp/deploy/images$ sync&lt;br /&gt;
 trz@elmorro:/usr/local/src/Yocto/build/tmp/deploy/images$ eject /dev/sdf&lt;br /&gt;
&lt;br /&gt;
The image should now be on the USB drive and ready to boot, enjoy!&lt;br /&gt;
&lt;br /&gt;
NOTE: if you have a problem with e.g. garbage characters, or other strange things, try doing this before you dd the image:&lt;br /&gt;
&lt;br /&gt;
 $ &#039;&#039;&#039;sudo dd if=/dev/zero of=/dev/sdf bs=1M count=1024&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Jconnolly</name></author>
	</entry>
</feed>