|
|
Line 3: |
Line 3: |
| Rock2 Square is a square base board for the [[Rock2 som]] for the radxa community. It aims at small size, low cost, full function. | | Rock2 Square is a square base board for the [[Rock2 som]] for the radxa community. It aims at small size, low cost, full function. |
| </div> | | </div> |
− | <div class="thumbnail">[[File:Rock2_square_bb.png]]</div> | + | <div class="thumbnail">[[File:Rock2_square_bb_3d.png]]</div> |
| </div> | | </div> |
| + | |
| + | __TOC__ |
| | | |
| <div class="column clearfix"></div> | | <div class="column clearfix"></div> |
− |
| |
− | == Status ==
| |
− | '''March 3, 2015:''' 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.
| |
− |
| |
− | '''March 24, 2015:''' We now have around 90 beta boards ready to ship after full testing.
| |
− |
| |
− | == Hardware ==
| |
− |
| |
− | === Download===
| |
− | * [http://dl.radxa.com/rock2/docs/hw/ds/Rockchip%20RK3288%20datasheet%20V1.0%2020140516.pdf RK3288 brief datasheet]
| |
− | * [http://dl.radxa.com/rock2/docs/hw/radxa_rock2_som_140927.pdf rock2 SoM schematics]
| |
− | * [http://dl.radxa.com/rock2/docs/hw/radxa_rock2_square_baseboard_beta_150303.pdf rock2 square baseboard schematics]
| |
− | * [http://dl.radxa.com/rock2/docs/hw/RADXA_ROCK2_SQUARE_beta.dxf rock2 square baseboard dimension file(.dxf)]
| |
− |
| |
− |
| |
− | ===Hardware Revisions===
| |
− | ====Alpha====
| |
− | First revision, mostly working, android and debian server is booting fine. Alpha revision is only used at radxa internally and few early developers. Known issues are:
| |
− | * HDMI detect ping(HDP) is not connected
| |
− | * Headphone detect pin is not connected
| |
− |
| |
− | ====Beta====
| |
− | This is the first version for public. 100 pcs beta baseboard are made. The changes from alpha revision are:
| |
− |
| |
− | * PCB corner now are round, less sharp
| |
− | * components alignment adjust
| |
− | * fix hdmi and headphone detect pin
| |
− | * replace pin number instead of pin description for the extension header
| |
− | * status leds are moved to right side of the board now
| |
− | * add protection for LVDS connector
| |
− |
| |
− | ==Distributions==
| |
− | ==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
| |
− | 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
| |
− |
| |
− | ==Build Rabian Image==
| |
− | Build Rabian Image with rock-bsp is easy. First, install required packages:
| |
− |
| |
− | sudo apt-get install build-essential lzop libncurses5-dev libssl-dev libusb-1.0-0-dev libc6-i386
| |
− |
| |
− | Download rock-bsp:
| |
− |
| |
− | git clone https://github.com/radxa/rock-bsp.git
| |
− |
| |
− | Build the image:
| |
− |
| |
− | cd rock-bsp
| |
− | ./config.sh rock2_square
| |
− | make
| |
− |
| |
− | This will make u-boot, kernel and pack them into an emmc image for rock2 square which can be flashed via upgrade_tool. For how to flash it, check [[Rock/flash_the_image#Upgrade_tool_from_Rockchip]]
| |