Toolchain Setup; Build Instructions; Build Preparation; Building An Android Kernel - Advantech RSB-4221 User Manual

Risc 3.5inch sbc based on ti sitara am3358 cortex a8 1ghz high performance processor
Hide thumbs Also See for RSB-4221:
Table of Contents

Advertisement

4.3.4

Toolchain Setup

Before building the android system, you need setup the toolchain.
Android toolchain is under android/prebuilds. Please refer to 3.3.2
Setup the toolchain path to point to arm-eabi- tools in android/prebuilds/gcc/linux-
x86/arm/arm-eabi-4.6/bin,the command is:
root@tylor-Zhaoyang-K29:~# export PATH=$ANDROID_DIR/android/prebuilts/gcc/
linux-x86/arm/arm-eabi-4.6/bin:$PATH
4.4

Build Instructions

1.
Open one terminal console and change directory to BSP scripts Folder.
2.
Perform one of following commands:
4.4.1

Build Preparation

Before invoke other script, you should invoke following script:
root@tylor-Zhaoyang-K29:~# make TARGET_PRODUCT=<product name>
OMAPES=4.x -j<N> sdcard_build
where<product name> is:
•rsb4221 for rsb-4221 board
Note:*<N> should be twice the number of processors on your host machine. For
example, a dual core machine would use -j4.
4.4.2

Building an Android Kernel

1.
Open the terminal console and change directory to BSP scripts folder
2.
Perform the following command:
root@tylor-Zhaoyang-K29:~# ./mk_bootimg.sh <product name>
where<product name> is:
•rsb4221 for rsb-4221 board
3.
You will get an android kernel image file named boot.img.
4.4.3

Building an Android System Image

1.
Open terminal console and change directory to BSP scripts folder
2.
Perform the following command:
root@tylor-Zhaoyang-K29:~# ./mk_system.sh <product name>
where<product name> is:
•rsb4221 for rsb-4221 board
3.
You will get an android kernel image file named system.img.
4.4.4

Building an Android Recovery Image

1.
Open terminal console and change directory to BSP scripts folder
2.
Perform the following command:
root@tylor-Zhaoyang-K29:~# ./mk_recovery.sh <product name>
where<product name> is:
•rsb4221 for rsb-4221 board
3.
You will get an android kernel image file named recovery.img.
RSB-4221 User Manual
40

Advertisement

Table of Contents
loading

Table of Contents