DEVELOPMENT GUIDE QSM-8Q60. Linux BSP v

Similar documents
DEVELOPMENT GUIDE VAB-820. Linux BSP v

DEVELOPMENT GUIDE VAB-820. Linux BSP v4.1.2

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

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 VAB-630. Android EVK v

QUICK START GUIDE. ARTiGO A820. Linux BSP v

QUICK START GUIDE VIA VAB-820. Android EVK v

DS2 Products Auto-Update Tool BSP

User Guide Yocto Linux. Board Support Package For Intel Quark

Operating Guide. EPIA-P820 Mainboard

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

QUICK START GUIDE ALTA DS 4K. Android EVK v

Operating Guide. EPIA-P720 Mainboard

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

Operating Guide. EPIA-M850 Mainboard

Operating Guide VB8003 Mainboard

Operating Guide VB7007 Mainboard

Operating Guide. EPIA-P700 Mainboard

QUICK START GUIDE VAB-600. Android BSP v

QUICK START GUIDE AMOS-820. Android BSP v

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

Operating Guide EPIA EX-Series Mini-ITX Mainboard

Yocto Project components

Embedded M2M Software Testing

QUICK START GUIDE VAB-820. Android EVK v

RZ/G Verified Linux Package V2.1.0-RT

Operating Guide EPIA EN-Series Mini-ITX Mainboard

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

Operating Guide EPIA N-Series Nano-ITX Mainboard

Zephyr Kernel Installation & Setup Manual

SCM EVK (SCM120

Working with Yocto to Build Linux

YumaPro Yocto Linux Quickstart Guide

Using Openembedded with Snapdragon Flight

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

Ingenic. Newton Android Development Guide

Renesas Koelsch Hardware Setup and Software Installation

Working with Yocto to Build Linux

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

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

Q7M EVK (Q7M120

Oxalis Getting Started

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

Programming Guide. VIA Smart ETK SDK

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

A113X1 Development Kit

Meeting the Yocto Project

StreetWise IoT Solutions

BeBot - Software Installation Guide

EN-9235TX-32 Quick Installation Guide

Operating Guide EPIA-P710 Mainboard

i.mx31 PDK 1.3 to PDK 1.4 Revision Changes Linux

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

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

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

Yocto Project and OpenEmbedded training 3-day session

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

USER MANUAL ENT-610M

MAGPIE Installation Guide (version 1.0)

Building Embedded Linux images for VEST Development Platforms using Yocto

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

Digi Embedded Yocto 1.6. First Steps Guide

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

EN-9260TX-E User Manual

D1Y - Embedded Linux with Yocto

Building U-Boot in CodeWarrior ARMv8

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

USB Driver. Installation Guide

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

VAB-600 Linux BSP v1.2.1

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

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

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

GNU17V3 Setup Guide. Rev.2.0

Developing using C on imx Developer s Kits

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

VortiQa Enterprise Quick Start Guide

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

ASIX AX88178 and AX88772B/772A/760/772

Future Designs, Inc.

EM210 Linux User Manual

Building Tizen Development Environment

Install and Configure wxwidgets on Ubuntu

i.mx7dual L4.1.15_2.0.0

AT91SAM9G45-EVK Linux. User Manual

AVR32 UC3 Software Framework... User Manual

S1V3G340 External SPI-Flash Select Guide

MYD-Y6ULX Development Board

Transcription:

DEVELOPMENT GUIDE QSM-8Q60 Linux BSP v3.0.2 1.00-03052018-114500

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.

QSM-8Q60 Linux BSP v3.0.2 Development Guide Revision History Version Date Remarks 1.00 03/05/2018 Initial release iii

Table of Contents QSM-8Q60 Linux BSP v3.0.2 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... 1 1.1.4 Tools 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 QSM-8Q60 BSP... 4 3.2 Upgrading the BSP patch... 4 3.3 Machine Configuration... 4 3.4 Building a Firmware Installer... 4 iv

QSM-8Q60 Linux BSP v3.0.2 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 QSM-8Q60 and QSMDB2 carrier board. The QSM-8Q60 Linux BSP v3.0.2 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 QSM-8Q60 and QSMDB2 carrier board. 1.1 BSP Package Contents There are four folders in the package as listed below. Source_code VIA_iMX_Yocto2.0_SRC_v4.1.1.tar.bz2 VIA_iMX_Yocto2.0_patch_4.1.3.tar.gz Firmware folder QSM-8Q60_Yocto2.0_BIN_v3.0.2.tar.gz Document folder QSM-8Q60_Linux_EVK_v3.0.2_Quick_Start_Guide _v1.00_20180305.pdf QSM-8Q60_Linux_BSP_v3.0.2_Development_ Guide_v1.00_20180305.pdf Tools folder BT_Config.zip Source code BSP patch file Yocto EVK system image and installation script files Quick Start Guide Development Guide Contain Bluetooth configuring files AMOS-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 QSM-8Q60 and QSMDB2 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 QSM- 8Q60 and QSMDB2 meta-files to enable a complete offline build. 1.1.2 Firmware Folder Contents QSM-8Q60_Yocto2.0_BIN_v3.0.2.tar.gz: contains the sd_installer tool to create a system installer Micro SD card for installing a pre-compiled OpenEmbedded filesystem on the QSM-8Q60 module and used with the QSMDB2 carrier board. 1.1.3 Document Folder Contents QSM-8Q60_Linux_BSP_v3.0.2_Development_Guide_v1.00_20180305.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 QSM-8Q60 module and QSMDB2 carrier board. QSM-8Q60_Linux_EVK_v3.0.2_Quick_Start_Guide _v1.00_20180305.pdf: The Quick Start Guide provides an overview on how to boot the Linux EVK system image on the QSM-8Q60 module and configure the supported hardware functions and I/O defined on the QSMDB2 carrier board. 1.1.4 Tools Folder Contents BT_Config.zip: contains the three Bluetooth configuration files for A2DP support. 1

QSM-8Q60 Linux BSP v3.0.2 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) o AUO 10.4 G104XVN01.0 LVDS panel (1024 768) o AUO 7 G070VW01 V0 LVDS panel (800 480) Supports COM 1, COM 3 (TX/RX) and COM 2 as a debug port Supports COM 4, COM 5, COM 6 and COM 7 (RS-232/RS-485/RS-422) Supports two FlexCAN TX/RX Supports Gigabit Ethernet (LAN1) Supports 10/100Mbps Ethernet (LAN2) 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 & Bluetooth 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 QSM-8Q60 Linux BSP v3.0.2 Development Guide This section guides you through setting up the build environment for development. All instructions are based on using Ubuntu 12.04 LTS or higher 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: $ 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 the Ubuntu 12.04 install the code/text as below: $ sudo apt-get install uboot-mkimage On the Ubuntu 14.04 and newer versions install the code/text as below: $ sudo apt-get install u-boot-tools 3

QSM-8Q60 Linux BSP v3.0.2 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 QSM-8Q60 module and QSMDB2 carrier board. 3.1 Extracting the QSM-8Q60 BSP Use the following command to extract the contents of the base BSP folder. $ tar xvf VIA_iMX_Yocto2.0_SRC_v4.1.1.tar.bz2 3.2 Upgrading the BSP Patch First, remove the via-release-bsp/sources folder the (QSM-8Q60), 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-qsm8q60 in the command below. $ cd via-release-bsp $ MACHINE=imx6qsm8q60 source via-setup-release.sh -b build-qsm8q60 3.4 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 files. via-release-bsp/build-qsm8q60$ bitbake via-image-gui After the compilation, the via-release-bsp/build-qsm8q60/tmp/deploy/images/imx6qsm8q60/ FirmwareInstall/image directory will contain the resulting binaries, as shown in the table below. Binary u-boot.bin rootfs.tgz boot/ imx6q-vab820.dtb boot/ zimage U-Boot boot loader Root file system Device tree Kernel image Binary files generated by bitbake Extract the QSM-8Q60_Yocto2.0_BIN_v3.0.2.tar.gz file from EVK folder. Next, copy the new image folder to /sd_installer to replace the original image folder in order to update the 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