Building Android 7.1.2 Image - Advantech EPC-R4710 User Manual

Rockchip arm cortex-a72 box computer
Table of Contents

Advertisement

android/device/rockchip/
Android device related settings
hardware/rockchip/
HAL (Hardware Abstraction Layer)
android/kernel/
Linux kernel source code
3.2.4

Building Android 7.1.2 Image

Start Docker Container
# docker run -it --name android_n7 -v /home/bsp/myandroid:/home/adv/BSP:rw advrisc/
u16.04-imx6abv5:20170523 /bin/bash
Build instructions
Set the $JAVA_HOME environment variable.
$ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
$ export PATH=$JAVA_HOME/bin:$PATH
$ export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar
Set up the environment for building. This only configures the current terminal.
$ source build/envsetup.sh
Execute the Android launch command. In this example, the setup is for the produc-
tion image of Advantech RISC platform device with user debug type. If you devices is
RSB4710, you will be send command "lunch rk3399_rsb4710-userdebug.
$ lunch rk3399_rsb4710-userdebug
To build boot loader
Perform the following command in terminal console.
$ cd u-boot
$ make rk3399_rsb4710a2_2G_defconfig
$ make ARCHV=aarch64
To build kernel image
Perform the following command in terminal console.
$ cd kernel
$ make ARCH=arm64 rk3399_adv_defconfig -j8
$ make ARCH=arm64 rk3399-rsb4710-a2.img -j12
19
EPC-R4710 User Manual

Advertisement

Table of Contents
loading

Table of Contents