VIA Technologies ARTiGO A630 Development Manual

Linux evk v1.0.1

Advertisement

Quick Links

DEVELOPMENT GUIDE
ARTiGO A630
Linux EVK v1.0.1
1.00-08292017-093200

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ARTiGO A630 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for VIA Technologies ARTiGO A630

  • Page 1 DEVELOPMENT GUIDE ARTiGO A630 Linux EVK v1.0.1 1.00-08292017-093200...
  • Page 2 VIA Technologies, Inc. reserves the right the make changes to the products described in this manual at any time without prior notice.
  • Page 3 Revision History Version Date Remarks 1.00 08/29/2017 Initial release.
  • Page 4: Table Of Contents

    ARTiGO-A630 Linux EVK v1.0.1 Quick Start Guide Table of Content 1. Introduction ........................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.1.4 Tools Folder Contents ........................1 1.2 Version Information and Supported Features ..................
  • Page 5: Introduction

    ARTiGO A630 Linux BSP v1.0.1 Development Guide 1. Introduction This Development Guide explains how to build the Debian system image for the ARTIGO A630 system in order to begin evaluating the platform. The ARTiGO A630 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 ARTiGO A630 system. BSP Package Content There are four folders in the package as listed below. Source code folder Description ARTiGO_A630_Linux_source_code.zip Kernel source code and U-Boot source code Firmware folder Description ARTiGO_A630_Linux_EVK_v1.0.1.zip Debian EVK system image and installation script files Document folder Description ARTiGO_A630_Linux_BSP_v1.0.1_Development_ Development guide Guide_v1.00_20170829.pdf ARTiGO_A630_Linux_EVK_v1.0.1_Quick_Start_ Quick Start Guide Guide_v1.00_20170829.pdf...
  • Page 6: Version Information And Supported Features

    ARTiGO A630 Linux BSP v1.0.1 Development Guide Version Information and Supported Features • U-Boot version: 1.1.4 • Kernel version: 3.4.5 • Evaluation image: Debian 8.6 • Development based on WM8980 • Supports SPI with eMMC boot • Supports HDMI display • 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-5531 USB Wi-Fi & Bluetooth module º Supports Bluetooth A2DP and SPP profile • Supports EMIO-2531 miniPCIe Wi-Fi & Bluetooth module º Supports Bluetooth A2DP and SPP profile •...
  • Page 7: Build Environment Setup

    ARTiGO A630 Linux BSP v1.0.1 Development Guide 2. Build Environment Setup 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. 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.
  • Page 8: Image Build

    ARTiGO A630 Linux BSP v1.0.1 Development Guide 3. Image Build This section explains how to build U-Boot and Kernel binary for the ARTiGO A630 system. Extracting the ARTiGO A630 BSP The ARTiGO_A630_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 ARTiGO_A630_Linux_source_code.zip 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.
  • Page 9: Building The Linux Kernel

    ARTiGO A630 Linux BSP v1.0.1 Development Guide Building the Linux Kernel 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 Description zuboot.bin U-Boot boot loader uzImage.bin Kernel for ARTiGO A630...
  • Page 10 Taiwan Headquarters Japan China 1F, 531 Zhong-zheng Road, 940 Mission Court 3-15-7 Ebisu MT Bldg. 6F, Tsinghua Science Park Bldg. 7 Xindian Dist., New Taipei City 231 Fremont, CA 94539, Higashi, Shibuya-ku No. 1 Zongguancun East Road, Taiwan Tokyo 150-0011 Haidian Dist., Beijing, 100084 Japan China...

Table of Contents