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



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

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

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

   $ pack

Important to Know

The images generated by the SDK are not suitable for every OS platform's Livesuit. Because the binary images (fed_nand.axf) from the SDK are buggy, we must choose a target platform of fed-nand.axf before running the 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 tested it on Mac OS.

tutorials/cb2/development/building_your_own_android_image.1387781419.txt.gz · Last modified: 2014/06/12 10:04 (external edit)