4,199
edits
Changes
From IGEP - ISEE Wiki
m
Created page with '= Introduction = This article is for '''Arago Project 1.8 - Poky 13.0.y Fido''' branch.<br> All the steps are with Ubuntu 14.04.4 LTS, in others is possible you need change a li…'
= Introduction =
This article is for '''Arago Project 1.8 - Poky 13.0.y Fido''' branch.<br>
All the steps are with Ubuntu 14.04.4 LTS, in others is possible you need change a little things.<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 AM335x processor.'''}}
Install the following dependencies for Ubuntu 12.04 and Ubuntu 14.04 (64b version)
<pre>sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev
sudo apt-get install autoconf libtool libglib2.0-dev libarchive-dev
sudo apt-get install python-git xterm sed cvs subversion coreutils texi2html
sudo apt-get install docbook-utils python-pysqlite2 help2man make gcc g++ desktop-file-utils libgl1-mesa-dev
sudo apt-get install libglu1-mesa-dev mercurial automake groff curl lzop asciidoc u-boot-tools dos2unix mtd-utils</pre>
= Install toolchain =
<pre>wget --no-check-certificate http://releases.linaro.org/archive/15.05/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.tar.xz
sudo tar -xvf gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.tar.xz -C /opt </pre>
= Set Arago =
In order to build an image with BSP support for a given release, you need to follow the next steps.
Configure terminal as dash:
<pre> sudo dpkg-reconfigure dash
(Select "no" when prompted)</pre>
Download tisdk:
<pre>git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
cd tisdk</pre>
Download layer config:
<pre>wget http://downloads.isee.biz/pub/releases/oe-layertool-setup_config/igep-sdk-02.00.00.00-config.txt </pre>
Set layers:
<pre>./oe-layertool-setup.sh -f igep-sdk-02.00.00.00-config.txt </pre>
Set ENV variables:
<pre>cd build
. conf/setenv
export PATH=/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin:$PATH
</pre>
= Compile image =
To compile image use the following command:
<pre> MACHINE=<MACHINE> bitbake <IMAGE> </pre>
Where <MACHINE> could be:
* igep0033-RB11
* igep0033-RB30
* igep0034
* igep0034-lite
ISEE <IMAGE> supported are:
* isee-ti-image-dev: A development image based on tisdk-rootfs-image recipe. Suitable to test all TI AM335x capabilities
* demo-ti-image-minimal: A minimal demo image based on arago-console-image recipe. Suitable to be flashed into 128 MB internnal memory
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 (demo-ti-image-minimal) using:
<pre>MACHINE=<MACHINE> bitbake do-release-firmware</pre>
Generate Poky SDK compiler for isee-ti-image-dev and demo-ti-image-minimal:
<pre>MACHINE=<MACHINE> bitbake meta-toolchain-arago-tisdk</pre>
This article is for '''Arago Project 1.8 - Poky 13.0.y Fido''' branch.<br>
All the steps are with Ubuntu 14.04.4 LTS, in others is possible you need change a little things.<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 AM335x processor.'''}}
Install the following dependencies for Ubuntu 12.04 and Ubuntu 14.04 (64b version)
<pre>sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev
sudo apt-get install autoconf libtool libglib2.0-dev libarchive-dev
sudo apt-get install python-git xterm sed cvs subversion coreutils texi2html
sudo apt-get install docbook-utils python-pysqlite2 help2man make gcc g++ desktop-file-utils libgl1-mesa-dev
sudo apt-get install libglu1-mesa-dev mercurial automake groff curl lzop asciidoc u-boot-tools dos2unix mtd-utils</pre>
= Install toolchain =
<pre>wget --no-check-certificate http://releases.linaro.org/archive/15.05/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.tar.xz
sudo tar -xvf gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf.tar.xz -C /opt </pre>
= Set Arago =
In order to build an image with BSP support for a given release, you need to follow the next steps.
Configure terminal as dash:
<pre> sudo dpkg-reconfigure dash
(Select "no" when prompted)</pre>
Download tisdk:
<pre>git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
cd tisdk</pre>
Download layer config:
<pre>wget http://downloads.isee.biz/pub/releases/oe-layertool-setup_config/igep-sdk-02.00.00.00-config.txt </pre>
Set layers:
<pre>./oe-layertool-setup.sh -f igep-sdk-02.00.00.00-config.txt </pre>
Set ENV variables:
<pre>cd build
. conf/setenv
export PATH=/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin:$PATH
</pre>
= Compile image =
To compile image use the following command:
<pre> MACHINE=<MACHINE> bitbake <IMAGE> </pre>
Where <MACHINE> could be:
* igep0033-RB11
* igep0033-RB30
* igep0034
* igep0034-lite
ISEE <IMAGE> supported are:
* isee-ti-image-dev: A development image based on tisdk-rootfs-image recipe. Suitable to test all TI AM335x capabilities
* demo-ti-image-minimal: A minimal demo image based on arago-console-image recipe. Suitable to be flashed into 128 MB internnal memory
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 (demo-ti-image-minimal) using:
<pre>MACHINE=<MACHINE> bitbake do-release-firmware</pre>
Generate Poky SDK compiler for isee-ti-image-dev and demo-ti-image-minimal:
<pre>MACHINE=<MACHINE> bitbake meta-toolchain-arago-tisdk</pre>