User Tools

Site Tools


tutorials:ct1:installation:cb3_a20-compiling_android_image_for_cubietruck

Cb3 A20-compiling Android Image For Cubietruck

About this Article

Building environment for Android

Refer to the link:Building environment for Android

Download the source code

$mkdir cubietruck_android && cd cubietruck_android
$wget http://dl.cubieboard.org/software/a20-cubieboard/android/v2.0_A20_android_source.tar.gz
$tar -zxvf v2.0_A20_android_source.tar.gz

Compiling image

After get the source code,you could use common to build it as follow:

Build Linux kernel

$cd lichee/linux-3.4/
$cp arch/arm/configs/cubietruck_defconfig .config
$./build.sh -p sun7i_android 

Start Building:

Success Building:

Build Android image

$cd ../android
$source build/envsetup.sh
$lunch 

$16     //note:select sugar_cubietruck-eng
$extract-bsp
$make -j8

Finish building:

Pack Final image:

$pack

Pack success:

Install image

The final image is at /lichee/tools/pack/sun7i_android_sugar-cubietruck.img

You can use Livesuit to install it

tutorials/ct1/installation/cb3_a20-compiling_android_image_for_cubietruck.txt · Last modified: 2014/09/19 17:56 by parker