DEVELOPMENT GUIDE AMOS-825. Android BSP v

Similar documents
DEVELOPMENT GUIDE VIA VAB-820. Android BSP v

DEVELOPMENT GUIDE VAB-820. Android BSP v

DEVELOPMENT GUIDE VIA AMOS-825. Linux BSP v

DEVELOPMENT GUIDE VAB-820. Linux BSP v

DEVELOPMENT GUIDE VAB-820. Linux BSP v4.1.2

DEVELOPMENT GUIDE QSM-8Q60. Linux BSP v

DEVELOPMENT GUIDE. ARTiGO A820. Linux BSP v

DEVELOPMENT GUIDE VAB-630. Android BSP v

DEVELOPMENT GUIDE VAB-630. Linux BSP v

QUICK START GUIDE AMOS-825. Android EVK v

DEVELOPMENT GUIDE AMOS-820. Linux BSP v

QUICK START GUIDE AMOS-820. Android BSP v

QUICK START GUIDE. VIA ARTiGO A820. Android EVK v

Ingenic. Newton Android Development Guide

ARTiGO A600 Linux EVK v1.2.1

QUICK START GUIDE VAB-630. Android EVK v

QUICK START GUIDE VAB-600. Android BSP v

P6: Trial Build of a ROM Nikhil George. 1. Introduction. Overview of the build task. Cite the build/ wiki articles you read.

QUICK START GUIDE VIA VAB-820. Android EVK v

QUICK START GUIDE ALTA DS 4K. Android EVK v

WES 237A Project Part 1 Guide

Operating Guide. EPIA-P820 Mainboard

Operating Guide. EPIA-P720 Mainboard

User Guide Yocto Linux. Board Support Package For Intel Quark

Operating Guide VB8003 Mainboard

DS2 Products Auto-Update Tool BSP

Project 1 Setup. Some relevant details are the output of: 1. uname -a 2. cat /etc/*release 3. whereis java 4. java -version 5.

Operating Guide VB7007 Mainboard

Operating Guide. EPIA-M850 Mainboard

Operating Guide. EPIA-P700 Mainboard

Operating Guide EPIA EX-Series Mini-ITX Mainboard

Android ROM Porting: A Review

QUICK START GUIDE VAB-820. Android EVK v

Mars ZX3 Android manual. Antmicro

Operating Guide EPIA EN-Series Mini-ITX Mainboard

ALTA DS 2 ARTiGO A900 VAB-1000

USER MANUAL ALTA DS 4K. Fanless ultra-compact Andriod digital signage system

Programming Guide. VIA Smart ETK SDK

Operating Guide EPIA N-Series Nano-ITX Mainboard

VIA ALTA DS 3. High-performance Edge AI system with dual 4K screen support and rich wireless and I/O connectivity options USER MANUAL

QUICK START GUIDE AMOS-825. Linux BSP v

USER MANUAL. ARTiGO A630. Cost Efficient ARM based Fanless system

SCM EVK (SCM120

VAB-600 Linux BSP v1.2.1

Zephyr Kernel Installation & Setup Manual

Intel Software Guard Extensions SDK for Linux* OS. Installation Guide

Package Contents... 1 Applied Models... 2 Specifications... 3 Reset Button... 4 Download & Install App... 5 Setup One Touch Setup

PROGRAMMING GUIDE. VIA Smart ETK SDK. v

REV-SA01. User s Manual. SMARC Evaluation Carrier Board. 3 rd Ed 24 January Part No. E2047VS0102R

EN-9235TX-32 Quick Installation Guide

StreetWise IoT Solutions

Q7M EVK (Q7M120

PROGRAMMING GUIDE. VIA Smart ETK SDK

A113X1 Development Kit

MAGPIE Installation Guide (version 1.0)

CSE 237A. Prof. Tajana Simunic Rosing HW #1. Due: January 20th, 2011

USER MANUAL VB9001. High-integrated low-power platform ideal for network firewall and router applications

PROGRAMMING GUIDE. VIA Smart ETK SDK

Tizen TCT User Guide

Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS

S1V3G340 External SPI-Flash Select Guide

GNU17V3 Setup Guide. Rev.2.0

Intel Security Dev API 1.0 Production Release

EM3188 Android5.1 User Manual

Operating Guide EPIA-P710 Mainboard

EN-9260TX-E User Manual

Schlumberger Private Customer Use

Android Studio Setup Procedure

FSA. Library Link. Rev.1.0

Complex Text Rendering

a module solution provider i.mx6q Android6.0 + WL8 integration Release Note Date: 2016/6/16

Lab 5: Android Development Environment

Installation Guide and Release Notes

PICO-i.MX6UL Development Platform for Android Things Quick Start Guide

Embedded. Connected. Aware. SW Delivery Process. February Inforce Computing. Do NOT Copy/Distribute without prior written permission

UT163/UT165/UT190 USB Flash Disk Utility

Installation Instructions

SCM-i.MX 6 Series Yocto Linux User's Guide

QUICK START GUIDE. ARTiGO A820. Linux BSP v

VP222 USB Type-C DFP CC Controller with Universal Battery Charging

Cubieboard4 Linux Sdk Guide TF BOOT & TF WRITE EMMC. Website: Support:

Building a ROM for Android on Ubuntu in Virtualbox

Preliminary. Jetson TX1 BSP flashing guide. Version 2.1. May 2017 AUVIDEA GMBH FIRMWARE INSTALLATION 1. Auvidea GmbH Kellerberg 3 D Denklingen

xpress Release Notes

S1C17 Family Application Note S1C17 Series Boot Loader Sample Software

MariaDB ColumnStore C++ API Building Documentation

S1C17 Family EEPROM Emulation Library Manual

Tool installation for PMC-MC-X2/X4 with P2020 series processor

AVR32 UC3 Software Framework... User Manual

EIC-300 User s Guide

NanoPi K2. Introduction. Hardware Spec

RZ/G Verified Linux Package V2.1.0-RT

TEK Series. Unique Expansion Possibilities. Power and Networking Expansion Module. Automation I/O Expansion Module

Building Embedded Linux images for VEST Development Platforms using Yocto

15.6. TEP Series. Unique Expansion Possibilities. Power and Networking Expansion Modules 10.1

IoT AppZone Release Notes

i.mx31 PDK 1.3 to PDK 1.4 Revision Changes Linux

ESP32-SOLO-1 OEM Installation Manual

Installation Instructions

ARM Tool Chain Setup for the Fujitsu MB86R01 Jade Board

Transcription:

DEVELOPMENT GUIDE AMOS-825 Android BSP v5.0.3 1.00-05172018-120700

Copyright Copyright 2018 VIA Technologies Incorporated. All rights reserved. No part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual or otherwise without the prior written permission of VIA Technologies, Incorporated. Trademarks All brands, product names, company names, trademarks and service marks are the property of their respective holders. Disclaimer VIA Technologies makes no warranties, implied or otherwise, in regard to this document and to the products described in this document. The information provided in this document is believed to be accurate and reliable as of the publication date of this document. However, VIA Technologies assumes no responsibility for the use or misuse of the information (including use or connection of extra device/ equipment/add-on card) in this document and for any patent infringements that may arise from the use of this document. The information and product specifications within this document are subject to change at any time, without notice and without obligation to notify any person of such change. VIA Technologies, Inc. reserves the right the make changes to the products described in this manual at any time without prior notice.

AMOS-825 Android BSP v5.0.3 Development Guide Revision History Version Date Remarks 1.00 05/17/2018 Initial release iii

Table of Contents AMOS-825 Android BSP v5.0.3 Development Guide 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... 2 1.1.4 Tools Folder Contents... 2 1.2 Version Information and Supported Features... 3 2. Build Environment Setup... 4 2.1 Configuring Linux Host Machine... 4 3. Image Build... 5 3.1 Extracting the AMOS-825 BSP... 5 3.2 Downloading the Source Code of Android 6.0.1... 5 3.3 Installing the Source Code Patch... 5 3.4 Building the Android Image... 5 iv

AMOS-825 Android BSP v5.0.3 Development Guide 1. Introduction This Development Guide explains how to set up the necessary build environment in order for users to customize the Android source code and create their own system image for the AMOS-825 system. The AMOS-825 Android BSP v5.0.3 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 AMOS-825 system. 1.1 BSP Package Contents There are four folders in the package as listed below. Source_code folder AMOS-825_Android_ source_code_patch.zip Smart_ETK_v1.0_SourceCode.zip Firmware folder Images_autoinstall_sd.zip Document folder AMOS-825_Android_EVK_v5.0.3_Quick_Start_Guide _v1.00_20180517.pdf AMOS-825_Android_BSP_v5.0.3_Development_Guide _v1.00_20180517.pdf Smart_ETK_SDK_Programming_Guide_v1.0 _20180517.pdf Tools folder AMOS-825_Smart_ETK_Demo_v1.0.apk BluetoothSPPTest.apk Description Android source code patch files and Image building script files Smart ETK demo program source code Description Android EVK system image and installation script files Description Quick Start Guide Development Guide Smart ETK SDK Programming Guide Description Smart ETK demo program Bluetooth SPP testing program AMOS-825 Android BSP contents 1.1.1 Source Code Folder Contents AMOS-825_Android_ source_code_patch.zip: Includes Android 6.0.1 source code download script files, NXP Android patch file android_m6.0.1_1.0.0-ga_core_source.tar.gz, the AMOS-825 Android source code patch file and Image building script files. Smart_ETK_v1.0_SourceCode.zip: is the Smart ETK demo program source code. 1.1.2 Firmware Folder Contents Images_autoinstall_sd.zip: The Android EVK system image and installation script files. 1

1.1.3 Document Folder Contents AMOS-825 Android BSP v5.0.3 Development Guide AMOS-825_Android_EVK_v5.0.3_Quick_Start_Guide _v1.00_20180517.pdf: The Quick Start Guide provides an overview on how to boot the Android EVK system image on the AMOS-825 system and configure the supported hardware functions in the build. AMOS-825_Android_BSP_v5.0.3_Development_Guide_v1.00_20180517.pdf: This Development Guide explains how to set up the necessary build environment in order for users to customize the Android source code and create their own system image for AMOS-825 system. Smart_ETK_SDK_Programming_Guide_v1.0_20180517.pdf: This Programming Guide explains how to build the Smart ETK program and introduces full function APIs for VIA different boards or systems. 1.1.4 Tools Folder Contents AMOS-825_Smart_ETK_Demo_v1.0.apk: is the Bluetooth SPP profile test program. BluetoothSPPTest.apk: is the Bluetooth SPP profile test program. 2

AMOS-825 Android BSP v5.0.3 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 7 Projective capacitive touch monitor (800x480) through I²C interface Supports COM as debug port Supports two FlexCAN TX/RX Supports Gigabit Ethernet Supports Mic-in Supports IEEE 802.11b/g/n Wi-Fi Supports Bluetooth 4.0 ᴏᴏA2DP and SPP profile Supports U-blox MAX-7 GPS/GNSS module Supports EMIO-2550 minipcie Mobile Broadband module Supports Smart ETK v1.0: Watchdog Timer, UART, and FlexCAN Supports OTA (Over-the-Air technology) Supports shutdown option in Quick Settings Supports Ethernet configuration in Settings 3

2. Build Environment Setup AMOS-825 Android BSP v5.0.3 Development Guide This section guides you through setting up the build environment for development. All instructions are based on using Ubuntu 14.04 LTS. 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 website at http://source.android.com/source/initializing.html. 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 command: $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update To install the OpenJDK 7, use the following command: $ 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: $ sudo apt-get install git gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6- dev libncurses5-dev x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesaglx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386 uuid-dev liblzo2-dev libz-dev libc6-dev-i386 lib32z1 4

AMOS-825 Android BSP v5.0.3 Development Guide 3. Image Build This section explains how to build the U-Boot binary and Android file system for the AMOS-825 system. 3.1 Extracting the AMOS-825 BSP Use the following command to extract the contents of the BSP. $ unzip AMOS-825_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. Use the following commands to download the source code of Android 6.0.1: $ cd Script $./download_source_android6.0.sh 3.3 Installing the Source Code Patch Use the following command to install the NXP and AMOS-825 source code patch: $./patch_fsl_via.sh 3.4 Building the Android Image Use the following commands to build the Android image, the compiling process will take several hours. $ cd../src $ source build/envsetup.sh $ lunch amos825-userdebug $ make j8 After the compilation, the src/out/target/product/ amos825/ directory will contain the resulting binaries, as shown in the table below. Binary u-boot.imx bspinst-amos825.img boot- amos825.img system.img recovery- amos825.img Description U-Boot boot loader for imx6q BSP auto install image for imx6q Kernel for imx6q Android system image Recovery image for imx6q Binary files generated 5

Taiwan Headquarters 1F, 531 Zhong-zheng Road, Xindian Dist., New Taipei City 231 Taiwan Tel: 886-2-2218-5452 Fax: 886-2-2218-9860 Email: embedded@via.com.tw USA 940 Mission Court Fremont, CA 94539, USA Tel: 1-510-687-4688 Fax: 1-510-687-4654 Email: embedded@viatech.com Japan 3-15-7 Ebisu MT Bldg. 6F, Higashi, Shibuya-ku Tokyo 150-0011 Japan Tel: 81-3-5466-1637 Fax: 81-3-5466-1638 Email: embedded@viatech.co.jp China Tsinghua Science Park Bldg. 7 No. 1 Zongguancun East Road, Haidian Dist., Beijing, 100084 China Tel: 86-10-59852288 Fax: 86-10-59852299 Email: embedded@viatech.com.cn Europe Email: embedded@via-tech.eu