beautypg.com

Set up for building android image file – Avalue ACP-IMX6POS User Manual

Page 26

background image

ACP-IMX6POS

User’s Manual

26 ACP-IMX6POS

User’s Manual

3.1

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

About Password Please check with Avalue Sales or PM to get password.

3.2 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

$ sudo update-alternatives --config java

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 gcc g++ \

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 \

uuid-dev liblzo2-dev libz-dev\