Rock/Android Build
Contents
Initializing a Build Environment
- Follow the instructions from Google of setting up the build environment. Recommend build machine is Ubuntu 12.04 64bit
Get the source code
git clone -b radxa-dev http://git.linux-rockchip.org/radxa/radxa_rock_android.git cd radxa_rock_android
Note: you need access to the private git server, send mail to support@radxa.com for account.
Build the kernel
export ARCH=arm cd kernel make rk3188_radxa_rock_defconfig make kernel.img #kernel.img is the normal kernel image with rockchip crc cd ..
Build android source code
source build/envsetup.sh lunch rk31sdk-eng make -j8
Generate the image
./mkimage.sh
you will get kernel.img boot.img recovery.img system.img under rockdev/Image