Introduction; Set Up Build Environment; Install Docker; Get Base Image - Advantech RSB-4680 User Manual

Risc-based 3.5" sbc with rockchip arm cortex-a17 rk3288 quad core processer
Table of Contents

Advertisement

3.1

Introduction

The purpose of this chapter is to introduce software development of RSB-4680 to
you, so that you can develop your own application(s) efficiently.
RSB-4680 is designed for supporting Linux host only so you may fail developing your
AP on Windows/Android host PC. For now the official supported host version is
Ubuntu 14.04 LTS 64bit, host PC in any other version may have compatibility issue.
In this case, we strongly recommend to have Ubuntu 14.04 LTS 64bit installed to
your host PC before start RSB-4680 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 installed sys-
tem and perform following sections:
3.2.1

Install Docker

Before you use Docker to develop, you have to install Docker on your platform.
Please refer to 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

Get base image

To get the images we provided, 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
$ 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
Some folders described below:
android/u-boot/
U-Boot source code
android/device/rockchip/
Android device related settings
hardware/rockchip/
HAL (Hardware Abstraction Layer)
RSB-4680 User Manual
32

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents