Difference between revisions of "Android BSP User Guide"

From ESS-WIKI
Jump to: navigation, search
Line 28: Line 28:
 
   libgl1-mesa-dev libxml2-utils xsltproc unzip</small>
 
   libgl1-mesa-dev libxml2-utils xsltproc unzip</small>
  
== Setup Advantech Android BSP In RISC Platform ===
+
=== Setup Advantech Android BSP In RISC Platform ===
  
 
=== Download BSP ===
 
=== Download BSP ===
Line 34: Line 34:
 
=== Setup build path ===
 
=== Setup build path ===
  
== Initialize build environmant ==
+
=== Initialize build environmant ===
  
 
=== Build Android image script ===
 
=== Build Android image script ===

Revision as of 07:04, 25 March 2016

Setup host computer

Setup Ubuntu host computer

Install Ubuntu 14.04 LTS 64bit. You should have about 80 Gbytes of free disk space for building images.

Go to http://releases.ubuntu.com/14.04/ and download 64-bit PC (AMD64) desktop image: http://releases.ubuntu.com/14.04/ubuntu-14.04.3-desktop-amd64.iso for the installation.

Install required packages

Java

$ sudo apt-get install openjdk-7-jdk

freescale Android_User's_Guide

$ sudo apt-get apt-get update $ sudo apt-get install uuid uuid-dev $ sudo apt-get install zlib1g-dev liblz-dev $ sudo apt-get install liblzo2-2 liblzo2-dev $ sudo apt-get install lzop $ sudo apt-get install git-core curl $ sudo apt-get install u-boot-tools $ sudo apt-get install mtd-utils $ sudo apt-get install android-tools-fsutils

Android Open Source Project (AOSP)

http://source.android.com/source/initializing.html

 sudo apt-get install git-core gnupg flex bison gperf build-essential \
 zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 \
 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache \
 libgl1-mesa-dev libxml2-utils xsltproc unzip

Setup Advantech Android BSP In RISC Platform

Download BSP

Setup build path

Initialize build environmant

Build Android image script