======Getting source code====== =====Downloads===== **notes:cubieboard2 and cubietruck use the same source code** *The tarball is list below ^ Package ^ Download ^ Features ^ | \\ \\ \\ cubieboard2_android_SDK_v1.03| \\ \\ \\ [[http://dl.cubieboard.org/software/ubuntuone/public/cubieboard/a20-sdk-from-aw/a20_android4.2.2_v1.3.tar.gz|download]]|1. Android 4.2.2 (including kernel source code)| |::: |::: |2. It is difficult to maintain too many images with different languages ,wifi chipsets, etc.| |::: |::: |3. Release the code, let more people be able to make their own enhancement| ^ Package ^ Download ^ Features ^ | \\ cubieboard2_android_SDK_v1.05| \\ [[http://dl.cubieboard.org/software/a20-cubieboard/android/CubieBoard2_SDK_20140508.tar.gz|download]]|1. Android 4.2.2 (including kernel source code)| |::: |::: |2. Release the code, let more people be able to make their own enhancement| ^ Package ^ Download ^ Features ^ | \\ cubieboard2_android_SDK_v1.09| \\ [[http://dl.cubieboard.org/software/a20-cubieboard/android/v2.0_A20_android_source.tar.gz|download]]|1. Android 4.2.2 (including kernel source code)| |::: |::: |2.It is the latest source code of cubieboard.| |::: |::: |3. Release the code, let more people be able to make their own enhancement| ===== Building environment for Android ===== Refer to the link:[[http://docs.cubieboard.org/tutorials/cb1/development/cubieboard/building_environment_for_android|Building environment for Android]] =====Compiling===== *After extract it, $ cd lichee/linux-3.4 $ make clean $ cp arch/arm/configs/cubieboard2_config .config //note:if you want to complie cubietruck, please copy cubietruck_config. $ cd .. $ ./build.sh -p sun7i_android $ cd ../android $ source build/envsetup.sh $ lunch //note:select sugar-cubieboard2 or sugar-cubietruck $ extract-bsp $ make -j8 =====Generating final image===== $ pack