VIA Technologies VAB-820 Development Manual

VIA Technologies VAB-820 Development Manual

Android bsp v5.0.9
Hide thumbs Also See for VAB-820:

Advertisement

Quick Links

DEVELOPMENT GUIDE
VIA VAB-820
Android BSP v5.0.9
1.00-12202018-135700

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VAB-820 and is the answer not in the manual?

Questions and answers

Summary of Contents for VIA Technologies VAB-820

  • Page 1 DEVELOPMENT GUIDE VIA VAB-820 Android BSP v5.0.9 1.00-12202018-135700...
  • Page 2 VIA Technologies, Inc. reserves the right the make changes to the products described in this manual at any time without prior notice.
  • Page 3 VIA VAB-820 Android BSP v5.0.9 Development Guide Revision History Version Date Remarks 1.00 12/20/2018 Initial release...
  • Page 4: Table Of Contents

    VIA VAB-820 Android BSP v5.0.9 Development Guide Table of Contents 1. Introduction ����������������������������������������������������������������������������������������������������������������������� 1 1�1 BSP Package Contents �������������������������������������������������������������������������������������������������������������������������� 1 1�1�1 Source Code Folder Contents �������������������������������������������������������������������������������������������������������� 1 1�1�2 Firmware Folder Contents ������������������������������������������������������������������������������������������������������������� 1 1�1�3 Document Folder Contents ������������������������������������������������������������������������������������������������������������ 1 1�1�4 Tools Folder Contents ��������������������������������������������������������������������������������������������������������������������...
  • Page 5: Introduction

    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...
  • Page 6: 1�1�4 Tools Folder Contents

    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.
  • Page 7: Version Information And Supported Features

    VIA VAB-820 Android BSP v5.0.9 Development Guide 1�2 Version Information and Supported Features • U-Boot version: 2015.04 • Kernel version: 3.14.52 • Evaluation image: Android Marshmallow 6.0 • Development based on NXP android_M6.0.1_1.0.0-ga (Android 6.0 Marshmallow) • Supports SPI with eMMC boot • Supports HDMI display • Supports HDMI audio output • Supports AUO LVDS capacitive touch panels (through USB interface) º AUO 10.4″ G104XVN01.0 (1024×768) º AUO 7″ G070VW01 (800×480) • Supports Dual Display (Clone Mode) • Supports CVBS & S-Video • Supports COM1 DTE mode, COM2 TX/RX only • Supports two FlexCAN TX/RX • Supports Gigabit Ethernet • Supports Line-in, Line-out, and Mic-in •...
  • Page 8: Build Environment Setup

    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:...
  • Page 9: 3� Image Build

    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...

Table of Contents