DEVELOPMENT GUIDE AMOS-820. Linux BSP v

Similar documents
DEVELOPMENT GUIDE VAB-820. Linux BSP v4.1.2

DEVELOPMENT GUIDE VAB-820. Linux BSP v

DEVELOPMENT GUIDE QSM-8Q60. Linux BSP v

DEVELOPMENT GUIDE. ARTiGO A820. Linux BSP v

DEVELOPMENT GUIDE VIA AMOS-825. Linux BSP v

DEVELOPMENT GUIDE VAB-630. Linux BSP v

DEVELOPMENT GUIDE VAB-820. Android BSP v

DEVELOPMENT GUIDE VIA VAB-820. Android BSP v

DEVELOPMENT GUIDE VAB-630. Android BSP v

DEVELOPMENT GUIDE AMOS-825. Android BSP v

QUICK START GUIDE AMOS-825. Linux BSP v

ARTiGO A600 Linux EVK v1.2.1

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

DS2 Products Auto-Update Tool BSP

User Guide Yocto Linux. Board Support Package For Intel Quark

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

QUICK START GUIDE AMOS-820. Android BSP v

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

QUICK START GUIDE ALTA DS 4K. Android EVK v

QUICK START GUIDE VAB-600. Android BSP v

Yocto Project components

QUICK START GUIDE AMOS-825. Android EVK v

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

QUICK START GUIDE. VIA ARTiGO A820. Android EVK v

QUICK START GUIDE VAB-820. Android EVK v

Embedded M2M Software Testing

RZ/G Verified Linux Package V2.1.0-RT

Using Openembedded with Snapdragon Flight

YumaPro Yocto Linux Quickstart Guide

Working with Yocto to Build Linux

Zephyr Kernel Installation & Setup Manual

Working with Yocto to Build Linux

SCM EVK (SCM120

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

QUICK START GUIDE VIA VAB-820. Android EVK v

Renesas Koelsch Hardware Setup and Software Installation

Meeting the Yocto Project

Q7M EVK (Q7M120

Oxalis Getting Started

BeBot - Software Installation Guide

Yocto Project and OpenEmbedded training 3-day session

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

Building Embedded Linux images for VEST Development Platforms using Yocto

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

Building U-Boot in CodeWarrior ARMv8

VAB-600 Linux BSP v1.2.1

i.mx7dual L4.1.15_2.0.0

A113X1 Development Kit

MAGPIE Installation Guide (version 1.0)

Ingenic. Newton Android Development Guide

Digi Embedded Yocto 1.6. First Steps Guide

Developing using C on imx Developer s Kits

Installation Guide and Release Notes

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

USER MANUAL AMOS-820. Fanless ultra-compact quad-core ARM system ruggedized for extreme environments

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

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

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

Getting Started with BeagleBoard xm

PetaLinux Tools Documentation

PROGRAMMING GUIDE. VIA Smart ETK SDK

NVIDIA CUDA GETTING STARTED GUIDE FOR LINUX

EM210 Linux User Manual

Install and Configure wxwidgets on Ubuntu

LotOS Framework. Getting Started Guide for Banana Pi. Copyright (C) 2015 ilbers GmbH Revision 1.1,

MV V310 Android 4.0 Compilation

NVIDIA CUDA GETTING STARTED GUIDE FOR LINUX

Tizen TCT User Guide

Idea6410 Ubuntu User Manual V 0.19

PROGRAMMING GUIDE. VIA Smart ETK SDK. v

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

TEGRA LINUX DRIVER PACKAGE (R15.BETA)

UT163/UT165/UT190 USB Flash Disk Utility

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

COUCHDB - INSTALLATION

Linux. For BCT TM1 / HB5. User Guide. Document Reference: BCTTM1HB5 Linux User Guide. Document Issue: 1.2. Associated SDK release: 1.

UM2375 User manual. Linux driver for the ST25R3911B/ST25R391x high performance NFC frontends. Introduction

MV V210 Android 4.0 Compilation

PROGRAMMING GUIDE. VIA Smart ETK SDK

Matrix-710. Linux-Ready Cortex-A5 Industry IoT Gateway. Hardware Guide. Version: Nov.

QCast Mirror - QP20 HDMI Wireless Dongle User Manual

Building Tizen Development Environment

IoTivity Development on ARTIK 530s

Introduction to the Yocto Project. Developer s perspective

ALTA DS 2 ARTiGO A900 VAB-1000

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

REX-RED Community Android 4.3

SAMSUNG ELECTRONICS RESERVES THE RIGHT TO CHANGE PRODUCTS, INFORMATION AND SPECIFICATIONS WITHOUT NOTICE. Products and specifications discussed

D1Y - Embedded Linux with Yocto

WES 237A Project Part 1 Guide

Cyclone V SoC PCI-Express Root Port Example Design. Application Note

Intel Parallel Studio XE 2011 SP1 for Linux* Installation Guide and Release Notes

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

Quick Start Guide Multisensory Enablement Kit i.mx 8QuadXPlus MEK CPU Board. Based on i.mx 8QuadXPlus Applications Processor

1. Install a Virtual Machine Download Ubuntu Create a New Virtual Machine Seamless Operation between Windows an Linux...

Matrix-700 Linux-Ready Cortex-A5 Industry IoT Gateway Hardware Guide

Hands-on with the Sitara Linux SDK

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

Transcription:

DEVELOPMENT GUIDE AMOS-820 Linux BSP v4.1.1 1.00-05242017-134700

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

Revision History Version Date Remarks 1.00 05/24/2017 Initial release iii

Table of Contents 1. Introduction... 1 1.1. 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.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 AMOS-820 BSP... 4 3.2. Machine Configuration... 4 3.3. Building a Firmware Installer... 4 iv

1. Introduction The Development Guide explains how to build the Yocto system image on the AMOS- 820 system. The AMOS-820 Linux BSP v4.1.1 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 AMOS-820 system. 1.1. Package Contents There are three folders in the package as listed below. Source code folder Description VIA_iMX_Yocto2.0_SRC_v4.1.1.tar.bz2 Source code Firmware folder Description VAB-820_Yocto2.0_BIN_v4.1.1.tar.gz Yocto EVK system image and installation script files Document folder Description AMOS-820_Linux_BSP_v4.1.1_Quick_Start_Guide Quick Start Guide _v1.00_20170524.pdf AMOS-820_Linux_BSP_v4.1.1_Development_Guide Development Guide _v1.00_20170524.pdf AMOS-820 Linux BSP contents 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. 1.1.2. Firmware folder Contents VAB-820_Yocto2.0_BIN_v4.1.1.tar.gz: contains installation script files and the precompiled U-boot and image for evaluating the AMOS-820 system with an OpenEmbedded filesystem. 1.1.3. Document Folder Contents AMOS-820_Linux_BSP_v4.1.1_Quick_Start_Guide _v1.00_20170524.pdf: The Quick Start Guide provides an overview how to boot the Android EVK system image on the AMOS- 820 board and configure the supported hardware function in the build AMOS-820_Linux_BSP_v4.1.1_Development_Guide_v1.00_20170524: The Development Guide explains how to build the Yocto system image on the AMOS-820 system 1

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 display Supports HDMI audio output Supports CVBS Supports COM1 DTE mode, COM2 as debug port Supports 2 FlexCAN TX/RX Supports Gigabit Ethernet Supports Line-in, Line-out, and Mic-in Supports VNT9271 USB Wi-Fi dongle Supports EMIO-1541 minipcie Wi-Fi module Supports EMIO-2531 minipcie Wi-Fi & BT module o Supports Bluetooth A2DP and SPP profile Supports EMIO-2550 minipcie Mobile Broadband module Supports Watchdog Timer, GPIO and RTC 2

2. Build Environment Setup AMOS-820 Linux BSP v4.1.1 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- mesa-dev 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

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 AMOS-820 board. 3.1. Extracting the AMOS-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. 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.3. Building a Firmware Installer This BSP provides the via-image-gui Yocto image as default. Use the bitbake command to create the U-boot and image file. $ via-release-bsp/build-vab820$ bitbake via-image-gui After the compilation, the via-release-bsp/buildvab820/tmp/deploy/images/imx6qvab820/firmwareinstall/image, directory will contain the resulting binaries, as shown in the table below. Binary Description u-boot.bin U-Boot boot loader rootfs.tgz Root file system boot/ imx6q-vab820.dtb device tree boot/ zimage Kernel image Binary files generated by bitbake Extract EVK/ VAB820_Yocto2.0_BIN_v4.1.1.tar.gz file. Next to copy the new image folder to /sd_installer to replace the original image folder in order to update Firmware Installer. 4