A13-SOM-building-Android-NAND

1) Set your environment and tools as recommended in this document (it is made for A13-OLinuXino but applies for A13-SOM also):

https://github.com/OLIMEX/OLINUXINO/blob/master/SOFTWARE/A13/Android-JellyBean/A13%20Android%20OLinuxino%20Jelly%20Bean.pdf

2) Download the lichee and Android sources:

lichee-4.1-v1.2: https://www.olimex.com/wiki/images/6/6c/Lichee-4.1-v1.2.torrent

android4.1-v1.2: https://www.olimex.com/wiki/images/6/64/Android4.1-v1.2.torrent

3) Download the specific for A13-SOM files required for the build:

script fex - https://drive.google.com/file/d/0BwplT87k9SCgNlVScGYzYmhfeU0/view?usp=sharing

file system - a13-som.tgz - https://drive.google.com/file/d/0BwplT87k9SCgdnlIa0NsYzFXTmc/view?usp=sharing

4) Execute:

#Linux BSP

mv lichee-4.1 lichee

cd lichee

./build.sh -pa13_nuclear -k3.0

#Android

android4.1/device/softwinner

tar zxfv a13-som.tgz -C android4.1/device/softwinner

source build/envsetup.sh

lunch #select 10

extract-bsp

make -j16

pack