Difference between revisions of "Rock2/square bb"
< Rock2
PeiYao Wang (Talk | contribs) (→Generate the image) |
|||
Line 17: | Line 17: | ||
* Headphone detect pin is not connected | * Headphone detect pin is not connected | ||
===Beta=== | ===Beta=== | ||
− | |||
==Build Android== | ==Build Android== | ||
− | + | 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 [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 | cd u-boot | ||
make rk3288_defconfig | make rk3288_defconfig | ||
make -j4 | make -j4 | ||
− | + | '''Build the kernel''' | |
+ | |||
cd kernel | cd kernel | ||
make radxa_rock2_square_defconfig | make radxa_rock2_square_defconfig | ||
make radxa-rock2-square.img -j 16 | make radxa-rock2-square.img -j 16 | ||
− | + | '''Build android source code''' | |
+ | |||
source build/envsetup.sh | source build/envsetup.sh | ||
lunch 12 | lunch 12 | ||
make -j 8 | make -j 8 | ||
− | + | ''Generate the image'' | |
+ | |||
./mkimage.sh ota | ./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 10:02, 24 March 2015
Status
March 3, 2014: Currently rock2 square base board is at alpha stage, We now have around 20 full functional boards with some manually fixes. 100pcs beta boards are already put into production, we are going to have them back soon.
Hardware revision
Alpha
First revision, mostly working, android and debian server is booting fine. Known issues are:
- HDMI detect ping(HDP) is not connected
- Headphone detect pin is not connected
Beta
Build Android
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_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 update.img ( e.g. rock2_android_kitkat_15-03-23_141904.img)under rockdev