Notice: Radxa Wiki is no longer maintained and content is for reference only. Please visit the latest Radxa Documentation site:
docs.radxa.com
Difference between revisions of "Rock2/Android/develop"
PeiYao Wang (Talk | contribs) |
PeiYao Wang (Talk | contribs) |
||
| Line 23: | Line 23: | ||
source build/envsetup.sh | source build/envsetup.sh | ||
| − | lunch | + | lunch rk3288-eng |
make -j 8 | make -j 8 | ||
Revision as of 01:55, 24 September 2015
Development
Please refer Rock/Android_Build#Initializing_a_Build_Environment to set up the building environment if you haven't set it already.
Get the source code
Download here radxa_rock2_square_android4.4.2_sdk.tar.xz
Build u-boot
cd u-boot
make rk3288_defconfig
make -j4
Build the kernel
cd kernel
make radxa_rock2_square_defconfig
make radxa-rock2-square.img -j 16
Build android source code
source build/envsetup.sh
lunch rk3288-eng
make -j 8
Generate the image
./mkimage.sh ota
you will get boot.img recovery.img system.img under rockdev/Image, and update.img ( e.g. rock2_android_kitkat_15-03-23_141904.img)under rockdev
