Arago Project 1.8 - Poky 13.0.y "Fido"
From IGEP - ISEE Wiki
Contents
Introduction
This article is for Arago Project 1.8 - Poky 13.0.y Fido branch.
All the steps are with Ubuntu 14.04.4 LTS, in others is possible you need change a little things.
It is interesting read How to use the Yocto Project to develop Embedded Linux article previously.
Build Platform Setup Environment
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)
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
Install toolchain
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
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:
sudo dpkg-reconfigure dash (Select "no" when prompted)
Download tisdk:
git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk cd tisdk
Download layer config:
wget http://downloads.isee.biz/pub/releases/oe-layertool-setup_config/igep-sdk-02.00.00.00-config.txt
Set layers:
./oe-layertool-setup.sh -f igep-sdk-02.00.00.00-config.txt
Set ENV variables:
cd build . conf/setenv export PATH=/opt/gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin:$PATH
Compile image
To compile image use the following command:
MACHINE=<MACHINE> bitbake <IMAGE>
Where <MACHINE> could be:
- igep0033-RB11
- igep0033-RB30
- igep0034
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.
- isee-ti-image-test: A minimal image intended to be used for igep_qa and flash filesystems to internal NAND Flash 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:
MACHINE=<MACHINE> bitbake do-release-firmware
Generate Poky SDK compiler for isee-ti-image-dev and demo-ti-image-minimal:
MACHINE=<MACHINE> bitbake meta-toolchain-arago-tisdk