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

Logo

开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!

更多推荐