EPC-R4680 User Manual
18
3.1
Introduction
The purpose of this chapter is to introduce the software development of EPC-R4680
to you, so that you can develop your own application(s) efficiently.
EPC-R4680 is designed for supporting a Linux host only so you may fail developing
your AP on Windows/Android host PC. For now the official supported host version is
the Ubuntu 14.04 LTS 64bit host PC. Any other version may have compatibility
issues. In this case, we strongly recommend to have Ubuntu 14.04 LTS 64bit
installed to your host PC before starting EPC-R4680 evaluation/development.
3.2
Set Up Build Environment
All instructions in this guide are based on Ubuntu 14.04 LTS 64bit only. Please install
Ubuntu 14.04 LTS 64bit with minimum 4GB DRAM in advance, login to the installed
system and engage the following sections:
3.2.1
Install Docker
Before you use Docker to develop, you have to install Docker on your platform.
Please refer to the Docker Installation Guide. You are able to install Docker on Linux,
Cloud, Windows, and OS X. In general, you may choose to install on Ubuntu.
3.2.2
Getting Base Images
To get the images we provide, you can use docker pull <IMAGE REPOSITORY> to
get the images in the image list.
# docker pull advrisc/u14.04-rk3288abv1
3.2.3
Getting Android Source Code
Related version information:
Android 6.0.1
Kernel 3.10.0
U-Boot 2014-10
To pull down the Android source tree to your working directory from the repositories
as specified in the default manifest
Some folders described below:
android/u-boot/
U-Boot source code
android/device/rockchip/
Android device related settings
hardware/rockchip/
HAL (Hardware Abstraction Layer)
$ mkdir myandroid
$ mkdir bin
$ cd myandroid/
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ../bin/repo
$ chmod a+x ../bin/repo
$ ../bin/repo init -u https://github.com/ADVANTECH-Rockchip/android-rk-manifest.git -b
android-6.0.1
$ ../bin/repo sync
Summary of Contents for EPC-R4680
Page 6: ...EPC R4680 User Manual vi ...
Page 12: ...EPC R4680 User Manual 4 ...
Page 33: ...25 EPC R4680 User Manual Chapter 3 Software Functionality 3 7 USB DISK 3 7 1 USB Disk Status ...
Page 34: ...EPC R4680 User Manual 26 ...
Page 41: ...33 EPC R4680 User Manual Chapter 3 Software Functionality ...
Page 42: ...EPC R4680 User Manual 34 ...