Set up for building android image file – Avalue SMA-IMX6 User Manual
Page 29
User
’s Manual
SMA-IMX6
User’s Manual
29
3.9 Download Android Source Code for building image file
Please make a folder for storing the source code first then typing the command below to get
started for the source code download.
$ sudo apt-get install git
$ git clone [email protected]:freescale/imx6/Android.git -b 4.4.2-SMARC
About password, please check with Avalue Sales or PM to get it.
3.10 Set up for building Android image file
We support to compile u-boot & Kernel on Ubuntu 12.04 (64bit version), other version of
Ubuntu is not currently supported and may have built issues.
Install host packages needed by building code. This document assumes you are using
Ubuntu. Not a requirement, but the packages may be named differently and the method of
installing them may be different.
1)
Please follow up the commands below to install ”Oracle JDK6.0” first for building up
Android image file.
$ sudo apt-get install python-software-properties
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java6-installer
2) Please follow up the commands below to install the necessary package for build image
file.
$ sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 \
libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386 \
ia32-libs u-boot-tools minicom lib32ncurses5-dev \