This section covers form the setting of the development environment to the preparation for the build
process. Development Environment discusses that the requirements and adjustments for the development
environment. The section of SGX and DSP integration explains how to obtains the mandatory files and
update the kernel of rowboat-eclair-dsp.

Development Environment


Ubuntu 10.04 (32 bit version) is used here for building the development environment. rowboat project
recommends 8.x or 9.04. However, uboot-mkimage is only available for Ubuntu 8.10 or later. If Ubuntu 8.04
is used, build uboot-mkimage from its source package and install it. Uboot-mkimage is a utility, which
creates and encloses a compressed uImage Linux kernel image with header information, CRC32 checksum,
and others. This utility is used with the U-Boot bootloaer.

Installing Mandatory Packages

Installing the mandatory packages for building the development environment.

$ sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev minicom tftpd uboot-mkimage

To install DSP stack integration, expect is required for DSP stack instillation of TI.

$ sudo apt-get install expect


Since sun-java5-jdk is not supported for Ubuntu 9.10 or newer, add the old repository in /etc/apt/sources.list, temporarily.

$ sudo vi /etc/apt/sources.list
 deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse
 deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
$ sudo apt-get update
$ sudo apt-get install sun-java5-jdk

After installation is completed, the added repository should be deleted.

SGX and DSP integration

Obtaining rowboat source

This follows the direction listed in a wiki of rowboat.

$ mkdir ~/bin
$ curl http://android.git.kernel.org/repo >~/bin/repo
$ chmod a+x ~/bin/repo

There are two ways to make repo use. One is to execute PATH = ~/bin:$PATH, and the other is to logout ounce, then
login again. repo can be worked as supposedly.

At this time, the targeted branch is rowboat-eclair-dsp. In rowboat, the newly created directory is named
rowboat-android, but in this section, the directory is called rowboat-eclair-dsp.

$ mkdir ~/rowboat-eclair-dsp
$ cd ~/rowboat-eclair-dsp
$ repo init -u git://gitorious.org/rowboat/manifest.git -m rowboat-eclair-dsp.xml

After manifest.xml and other files are downloaded from the git repository to ./repo, the login name and e-mail address are
asked. Input user's login name and e-mail address. Then confirm the login name and e-mail address by typing [y].

Your Name  [login name]: BeatCraft
Your Email [e-mail address]: labs.beatcraft@gmail.com

Your Identity is: BeatCraft <labs.beatcraft@gmail.com>
is this correct [y/n]? y

repo initialized in /home/beat/rowboat-eclair-dsp

The initialization is completed, then, start downloading.

$ repo sync

It takes long time to download the source of rowboat from gitrious.org.

Obtaining Android GSX SDK

Acquire TI's Android SGX SDK.

$ cd rowboat-eclair-dsp
$ git clone git://gitorious.org/rowboat/ti_android_sgx_sdk.git


The details of the build process of DSP are listed at DSP section of rowboart. This section follows the sections after Building
and Testing DSP stack.

Obtaining source

To download codec_engine_2_24_01.tar.gz and c64cplus_mp3dec_1_31_001_production.bin, registration or a my.TI account is
required. For the rest of the source files, prepare, a script, calls /external/ti-dsp/get_tidsp.sh for download, and the files are
downloaded automatically. However, in this section, the rest of the source files is individually downloaded and stored into

  • codec_engine_2_24_01.tar.gz
    Login with my.TI account, the download link is easily found. To click the link, open up the window of the license agreement.
    If it is accepted, the download starts immediately. To download the file, IE or Firefox is highly recommended. The license
    agreement window works with certain types of JavaScript, and Chrome browser does not manage such JavaScript. The
    license agreement window may not open as Chrome browser is used.

  • c64xplus_mp3dec_1_31_001_production.bin
    Login with my.TI account, name and other information are asked. Submit the required information, and the download URL is sent
    by email within few minutes. Please download from there.

Following files are downloaded directly from the links.

$ cd rowboat-eclair-dsp/external/ti-dsp
$ svn checkout -r 506 --username anonymous --password "" -q https://gstreamer.ti.com/svn/gstreamer_ti/trunk/gstreamer_ti

Executing prepare

Run prepare as it is shown below. DSP stack which will become a part of Android, is temporarily installed in /rowboat-eclair-dsp/external/ti-dsp,
and a patch for building Android is added.

$ cd rowboat-eclair-dsp
$ ./prepare

Update kernel

The kernel of rowboat-eclair-dsp is needed to be updated. The default kernel version of rowboat-eclair-dsp branch is 2.6.29,
and the kernel does not work with Android SGX SDK, and the build process does not succeed. Even though the executing
process of prepare is completed without any errors, which means that this is ready for building Android with DSP, the kernel
still cannot handle Android SGX SDK. As far as rowboat-eclair-dsp's kernel version is 2.6.29, the build process fails. This is how
to update the kernel version from 2.6.29 to 2.6.32.

$ cd rowboat-eclair-dsp/kernel
$ git checkout -b rowboat-eclair-2.6.32 rowboat/rowboat-eclair-2.6.32

Continue to bc10/rowboat-eclair-dsp-2...


Front page   Edit Freeze Diff Backup Upload Copy Rename Reload   New List of pages Search Recent changes   RSS of recent changes
Last-modified: 2010-07-30 (Fri) 11:31:18 (5051d)