Android KitKat support for CuBox-i and HummingBoard
Introduction
This is initial KitKat repository to support CuBox-i and HummingBoard.
The main changes from the beta-2 release are -
Android KitKat 4.4.2 based
Uses Freescale kk-4.4.2-1.0.0-ga release
Uses Freescale LK 3.0.35
Build instructions
The instructions are mainly tested on Ubuntu 12.04 build machine (64bit)
chmod a+x ~/bin/repo
mkdir myandroid
cd myandroid
~/bin/repo sync
source < git tree location >/android-imx6-kitkat/and_patch.sh
Now you should have the c_patch function available
c_patch < git tree location >/android-imx6-kitkat/ imx_kk4.4.2_1.0.0-ga
imx_kk4.4.2_1.0.0-ga is the name of the branches which will be automatically created
If everything OK then you should be getting the following message -
Success: Now you can build the Android code from FSL i.MX6 platform
git clone git://git.freescale.com/imx/linux-2.6-imx.git kernel_imx
cd kernel_imx; git checkout kk4.4.2_1.0.0-ga
Alternative, until Freescale updates their tree tags, the kernel can be downloaded from -
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tag/?id=kk4.4.2_1.0.0-ga
Manually patch kernel_imx -
cd kernel_imx
git am < git tree location >/android-imx6-kitkat/kernel_imx/3.0.35/*
cd ..
11. git clone https://github.com/SolidRun/u-boot-imx6 bootable/bootloader/uboot-imx
12. source build/envsetup.sh
13. Config Android build configuration by 'lunch cuboxi-eng', 'lunch cuboxi-user' or 'choosecombo'
14. make
Flashing instructions
Insert a micro SD into your Linux PC
Determine the block device name of your micro SD (for instance /dev/sdc)
Make sure all partitions of your micro SD are unmounted
In the Android sources tree, run the following command (replace /dev/sdX with your SD card block device)-
sudo < git tree location >/tools/create-sdcard.sh -f /dev/sdX