VIA VAB-820 Android BSP v5.0.9 Development Guide 1� Introduction This Development Guide explains how to setup the necessary build environment in order for users to customize the Android source code and create their own system image for the VIA VAB-820 board. The VIA VAB-820 Android BSP v5.0.9 is developed based on the NXP android_M6.0.1_1.0.0-ga (Android 6.0 Marshmallow) and enables hardware features that are defined on the VIA VAB-820 board. 1�1 BSP Package Contents There are four folders in the package as listed below. Source code folder Description VAB-820_Android_ source_code_patch.zip Android source code patch files and Image building script files Smart_ETK_v1.0_SourceCode.zip Smart ETK demo program source code Firmware folder Description Images_autoinstall_sd.zip Android EVK system image and installation script files Document folder Description VAB-820_Android_EVK_v5.0.9_Quick_Start_ Quick Start Guide Guide _v1.00_20181220.pdf VAB-820_Android_BSP_v5.0.9_Development_ Development Guide Guide _v1.00_20181220.pdf...
VIA VAB-820 Android BSP v5.0.9 Development Guide Smart_ETK_SDK_Programming_Guide_v1 .00_20170811.pdf: The Programming Guide explains how to build the Smart ETK program and introduces a fully functional set of API for the different VIA boards or systems. 1�1�4 Tools Folder Contents VAB-820_Smart_ETK_Demo_v1.0.apk: is the Smart ETK demo program. BluetoothSPPTest.apk: is the Bluetooth SPP profile test program.
VIA VAB-820 Android BSP v5.0.9 Development Guide 2� Build Environment Setup This section guides you through setting up the build environment for development. All instructions are based on using Ubuntu 14.04 LTS (64-bit). To make sure that the build process completes successfully, we recommend at least 120GB of disk space and 15GB of combined memory and swap space on the host machine. 2�1 Configuring Linux Host Machine The following packages are required for the Android development environment. The required packages can be installed using the commands below. To get more information, please visit the Android website at https://source.android.com/setup/build/initializing� The OpenJDK 7 is not included in the Ubuntu 14.04 default installation. The first step is to add a new server manually by using the following commands: $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update To install the OpenJDK 7, use the following commands: $ sudo apt-get install openjdk-7-jre $ sudo apt-get install openjdk-7-jdk The following packages are required for the Android development environment. To install the required packages on the Ubuntu 14.04, use the following command:...
VIA VAB-820 Android BSP v5.0.9 Development Guide 3� Image Build The section explains how to build the U-Boot binary and Android file system for the VIA VAB-820 board. 3�1 Extracting the VIA VAB-820 BSP Use the following command to extract the contents of the BSP. $ unzip VAB-820_Android_source_code_patch.zip 3�2 Downloading the Source Code of Android 6.0.1 Downloading the Android 6.0.1 source code to the BSP/src folder can take several hours depending on your internet connection. *Note: You need to set up a Git account before downloading the source code. $ git config –-global user.email you@example.com $ git config –-global user.name “Your Name” Use the following commands to download the source code of Android 6.0.1: $ cd Script $ ./download_source_Android6.0.sh...
Page 10
Taiwan Headquarters Japan China 1F, 531 Zhong-zheng Road, 940 Mission Court 3-15-7 Ebisu MT Bldg. 6F, Tsinghua Science Park Bldg. 7 Xindian Dist., New Taipei City 231 Fremont, CA 94539, Higashi, Shibuya-ku No. 1 Zongguancun East Road, Taiwan Tokyo 150-0011 Haidian Dist., Beijing, 100084 Japan China...
Need help?
Do you have a question about the VAB-820 and is the answer not in the manual?
Questions and answers