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

Difference between revisions of "Rock2/square bb"

(Status)
Line 70: Line 70:
  
 
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
 
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]]

Revision as of 06:10, 29 April 2015

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 bb.png

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


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 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

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