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

Rock/install toolchain

We recommend to use the default rockchip arm-eabi- toolchain from android to build all the stuff for rock/pro/lite including u-boot, kernel, android.

Install the toolchain

Download ARM toolchain if you don't have Android 4.2.2/4.4.2 SDK on your host.

if your host is 64bit

   git clone -b kitkat-release --depth 1


  download the zip file here 

if your host is 32bit

   git clone -b jb-release --depth 1


   download the zip file here

then edit your ~/.bashrc, and set environment variables, add the following line at the end of .bashrc

   export ARCH=arm
   export CROSS_COMPILE=`pwd`/arm-eabi-4.6/bin/arm-eabi-

of course you can use any toolchain if you are sure it works, or you will have to fix any error introduced by toolchain.