Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

Yocto Project 1.2 - Poky 7.0.y denzil

300 bytes added, 09:49, 15 October 2015
m
Build Platform Setup Environment
In order to build an image with BSP support for a given release, you need to download the corresponding BSP repository. <br> At this time latest stable branch for IGEP devices is [http://git.isee.biz/?p=pub/scm/poky.git;a=shortlog;h=refs/heads/denzil denzil].
$ <pre>git clone -b denzil git://git.isee.biz/pub/scm/poky.git</pre>
Enter to the poky directory,
$ <pre>cd poky</pre>
and clone the [http://git.isee.biz/?p=pub/scm/meta-isee.git;a=shortlog;h=refs/heads/denzil meta-isee] layer.
$ <pre>git clone -b denzil git://git.isee.biz/pub/scm/meta-isee.git</pre>
$ <pre>source oe-init-build-env</pre>
Having done that, and assuming you downloaded the BSP contents at the top-level of your yocto build tree, you can build a igep image by adding the location of the 'meta-isee' layer to 'bblayers.conf'
You should then be able to build a image as such:
$ <pre>bitbake demo-image-sato</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>
= Extending the available packages with others layers =
You can append more layers to your environment in order to build more packages, in following wxample you'll download the meta-openembedded layer. In your poky directory
$ <pre>git clone -b denzil git://git.openembedded.org/meta-openembedded</pre>
Add the layer into build/conf/bblayers.conf:
Now you can build any of the new packages added, for example:
$ <pre>bitbake postgresql</pre>
= Create your own Linux image =
So, you could install ubuntu distro in your personal computer and then you could install development packages (see [http://www.yoctoproject.org/docs/1.4.2/ref-manual/ref-manual.html#required-packages-for-the-host-development-system yocto documentation])<br>
<pre>$ sudo apt-get install gawk sed wget subversion git-core diffstat coreutils \ unzip texi2html texinfo libsdl1.2-dev docbook-utils fop gawk \ python-pysqlite2 diffstat make gcc build-essential chrpath make xsltproc docbook\ g++ desktop-file-utils fop chrpath libgl1-mesa-dev libglu1-mesa-dev \ autoconf automake groff libtool xterm texi2html subversionlibxml-parser-perl
</pre>
After, you could follow above steps on this article
== Ubuntu 13.04 ==
Remove the local build of git-native
<pre>bitbake git-native -c cleanall</pre>
and assume as provided adding the following line to conf/local.conf
Remove the local build of make-native
<pre>bitbake make-native -c cleanall</pre>
and assume as provided adding the following line to conf/local.conf
4,199
edits