How to Make an Android SD Card Flash Image for MIPS CI20

Revision as of 13:40, 8 January 2015 by Crlarsen (talk | contribs) (Replace dummy contents will real directions.)
Jump to: navigation, search

Create a directory to hold the source tree

       mkdir <CI20 Android Directory>

Enter new directory

       cd <CI20 Android Directory>

Create repo and fetch contents

       repo init -u git:// -b dev-mips-kitkat -m mips-kk-4.4.2_r1.m1.xml
       repo sync

Set up environment variables needed to build image

       export TOP=`pwd`
       source build/
       lunch aosp_ci20-userdebug
       export JAVA_HOME=/usr/lib/jvm/java-6-oracle

Run "make"

       make -j 8 # You may need to adjust the number depending on your build system

Insert an SD card to be written into the host system then run the following commands

       cd device/imgtec/ci20/sdcardinstaller/
       ./mksdcard /dev/sdX # The name of the SD card device may vary across systems

The SD card can now be used to flash the CI20 NAND.