USM-110 User Manual 24
3.3 System Development
This chapter introduces the USM-110 software development process to allow users
to develop unique application(s).
Because USM-110 is designed to support a Linux host, developing on a Windows/
Android-based PC may result in compatibility issues. Currently, the officially sup-
ported host OS version is Ubuntu 14.04 LTS (64 bit).
We strongly recommend installing Ubuntu 14.04 LTS (64 bit) on your host PC before
beginning USM-110 evaluation/development.
3.3.1 Build Environment Setup
All instructions in this guide are based on the Ubuntu 14.04 LTS (64 bit) OS.
Ubuntu 14.04 LTS (64 bit) must be installed in advance with at least 4 GB DRAM.
After installation, log into the system and perform following:
3.3.1.1 Install Docker
To use Docker for development it must be installed on your platform. Refer to the
Docker Installation Guide for reference. Docker can be installed on Linux, Cloud,
Windows, and OS X. Generally, we recommend installing on Ubuntu.
3.3.1.2 Get Base Image
Use docker pull <IMAGE REPOSITORY> to obtain the images provided in the image
list.
# docker pull advrisc/u14.04-rk3288abv1
3.3.1.3 Obtain Android Source Code
Related version information:
Android 6.0.1
Kernel 3.10.0
U-Boot 2014-10
Obtain the source code from your sales representative or Advantech technical sup-
port, then pull down the Android source tree to your working directory.
3.3.1.4 Building Android 6.0.1 image
Start Docker Container
Build Instructions
Set the $JAVA_HOME environment variable
Set up the environment for building. This only configures the current terminal.
# docker run -it --name android6.0-build -v /home/adv/myandroid:/home/adv/android6.0:rw
advrisc/u14.04-rk3288abv1 /bin/bash
Set the $JAVA_HOME environment
$ source build/envsetup.sh