Difference between revisions of "Yocto Project 1.8.1 - Poky 13.0.y "Fido""

From IGEP - ISEE Wiki

Jump to: navigation, search
(Deleted)
Line 1: Line 1:
= Introduction =
 
  
This article is for '''Yocto Project 1.8.1 - Poky 13.0.y Fido''' branch.<br> It is interesting read [[How to use the Yocto Project to develop Embedded Linux]] article previously.<br>
 
 
= Build Platform Setup Environment  =
 
 
{{Message/Information Message|message= '''The instructions below are only for  IGEP PROCESSOR BOARDS based on iMX6 processor.'''}}
 
 
In order to build an image with BSP support for a given release, you need to download the corresponding BSP repository.
 
 
<pre>git clone git://git.yoctoproject.org/poky</pre>
 
 
Enter to the poky directory,
 
 
<pre>cd poky</pre>
 
 
Change tree to commit ee88b51cf2853ab075c9bd2ef7cf4d65d1c96674.
 
 
<pre>git checkout ee88b51cf2853ab075c9bd2ef7cf4d65d1c96674 -b fido</pre>
 
 
Clone the meta-fsl-arm layer.
 
 
<pre>git clone -b fido https://github.com/Freescale/meta-fsl-arm.git</pre>
 
 
Clone the meta-openembedded layer.
 
 
<pre>git clone git://git.openembedded.org/meta-openembedded</pre>
 
 
Enter to the meta-openembedded directory and enter to the meta-oe directory.
 
 
<pre>cd meta-openembedded/
 
cd meta-oe/</pre>
 
 
Change tree to commit 10d3c8f85280a0bf867a8e4f84bcda81c290d28e.
 
 
<pre>git checkout 10d3c8f85280a0bf867a8e4f84bcda81c290d28e -b fido</pre>
 
 
Clone the meta-isee layer.
 
 
<pre>git clone git://git.isee.biz/pub/scm/meta-isee.git</pre>
 
 
Clone the meta-fsl-arm-extra layer.
 
 
<pre>git clone git://git.isee.biz/pub/scm/meta-fsl-arm-extra.git</pre>
 
 
 
<pre>source oe-init-build-env</pre>
 
 
Having done that, you can build a igep image by adding the location of the layers to 'bblayers.conf'
 
 
Add below line into .../poky/build/conf/bblayers.conf:
 
 
        &lt;path to&gt;/poky/meta-openembedded/meta-oe \
 
          /poky/meta-fsl-arm \
 
          /poky/meta-fsl-arm-extra \
 
          /poky/meta-isee \
 
 
To enable the isee layer, add the 'igep0046 MACHINE' to .../poky/build/conf/local.conf:
 
 
  MACHINE ?= "imx6q-igep0046"
 
 
Add below lines in .../poky/build/conf/local.conf to accept the license (http://freescale.github.io/doc/release-notes/1.8/#license):
 
 
<pre>ACCEPT_FSL_EULA = "1"
 
LICENSE_FLAGS_WHITELIST = "commercial license"</pre>
 
 
You need the below packages for bitbake:
 
 
<pre>sudo apt-get install texinfo
 
sudo apt-get install libsdl1.2-dev </pre>
 
 
You should then be able to build a image as such:
 
 
<pre>bitbake isee-image-dev</pre>
 
 
At the end of a successful build, you should have an image that you could use for boot device from flash or a micro-SD card or you can create the installable firmware using:
 
 
<pre> bitbake do-release-firmware </pre>
 

Revision as of 13:34, 16 May 2016