Introduction; Build Environment; Install Docker; Get Base Image - Advantech RSB-4710 User Manual

3.5” single-board computer with rockchip arm cortex-a72 processor
Table of Contents

Advertisement

3.1

Introduction

This chapter explains how to develop software for RSB-4710 to enable users to
develop unique applications efficiently.
RSB-4710 is designed be developed in a Linux host environment. For now, the offi-
cially supported host OS is Ubuntu 16.04 LTS (64 bit). Compatibility problems may
occur when using a Windows or Android environment for application development.
Therefore, we strongly recommend installing Ubuntu 16.04 LTS (64 bit) on your host
PC before attempting to develop RSB-4710.
However, RSB-4710 itself supports the Android 7.1 and Linux Debian OS.
3.2

Build Environment

All instructions in this chapter are based on the Ubuntu 16.04 LTS (64 bit) OS. This
OS should be installed in advance on a host PC with a minimum of 4GB DRAM mem-
ory. After logging into the host PC, follow the instructions in the sections below for
RSB-4710 development.
3.2.1

Install Docker

To use Docker for development, Docker must be installed on the host PC. Refer to
the Docker Installation Guide for installation instructions. Linux, Windows, and OS X
all support Docker.
3.2.2

Get Base Image

To download the images in the image provided, docker pull from the <IMAGE
REPOSITORY>.
# docker pull advrisc/u16.04-imx6abv5:20170523
3.2.3

Obtain Android Source Code

Related version information:
Android 7.1.2
Kernel 4.4.126
U-Boot 2014-10
Pull down the Android source tree to your working directory from the repositories
specified in the default manifest.
$ cd ~/BSP
$ sudo git clone https://github.com/rockchip-linux/repo.git
$ mkdir rk3399_android_n7
$ cd rk3399_android_n7
$ git config --global user.name "Your Name"
$ git config --global user.email you@example.com
$ ../repo/repo init -u https://gitlab.wise-paas.com/RISC/android-manifest.git -b android-7.1.2
-m default.xml
$ ../repo/repo sync
$ ../repo/repo forall -c git checkout -b local --track origin/android-7.1.2
RSB-4710 User Manual
38

Advertisement

Table of Contents
loading

Table of Contents