User Tools

Site Tools


tutorials:cb2:development:building_your_own_android_image

This is an old revision of the document!


Getting source code

Downloads

  • The tarball is list below
Package Download Features
cubieboard2_android_SDK_v1.03.tgzdownload1. 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

Building

Compiling

  • After extract it,
   $ cd lichee
   $ ./build.sh -p sun7i_android
   $ cd ../android42
   $ source build/envsetup.sh
   $ lunch   (select sugar-cubieboard2)
   $ extract-bsp
   $ make -j4

Generating final image

   $ ack

Important to Know

The images generated by the SDK are not suitable for all kind of OS platform's Livesuit. Because the binary images(fed_nand.axf) from the SDK is buggy, We must choose a target platform of fed-nand.axf before running pack command.

  • Making a livesuit image for Windows

Replace lichee/tools/pack/chips/sun7i/eFex/usb/fed_nand.axf with lichee/tools/pack/chips/sun7i/eFex/usb/fed_nand-windows.axf, then run

   #remember to source & lunch cubieboard2, so that the "pack" command will work
   $pack
  • Making a livesuit image for Linux

Replace lichee/tools/pack/chips/sun7i/eFex/usb/fed_nand.axf with lichee/tools/pack/chips/sun7i/eFex/usb/fed_nand-linux.axf, then run

   $pack

I have not test it on Mac OS

tutorials/cb2/development/building_your_own_android_image.1380897693.txt.gz · Last modified: 2013/12/23 14:50 (external edit)