DEVELOPMENT GUIDE VAB-820. Linux BSP v

Similar documents
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 VIA AMOS-825. Linux BSP v

DEVELOPMENT GUIDE AMOS-820. Linux BSP v

DEVELOPMENT GUIDE VIA VAB-820. Android BSP v

DEVELOPMENT GUIDE AMOS-825. Android BSP v

DEVELOPMENT GUIDE VAB-820. Android BSP v

DEVELOPMENT GUIDE VAB-630. Linux BSP v

DEVELOPMENT GUIDE VAB-630. Android BSP v

QUICK START GUIDE. VIA ARTiGO A820. Android EVK v

QUICK START GUIDE AMOS-825. Android EVK v

ARTiGO A600 Linux EVK v1.2.1

QUICK START GUIDE AMOS-825. Linux BSP v

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

QUICK START GUIDE. ARTiGO A820. Linux BSP v

QUICK START GUIDE VAB-630. Android EVK v

QUICK START GUIDE VIA VAB-820. Android EVK v

User Guide Yocto Linux. Board Support Package For Intel Quark

Intel Do-It-Yourself Challenge Compile C/C++ for Galileo Nicolas Vailliet

DS2 Products Auto-Update Tool BSP

Operating Guide. EPIA-P820 Mainboard

Intel Do-It-Yourself Challenge Rebuild (with) Yocto Nicolas Vailliet

QUICK START GUIDE AMOS-820. Android BSP v

QUICK START GUIDE VAB-600. Android BSP v

Operating Guide. EPIA-P720 Mainboard

QUICK START GUIDE ALTA DS 4K. Android EVK v

Operating Guide VB8003 Mainboard

Operating Guide. EPIA-M850 Mainboard

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

Operating Guide. EPIA-P700 Mainboard

Operating Guide VB7007 Mainboard

QUICK START GUIDE VAB-820. Android EVK v

Operating Guide EPIA EX-Series Mini-ITX Mainboard

Yocto Project components

Embedded M2M Software Testing

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

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

RZ/G Verified Linux Package V2.1.0-RT

Operating Guide EPIA EN-Series Mini-ITX Mainboard

Operating Guide EPIA N-Series Nano-ITX Mainboard

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

Zephyr Kernel Installation & Setup Manual

Using Openembedded with Snapdragon Flight

Working with Yocto to Build Linux

YumaPro Yocto Linux Quickstart Guide

Ingenic. Newton Android Development Guide

Working with Yocto to Build Linux

Renesas Koelsch Hardware Setup and Software Installation

SCM EVK (SCM120

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

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

Programming Guide. VIA Smart ETK SDK

Meeting the Yocto Project

Oxalis Getting Started

i.mx31 PDK 1.3 to PDK 1.4 Revision Changes Linux

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

Building Embedded Linux images for VEST Development Platforms using Yocto

Q7M EVK (Q7M120

D1 - Embedded Linux. Building and installing an embedded and real-time Linux platform. Objectives. Course environment.

EN-9235TX-32 Quick Installation Guide

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

Operating Guide EPIA-P710 Mainboard

VAB-600 Linux BSP v1.2.1

A113X1 Development Kit

Lab2 - Bootloader. Conventions. Department of Computer Science and Information Engineering National Taiwan University

Building U-Boot in CodeWarrior ARMv8

StreetWise IoT Solutions

BeBot - Software Installation Guide

MAGPIE Installation Guide (version 1.0)

Digi Embedded Yocto 1.6. First Steps Guide

Installation Guide and Release Notes

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

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

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

Linux. For BCT RE2G2. User Guide. Document Reference: BCTRE2G2 Linux User Guide. Document Issue: Associated SDK release: 1.

USER MANUAL ENT-610M

i.mx7dual L4.1.15_2.0.0

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

Intel Galileo Board. Getting Started Guide. 02 October Order Number: US

Install and Configure wxwidgets on Ubuntu

S1V3G340 External SPI-Flash Select Guide

USB Driver. Installation Guide

GNU17V3 Setup Guide. Rev.2.0

Developing using C on imx Developer s Kits

D1Y - Embedded Linux with Yocto

EN-9260TX-E User Manual

Building Tizen Development Environment

ASIX AX88178 and AX88772B/772A/760/772

Application Note: Differences Between the Elo TouchSystems COACh II and COACh IV Controller Chipsets

Yocto Project and OpenEmbedded training 3-day session

Building Intel Atom E3800 Processor Development Kit Yocto Project* Board Support Package (BSP)

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

USER MANUAL SOM-6X80. Ultra-compact low-power solution for HMI applications with rapid time-to-market

Nokia Horizon Manager Release Notes. Version1.4 SP1

Hardware Prerequisites Atmel Xplained Pro Evaluation Kit Atmel WINC1500 extension USB Micro Cable (TypeA / MicroB)

S1C17 Family EEPROM Emulation Library Manual

Quick Start Guide EX-9686U/A-L(A9) Copyright TOPSCCC Technology CO., LTD. All rights reserved

TEGRA LINUX DRIVER PACKAGE R21.2

Yocto Project internal tools

Transcription:

DEVELOPMENT GUIDE VAB-820 Linux BSP v4.1.3 1.00-02072018-151100

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

VAB-820 Linux BSP v4.1.3 Development Guide Revision History Version Date Remarks 1.00 02/07/2018 Initial release iii

Table of Contents VAB-820 Linux BSP v4.1.3 Development Guide 1. Introduction... 1 1.1 BSP Package Content... 1 1.1.1 Source Code Folder Contents... 1 1.1.2 Firmware Folder Contents... 1 1.1.3 Document Folder Contents... 1 1.2 Version Information and Supported Features... 2 2. Build Environment Setup... 3 2.1 Configuring Linux Host Machine... 3 3. Image Build... 4 3.1 Extracting the VAB-820 BSP... 4 3.2 Upgrading the BSP patch to v4.1.3... 4 3.3 Machine Configuration... 4 3.4 Building an SD Card Image... 4 iv

VAB-820 Linux BSP v4.1.3 Development Guide 1. Introduction This Development Guide explains how to set up the necessary build environment in order for users to customize the Linux kernel and create their own system image for the VAB-820 board. The VAB-820 Linux BSP v4.1.3 is developed based on the NXP fsl-yocto-l4.1.15_1.1.0-ga (Yocto 2.0 Jethro) and enables hardware features that are defined on the VAB-820 board. 1.1 BSP Package Content There are three folders in the package as listed below. Source code folder VIA_iMX_Yocto2.0_SRC_v4.1.1.tar.bz2 VIA_iMX_Yocto2.0_patch_4.1.3.tar.gz Firmware folder VAB-820_Yocto2.0_BIN_v4.1.3.tar.gz Document folder VAB-820_Linux_BSP_v4.1.3_Quick_Start_Guide _v1.00_20180207.pdf VAB-820_Linux_BSP_v4.1.3_Development_Guide _v1.01_20180207.pdf Description Source code v4.1.3 patch file Description Yocto EVK system image and installation script files Description Quick Start Guide Development Guide VAB-820 Linux BSP content 1.1.1 Source Code Folder Contents VIA_iMX_Yocto2.0_SRC_v4.1.1.tar.bz2: A complete and static Yocto BSP including the VAB-820 meta-files and all the pre-downloaded required software packages to enable a complete offline build. VIA_iMX_Yocto2.0_patch_4.1.3.tar.gz: A complete and static Yocto BSP patch including the updated VAB-820 meta-files to enable a complete offline build. 1.1.2 Firmware Folder Contents VAB-820_Yocto2.0_BIN_v4.1.3.tar.gz: contains installation script files and the precompiled U-boot and image for evaluating the VAB-820 board. 1.1.3 Document Folder Contents VAB-820_Linux_EVK_v4.1.3_Quick_Start_Guide _v1.00_20180207.pdf: This Quick Start Guide provides an overview on how to boot the Linux EVK system image on the VAB-820 board and configure the supported hardware functions in the build. VAB-820_Linux_BSP_v4.1.3_Development_Guide_v1.00_20180207.pdf: This Development Guide explains how to set up the necessary build environment in order for users to customize the Linux kernel and create their own system image for the VAB-820 board. 1

VAB-820 Linux BSP v4.1.3 Development Guide 1.2 Version Information and Supported Features U-Boot version: 2015.04 Kernel version: 4.1.15. Evaluation image: OpenEmbedded-core built with Yocto 2.0 Jethro Development based on NXP fsl-yocto-l4.1.15_1.1.0-ga (Yocto 2.0 Jethro) Supports SPI with emmc or Micro SD boot (default) Supports HDMI and LVDS display Supports HDMI audio output Supports AUO LVDS capacitive touch panels (through USB interface) º º AUO 10.4 G104XVN01.0 (1024 768) º º AUO 7 G070VW01 V0 (800 480) Supports S-Video and CVBS Supports COM 1 DTE mode, COM 2 as debug port Supports 2 FlexCAN TX/RX Supports Gigabit Ethernet Supports Line-in, Line-out, Mic-in Supports VNT9271 USB Wi-Fi dongle Supports EMIO-1533 USB Wi-Fi module Supports EMIO-5531 USB Wi-Fi & Bluetooth module º º Supports Bluetooth A2DP and SPP profile Supports EMIO-1541 minipcie Wi-Fi module Supports EMIO-2531 minipcie Wi-Fi & Bluetooth module º º Supports Bluetooth A2DP and SPP profile Supports EMIO-2550 minipcie Mobile Broadband module Supports Watchdog, GPIO and RTC 2

2. Build Environment Setup VAB-820 Linux BSP v4.1.3 Development Guide This section guides you through setting up the build environment for development. All instructions are based on using Ubuntu 12.04 LTS and later versions. 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 Yocto development environment. The required packages can be installed using the bash script below: #/bin/bash # Install dependant packages $ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib buildessential chrpath socat $ sudo apt-get install libsdl1.2-dev xterm sed cvs subversion coreutils texi2html docbookutils python-pysqlite2 help2man make gcc g++ desktop-file-utils libgl1-mesa-dev libglu1-mesadev mercurial autoconf automake groff curl lzop asciidoc The tool to create images for use with the U-Boot boot loader, mkimage, is provided by different packages in Ubuntu 12.04 and in newer Ubuntu releases. On Ubuntu 12.04 install it as below. $ sudo apt-get install uboot-mkimage On Ubuntu 14.04 and newer versions install it as below. $ sudo apt-get install u-boot-tools 3

VAB-820 Linux BSP v4.1.3 Development Guide 3. Image Build The section explains how to use the source code to build and update the u-boot and image to the firmware installer on the VAB-820 board. 3.1 Extracting the VAB-820 BSP Use the following command to extract the contents of the base BSP. $ tar xvf VIA_iMX_Yocto2.0_SRC_v4.1.1.tar.bz2 3.2 Upgrading the BSP patch to v4.1.3 First, remove the via-release-bsp/sources folder the (VBA-820), next extract the BSP patch VIA_iMX_Yocto2.0_ patch_4.1.3.tar.gz, then finally patch the BSP into the /via-release-bsp/ folder. $ rm rf via-release-bsp/sources/ $ tar xvf VIA_iMX_Yocto2.0_patch_4.1.3.tar.gz C./via-release-bsp 3.3 Machine Configuration The via-setup-release.sh script creates the build directory with the Yocto configuration files for your target machine. This script has the following optional parameter: -b: set the name of the build directory. For example -b build-vab820 in the command below. $ cd via-release-bsp $ MACHINE=imx6qvab820 source via-setup-release.sh -b build-vab820 3.4 Building an SD Card Image This BSP provides the via-image-gui Yocto image as default. Use the bitbake command to create an SD Card compatible image. After the compilation, the via-release-bsp/build-vab820/tmp/deploy/images/imx6qvab820, directory will contain the resulting binaries, as shown in the table below. $ via-release-bsp/build-vab820$ bitbake via-image-gui Binary u-boot.imx zimage zimage-imx6q-vab820.dtb via-image-gui-imx6qvab820.sdcard Description U-Boot boot loader Kernel Device tree SD card image Extract EVK/VAB820_Yocto2.0_BIN_v4.1.3.tar.gz file. Binary files generated by bitbake Next to copy the new image folder to /sd_installer to replace the original image folder in order to update Firmware Installer. 4

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