bc10-router

About arago-project

arago-project is a set of layers for OpenEmbedded. This set of layers allows to integrate, to build, and to test framework and infrastructure. This project is maintained by TI. This is used for creating Linux SDK, which runs TI's evaluation boards. This article introduces how to create the build environment, which let it run on bc10, and shows the build process step by step.

About the Process of How to Create the Build Environment

The host that uses for the build environment is Ubuntu 10.04 (64bit). The added packages and modified configuration, and how to create the build environment are explained later.

Adding extra package

These packages listed below are added for creating the build environment.

Code and Command>

Changing from dash to bash

shell that Ubuntu 10.04 uses is dash, and cases an error as bitbake is executed. To avoid the error happening, shell of Ubuntu 10.04 is changed from dash to bash. Changing the shell, please apply the command below.

Code and Command> Executing the command, it asks to install dash. Then, please select NO. This means that bash is specified for shell of this Ubuntu.

Creating the build environment

This part explains how to create the arago-project build environment for bc10-router.

Up to setting up of Toolchain, the configuration process is identical to the process listed at the web page. (The URL is shown below.) The process is roughly three steps. The first step is to obtain the files, which require for creating the arago-projectenvironment. Then, the second and third steps are to edit the files and to set up the environment variables, respectively.

http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment

Code and Command>
Copy the configuration file and samples.

Code and Command>
Modify the copied local.conf. In the file, the specification of MACHINE section is changed to beagleboard.

Code and Command>
Change the specification of TOOLCHAIN_BRAND is changed to arago.

Code and Command>

The parallel make and number of threads are set to 2. (This number is highly depending on your working environment. The number is specified based upon your working environment.)

Code and Command>
Configure the environment setting of arago-project .

Code and Command>

Installing Toolchain

Toolchain used here is the one listed at TI's web page. Do NOT use the Toolchain of arago-project. If you follow the direction to build the arago-project environment, which is listed at the web pages, you will encounter a build error of sysvinit. This is due to select and to use CodeSourcery for Toolchain of arago-project.
http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment

There is a patch for avoiding this error. However, at the ML of arago-project, the arago-project reported to have never used CodeSourcery, and the arago-project expressed concerns for other build errors. Therefore, to prevent errors to occur, use TI's Toolchain, instead of Toolchain of arago-project.
This article uses TI's Toolchain which is developed for BeagleBoard project. The name of Toolchain,is ti-sdk-beagleboard-0.5.05.01.00, and this is available at TI's web site.
http://software-dl.ti.com/dsps/dsps_public_sw/am_bu/sdk/BeagleBoardSDK/latest/index_FDS.html

To download the Toolchain from the URL above to any directory, the install the Toolchain. If you do not change the targeted directory, BeagleBoard SDK will be installed at ${HOME}/ti-sdk-beagleboard-0.5.0.5.01.00, and it will be extracted under the directory of ${HOME}/ti-sdk-beagleboard-0.5.0.5.01.00/linux-devkit/.

Code and Command>
To install it for the console, add the option of --made console, and execute it.

<Code and Command>


PATH of the newly installed Toolchain is added to bashrc file.

Code and Command>

Setting up the additional packages for bc10-router

The additional packages listed below. These packages are required for the features of bc10-router but not installed by the default setting of arago-console-image.

Code and Command>
Also, to use bitbake command, you can list out all packages, which will be installed. The listt of installed packages is quit long, so the output is redirected to list file.

Code and Command>


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