DEVELOPMENT GUIDE VAB-630. Linux BSP v

Similar documents
DEVELOPMENT GUIDE VAB-630. Android BSP v

DEVELOPMENT GUIDE VAB-820. Android BSP v

DEVELOPMENT GUIDE VIA VAB-820. Android BSP v

DEVELOPMENT GUIDE AMOS-825. Android BSP v

DEVELOPMENT GUIDE AMOS-820. Linux BSP v

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

DEVELOPMENT GUIDE. ARTiGO A820. Linux BSP v

ARTiGO A600 Linux EVK v1.2.1

QUICK START GUIDE VAB-630. Android EVK v

QUICK START GUIDE VAB-600. Android BSP v

QUICK START GUIDE AMOS-820. Android BSP v

DS2 Products Auto-Update Tool BSP

WES 237A Project Part 1 Guide

QUICK START GUIDE ALTA DS 4K. Android EVK v

VAB-600 Linux BSP v1.2.1

Ingenic. Newton Android Development Guide

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

User Guide Yocto Linux. Board Support Package For Intel Quark

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

ALTA DS 2 ARTiGO A900 VAB-1000

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

Mars ZX3 Android manual. Antmicro

QUICK START GUIDE. VIA ARTiGO A820. Android EVK v

QUICK START GUIDE AMOS-825. Android EVK v

SCM EVK (SCM120

QUICK START GUIDE VAB-820. Android EVK v

Android ROM Porting: A Review

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

Zephyr Kernel Installation & Setup Manual

MAGPIE Installation Guide (version 1.0)

Q7M EVK (Q7M120

EM3188 Android5.1 User Manual

NanoPi K2. Introduction. Hardware Spec

MV V210 Android 4.0 Compilation

Installation Guide and Release Notes

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

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

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

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

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

QUICK START GUIDE AMOS-825. Linux BSP v

PROGRAMMING GUIDE. VIA Smart ETK SDK

Tizen TCT User Guide

ESP32-SOLO-1 OEM Installation Manual

Beaglebone green User Manual

A113X1 Development Kit

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

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

EM210 Linux User Manual

Contents 2. Contents

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

Moving Your Application on the Raspberry Pi to the UC-8100-LX Computer. 1 Background Requirement Overview System Environment...

QUICK START GUIDE VIA VAB-820. Android EVK v

UT163/UT165/UT190 USB Flash Disk Utility

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

PROGRAMMING GUIDE. VIA Smart ETK SDK

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

Idea6410 Ubuntu User Manual V 0.19

GS2K OV SDK User Guide. 1VV Rev

BE230E1. Software Programming Guide. Rev Bolymin, Inc. All Rights Reserved.

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

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

Developing on DragonBoard

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

ZC706 Built-In Self Test Flash Application April 2015

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

MV 4412 Android 4.0 Compilation

Introduction to the TenByTen6410

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

MV V310 Android 4.0 Compilation

REX-RED Community Android 4.3

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

i.mx 6UltraLite Evaluation Kit Quick Start Guide s datasheet has been downloaded from at this pag

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

Hands-on with the Sitara Linux SDK

QUICK START GUIDE. ARTiGO A820. Linux BSP v

TEGRA LINUX DRIVER PACKAGE (R15.BETA)

Operating System. Hanyang University. Hyunmin Yoon Operating System Hanyang University

ruby-on-rails-4 #ruby-onrails-4

StampA5D3x/PortuxA5/PanelA5. Quickstart Guide

PROGRAMMING GUIDE. VIA Smart ETK SDK. v

Digi Embedded Yocto 1.6. First Steps Guide

xpress Release Notes

Building Tizen Development Environment

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

IoT AppZone Release Notes

USER MANUAL ENT-610M

TrinityCore Documentation

MCU Bootloader Release Notes

STM32 F7xx Discovery Board Setup Guide

HC-3120 Linux-Ready Cortex-A8 Industrial 12 HMI Computing (Hardware) User Guide

Edimax Pro NMS Quick Installation Guide

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

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

NVIDIA CUDA GETTING STARTED GUIDE FOR LINUX

Installation of the PLCnext Technology SDK and Eclipse

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

Transcription:

DEVELOPMENT GUIDE VAB-630 Linux BSP v1.0.1 100-09182017-114400

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 09/18/2017 Initial release iii

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... 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 VAB-630 BSP... 5 3.2. Building the U-Boot Binary... 5 3.3. Building the Linux Kernel... 6 iv

1. Introduction This Development Guide explains how to setup the necessary build environment in order for users to customize the Linux kernel and create their own system image for VAB-630. The VAB-630 Linux BSP v1.0.1 is developed based on the debian-8.6.0-lxde-player (Debian 8.6) and it enables hardware features that are defined on the VAB-630 board. 1.1. BSP Package Contents There are four folders in the package as listed below. Source code folder Description VAB-630_Linux_source_code.zip Kernel source code and U-Boot source code Firmware folder Description VAB-630_Linux_EVK_v1.0.1.zip Debian EVK system image and installation script files Document folder Description VAB-630_Linux_BSP_v1.0.1_Development_Guide_ Development guide v1.00_20170918.pdf VAB-630_Linux_EVK_v1.0.1_Quick_Start_Guide_ Quick start guide v1.00_20170918.pdf Tools folder Description arm_201103_gcc4.5.2.tgz Toolchain VAB-630 Linux BSP contents 1.1.1. Source Code Folder Contents VAB-630_Linux_source_code.zip: A complete and static Linux BSP including the VAB-630 meta-files and all the pre-downloaded required software packages to enable a complete offline build. 1.1.2. Firmware Folder Contents VAB-630_Linux_EVK_v1.0.1.zip: contains installation script files and the precompiled U-boot and image for evaluating the VAB-630 board. 1.1.3. Document Folder Contents VAB-630_Linux_BSP_v1.0.1_ Development_Guide_v1.00_20170918.pdf: This Development Guide explains how to setup the necessary build environment in order for users to customize the Linux kernel and create their own system image for VAB-630. 1

VAB-630_Linux_EVK_v1.0.1_ Quick_Start_Guide_v1.00_20170918.pdf: The Quick Start Guide provides an overview on how to boot the Linux EVK system image on the VAB-630 board and configure the supported hardware functions in the build. 1.1.4. Tools Folder Contents arm_201103_gcc4.5.2.tgz: is a toolchain, which is a set of software development tools for building images for the VAB-630 board. 2

1.2. Version Information and Supported Features U-Boot version: 1.1.4 Kernel version: 3.4.5 Evaluation image: Debian 8.6 Development based on debian-8.6.0-lxde-player (Debian 8.6) Supports SPI with emmc boot Supports HDMI or LVDS display Supports ONation capacitive touch panel (through USB interface) o ONation 10.1 LVDS Panel VIA1001 OT101RBWDLT-00 (1280 800) Supports HDMI audio output Supports Micro USB 2.0 OTG port Supports Debug UART connector Supports 10/100Mbps Ethernet Supports Line-out and Mic-in Supports EMIO-2531 minipcie Wi-Fi & Bluetooth module o Supports Bluetooth A2DP and SPP profile Supports EMIO-5531 USB Wi-Fi & Bluetooth module o Supports Bluetooth A2DP and SPP profile Supports EMIO-2550 minipcie Mobile Broadband module Supports GPIO, UART and Watchdog timer 3

2. Build Environment Setup VAB-630 Linux BSP v1.0.1 Development Guide This section guides you through setting up the build environment for development on the host machine. All instructions are based on Ubuntu14.04 LTS x64. 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 Linux development environment. The required packages can be installed using the commands below. Extract the arm_201103_gcc4.5.2.tgz file to /usr/local/arm/ (If this folder does not exist in the system, please create it manually). $ sudo tar xzvf arm_201103_gcc4.5.2.tar.gz -C /usr/local/arm/ The cross compiler will be found in the /usr/local/arm/arm_201103_gcc4.5.2/ directory. Add the toolchain path in ~/.bashrc file. $ vi ~/.bashrc export PATH=/usr/local/arm/arm_201103_gcc4.5.2/mybin/:$PATH Make sure that the host machine is connected to the network and run the packages update. $ sudo apt-get update Install the required software packages for cross-compilation. $ sudo apt-get install git-core gnupg flex bison gperf build-essential \ zip curl zlib1g-dev libc6-dev lib32ncurses5-dev lib32z1 lib32ncurses5 lib32bz2-1.0 \ x11proto-core-dev libx11-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos \ python-markdown libxml2-utils u-boot-tools 4

3. Image Build This section explains how to build U-Boot and Kernel binary for the VAB-630 system. 3.1. Extracting the VAB-630 BSP The VAB-630_Linux_source_code.zip includes u-boot-1.1.4.tar.gz and Kernel_3.4.5.tar.gz. Use the following command to extract the contents of the BSP. $ unzip VAB-630_Linux_source_code.zip 3.2. Building the U-Boot Binary This section describes how to build the U-Boot image from the source code. Use the following command to extract the U-Boot source code. $ tar -xzvf u-boot-1.1.4.tar.gz In order to use the default configurations type the following command. $ cd /u-boot-1.1.4 $ make wmt_config To build the U-boot image with the ARM cross compiler. $ make -j8 zuboot When the process is completed, the zuboot.bin file will be stored in the u-boot-1.1.4 directory. 5

3.3. Building the Linux Kernel VAB-630 Linux BSP v1.0.1 Development Guide This section describes how to build the kernel binary from the source code. To begin, extract the kernel source code. $ tar -xzvf Kernel_3.4.5.tar.gz To use the default configuration and compile the kernel type the following command: $ cd /Kernel_3.4.5 $ make vab630_linux_defconfig $ make clean $ make -j8 ubin When the compilation process is completed, the uzimage.bin file will be stored in the Kernel_3.4.5 directory. After the compilation, the /u-boot-1.1.4/ and /Kernel_3.4.5/ directory will contain the resulting binary files, as shown in the table below. Binary files zuboot.bin uzimage.bin Description U-Boot boot loader Kernel for VAB-630 Binary files generated In order to install the Linux system on the VAB-630 board, please follow the commands below on how to copy the binary files into the VAB-630_Linux_EVK_V1.0.1 folder. First, change these file names from zuboot.bin to u-boot.bin. $ cd /u-boot-1.1.4 $ mv zuboot.bin u-boot.bin Next, extract the package from the VAB-630_Linux_EVK_V1.0.1.zip, and then copy u- boot.bin and uzimage.bin files into the VAB-630_Linux_EVK_V1.0.1 folder. $ cd /u-boot-1.1.4 $ cp f u-boot.bin VAB-630_Linux_EVK_v1.0.1/bspinst/u-boot.bin $ cd /Kernel_3.4.5 $ cp f boot.img VAB-630_Linux_EVK_v1.0.1/bspinst/uzImage.bin 6