Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rock2/Android"

(Created page with "Rock2 series support android 4.4 and later version. ==Getting Started== ==FAQs== ==Development== Please refer Rock/Android_Build#Initializing_a_Build_Environment to se...")
 
Line 7: Line 7:
  
 
==Development==
 
==Development==
Please refer [[Rock/Android_Build#Initializing_a_Build_Environment]] to set up the building environment if you haven't set it already.
+
check [[Rock2/Android/develop | Rock2 series android development page]]
 
+
'''Get the source code
+
'''
+
  Download here [http://dl.radxa.com/rock2/source/radxa_rock2_square_android4.4.2_sdk_20150324.tgz radxa_rock2_square_android4.4.2_sdk_20150324.tgz]
+
 
+
'''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 12
+
    make -j 8
+
 
+
''Generate the image''
+
 
+
    ./mkimage.sh ota
+
 
+
you will get boot.img recovery.img system.img under rockdev/Image, and [[rock/update.img | update.img]] ( e.g. rock2_android_kitkat_15-03-23_141904.img)under rockdev
+

Revision as of 09:50, 6 May 2015

Rock2 series support android 4.4 and later version.

Getting Started

FAQs

Development

check Rock2 series android development page