[[bc10]]~
[[bc10-router]]~

#contents

* bc10-router/arago-project(danny)/Ubuntu12.04LTS [#seaed967]
>
This article is a revised version of the article of [[bc10-router/arago-project]].~
~
The two contents are revised from the original article.~
-Host OS: The version of host OS is updated from Ubuntu10.04LTS (Desktop, 64bit version) to Ubuntu12.04LTS (Desktop, 64bit version).~
~
- Arago Project: The version of arago-project is updated to the newer version (from [[outdated>http://arago-project.org/wiki/index.php/Crosscompiling_Outside_of_Arago]] to [[danny>http://arago-project.org/wiki/index.php/Main_Page]]) Arago-project (danny) uses the meta package system.~

>
This explains how to create the building environment and how to install to bc10.~

>
Caution 1: In the article of [[bc10-router/arago-project]], Ubuntu 10.04LTS (Desktop 64bit version) is used as the host OS. However, the support for Ubuntu 10.04LTS (Desktop 64bit version) has been ended in April 2013 as EOL. This is the reason why this article uses Ubuntu 12.04LTS (Desktop 64bit version) as the host OS. Also, Ubuntu 10.04LTS (Server version) and Ubuntu 12.04LTS will become EOL in April, 2014 and April, 2017, respectively.~
~
Caution 2: This article does not guarantee for any updated host OS and arago-project in the future. This article has tested only specific host OS and arago-project.~
~
* Setting Up the build environment. [#iebccc8d]
>
This article assumes that the host OS, Ubuntu 12.04LTS (Desktop, 64bit version) has already installed on the PC and that there is 60GB of free space on its hard drive.~
~ These creating process of the build environment and build process of arago-project are referred to  the web page of arago-project, [[Setting Up Build Environment>http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment]]. Then, the image is created.~

** Major changes in this article [#x3c70b4b]
>
Some parts of this article have been changed from the original, [[Setting UP Build Environment>http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment]]. The list of revised parts is shown below.~
- danny branch of Yocto Project is used in stead of dylan branch~
- To specify the machine, bitbake command is modified to '''MACHINE =beagleboard''' from '''MACHINE = am335x-evm'''~

>
Caution 3: danny branch and dylan branch indicate the versions of [[Yocto Project>https://www.yoctoproject.org/]]. The reason why this article uses danny branch is that danny branch is more stable than dylan branch. Fewer source files in danny branch have been updated than in dylan branch, and this contributes the stability of danny branch.

** Updating to Ubuntu 12.04LTS and installing additional packages [#md15ae9e]
>
To build the building environment, update Ubuntu 12.04LTS and install the additional packages.~
 $ sudo apt-get dist-upgrade
 $ sudo apt-get install linux-image-generic-lts-saucy linux-headers-generic-lts-saucy
Installing the packages, which are necessary for building arago-project.~
Change the default shell form dash to bash.~
 $ sudo apt-get install git build-essential diffstat texinfo gawk chrpath
 $ sudo apt-get install ia32-libs
 $ sudo dpkg-reconfigure dash
Please install libc6-dev. This package is not mentioned in [[Setting Up Build Environment>http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment]]. Without libc6-dev-i386, an error occurs during the build process. To prevent this happening, libc6-dev is needed to be installed.
 $ sudo apt-get install libc6-dev libc6-dev-i386
Install the packages shown bellow. These packages are not requirements, depending on your use  environment and preference.~
 $ sudo apt-get install vim lv nautilus-open-terminal
 $ sudo apt-get install ssh

** Setting up the build environment [#y57f9fe8]
>
To build arago-project, obtain Toolchain, Linaro 2013.03 and extract it.~
 $ mkdir ~/src
 $ cd ~/src
 $ wget --no-check-certificate https://launchpad.net/linaro-toolchain-binaries/trunk/2013.03/+download/gcc-linarolinux-gnueabihf-4.7-2013.03-20130313_linux.tar.bz2
 $ tar -jxvf gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.tar.bz2 -C $HOME
Obtain  the file of arago-project, and configure for danny branch by config.~
After the environment variable is setup, core-image-minimal, which is the minimum image of arago-project, is built.~
 $ cd ~/
 $ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
 $ cd tisdk
 $ ./oe-layertool-setup.sh -f configs/arago-danny-config.txt 
To execute the command line shown above, the files and directories, which are needed for the building process, are created. The details are shown in the log shown below.~
 ...<snip>...
 Resolving deltas: 100% (19437/19437), done.
 Already on 'master'
 Already up-to-date.
 Note: checking out '1.17.0'.
 ...<snip>...
 For example:
     MACHINE=xxxxx bitbake <target>
 
 Common targets are:
     core-image-minimal
     core-image-sato
     meta-toolchain
     meta-toolchain-sdk
     adt-installer
     meta-ide-support

 $ cd build/
 $ . conf/setenv 
 $ export PATH=$HOME/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin:$PATH


Front page   New List of pages Search Recent changes   RSS of recent changes