Fanless low-power platform for edge ai applications with mediatek genio 350 quad-core processor (43 pages)
Summary of Contents for VIA Technologies VAB-820
Page 1
QUICK START GUIDE VAB-820 Linux BSP v3.2.0 1.00-12292016-160000...
Page 2
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.
Page 3
VAB-820 Linux BSP v3.2.0 Quick Start Guide Revision History Version Date Remarks 1.00 12/20/2016 Initial release...
VAB-820 board using Yocto with an OpenEmbedded filesystem. The VAB-820 Linux BSP v3.0.2 is developed based on the NXP fsl-yocto-3.14.28_1.0.0 (Yocto 1.7 Dizzy) and enables hardware features that are defined on the VAB-820 board. 1.1. Package Contents There are three folders in the package as listed below.
VAB-820 Linux BSP v3.2.0 Quick Start Guide 1.1.3. EVK Folder Contents via-image-gui-imx6qvab820.sdcard: is the precompiled image for evaluating the VAB-820 system with an OpenEmbedded filesystem. u-boot.imx: is the U-Boot boot loader file which can be flashed to either the onboard SPI ROM or a Micro SD Card.
VAB-820 Linux BSP v3.2.0 Quick Start Guide 1.2. Version Information and Supported Features • U-Boot version: 2014.04 • Kernel version: 3.14.28 • Evaluation image: OpenEmbedded-core built with Yocto 1.7 Dizzy • Development based on NXP fsl-yocto-3.14.28_1.0.0 (Yocto 1.7 Dizzy) • Supports SPI with eMMC or Micro SD boot (default) •...
Important: Make sure you are writing to the correct device or the host system environment could be damaged. $ sudo dd if=via-image-gui-imx6qvab820.sdcard of=/dev/<device name> bs=1M conv=fsync Next, on the VAB-820, set the boot select jumper (J11) to the Micro SD position as shown below. Micro SD...
VAB-820 Linux BSP v3.2.0 Quick Start Guide 2.2. Booting from the SPI ROM and eMMC The VAB-820 supports booting from the SPI ROM while loading the kernel and root filesystem from eMMC. The first step is to prepare a Micro SD card with the default image according to section 2.1.
VAB-820 Linux BSP v3.2.0 Quick Start Guide 2.3. Setting Up U-Boot Parameters The first step is to connect the host machine and the VAB-820 through the COM 2 connector (J5). Use a serial port communication program such as PuTTY, GtkTerm, or Minicom to configure serial port setting and connect to the debug console.
VAB-820 Linux BSP v3.2.0 Quick Start Guide Next, power on the VAB-820 to initiate the boot process. When prompted, press any key to stop the boot process and enter the U-Boot console as illustrated by the screenshot below. U-Boot 2014.04 (Nov 19 2015 - 18:49:13)VAB820 ver:3.2.0 CPU: Freescale i.MX6Q rev1.2 at 996 MHz...
VAB-820 Linux BSP v3.2.0 Quick Start Guide 2.5. Using the OpenEmbedded Console The first step is to connect the host machine and the VAB-820 through the COM 2 connector (J5). Use a serial port communication program such as PuTTY, GtkTerm, or Minicom to connect to the debug console.
VAB-820 Linux BSP v3.2.0 Quick Start Guide 3. Build Environment Setup This section guides you through setting up the build environment for development. All instructions are based on using Ubuntu 12.04 LTS and in newer Ubuntu 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.
VAB-820 Linux BSP v3.2.0 Quick Start Guide 4. Image Build 4.1. Extracting the VAB-820 BSP Use the following command to extract the contents of the BSP. $ tar xvf VIA_iMX_Yocto1.7_SRC_v3.2.0.tar.bz2 4.2. Machine Configuration The via-setup-release.sh script creates the build directory with the Yocto configuration files for your target machine.
VAB-820 Linux BSP v3.2.0 Quick Start Guide 5. Hardware Functions 5.1. Setting Up Display Device The VAB-820 Linux BSP v3.0.2 supports the following display devices: HDMI monitor AUO 10.4” G104XVN01.0 LVDS panel (1024 x 768) AUO 7” G070VW01 V0 LVDS panel (800 x 480) 5.1.1.
Page 17
VAB-820 Linux BSP v3.2.0 Quick Start Guide To set the AUO 10.4” G104XVN01.0 LVDS panel as the display output, use the following command: => run o_lvdsg104 => saveenv In order to confirm the settings are correct use the following command to list the new U-Boot parameters: =>...
5.2. Setting Up Dual Displays An HDMI monitor and an LVDS panel can be used to create a dual display set up for the VAB-820, with support for clone and extension modes. HDMI monitor and AUO 10.4” G104XVN01.0 LVDS panel HDMI monitor and AUO 7”...
VAB-820 Linux BSP v3.2.0 Quick Start Guide 5.2.3. Setting Video Playback in Extension Mode There are four panel configurations supported in extension mode. Follow the commands below for your desired set up. Extension mode configuration 1: To set this configuration, use the following command: # xrandr –output HDMI --left-of LVDS...
VAB-820 Linux BSP v3.2.0 Quick Start Guide Extension mode configuration 4: To set this configuration, use the following command: # xrandr –output HDMI --below LVDS To play video on an HDMI monitor and LVDS panel in extension mode, use the following command: # gst-launch playbin2 uri=file:///$file2 video-sink="imxv4l2sink device=/dev/video17 disp-...
VAB-820 Linux BSP v3.2.0 Quick Start Guide 5.3. Setting Up the Video-in The VAB-820 supports two video inputs. The composite RCA jack is a CVBS signal input and the S-VIDEO1 pin header is an S-Video signal input. The following steps are for video-in function verification.
VAB-820 Linux BSP v3.2.0 Quick Start Guide For example, to save the video-in video as a 10-second MP4 file into /home folder with a filename demo_1.mp4, use the following command: gst-launch-0.10 imxv4l2src input=1 num-buffers=300 vpuenc codec=6 ffmux_mov filesink location=/home/demo_1.mp4 To play the saved video file, use the following command: # gst-launch-0.10 playbin2 uri=file:/ <path/filename.mp4>...
Page 23
VAB-820 Linux BSP v3.2.0 Quick Start Guide If you need to display the video-in source on the screen and record the feed at the same time, use the following command: # gst-launch-0.10 imxv4l2src input=2 num-buffers=900 queue-size=30 ! tee name=t ! queue !
VAB-820 Linux BSP v3.2.0 Quick Start Guide 5.4. Configuring FlexCAN The CAN/COM 2 connector (J5) of the VAB-820 supports debug port (COM 2) and two CAN bus ports. The CAN bus supports CAN protocol specification Version 2.0 B while the COM 2 supports TX/RX for debugging purposes only.
Page 25
VAB-820 Linux BSP v3.2.0 Quick Start Guide # cansend can0 <ID>#<Data> <ID>: Device ID of Can bus <Data>: Send out data Use the candump command to receive data from CAN bus 1: # candump can0 &...
VAB-820 Linux BSP v3.2.0 Quick Start Guide 5.5. Configuring the VNT9271 USB Wi-Fi Dongle / EMIO- 1533 USB Wi-Fi Module The VNT9271 USB Wi-Fi dongle and EMIO-1533 module support Wi-Fi function. 5.5.1. Connecting to the Internet The first step is to insert the VNT9271 USB Wi-Fi dongle into a USB port or connect the EMIO-1533 module to the onboard USB pin (J8) using the USB cable (P/N 99G3- 190042).
Page 27
VAB-820 Linux BSP v3.2.0 Quick Start Guide When the boot process is completed, click on the “Connection Manager” icon to configure WLAN. Connection Manager icon diagram When the connection is created, connect to the internet through your web browser.
The first step is to insert the EMIO-1541 module into the miniPCIe slot. After installing the module connect the provided antenna to the module. Next, make sure to unplug any LAN cables or USB Wi-Fi dongles you have installed. Finally, power on the VAB-820. Inserting the EMIO-1541 module When the boot process is completed, click on the “Connection Manager”...
VAB-820 Linux BSP v3.2.0 Quick Start Guide 5.7. Configuring the EMIO-2531 miniPCIe / EMIO-5531 USB Wi-Fi & Bluetooth Module The EMIO-2531 miniPCIe Wi-Fi & Bluetooth module and EMIO-5531 USB Wi-Fi & Bluetooth module support Wi-Fi and Bluetooth functions. 5.7.1. Connecting to the Internet...
Page 30
VAB-820 Linux BSP v3.2.0 Quick Start Guide When the boot process is completed, click on the “Connection Manager” icon to configure WLAN. Connection Manager icon diagram When the connection is created, connect to the internet through your web browser.
(A2DP) and Serial Port Profile (SPP). 5.7.2.1. Setting Up Bluetooth A2DP Profile To add A2DP support to the VAB-820, first copy and replace the pulseaudio-system.conf, bluetooth.conf to the /etc/dbus-1/system.d folder. Next, copy and replace the system.pa files to the /etc/pulse/folder. These files are located in the EVK/BT_Config folder of the BSP.
VAB-820 Linux BSP v3.2.0 Quick Start Guide The default audio output setting for the VAB-820 is HDMI device. To list all the available audio output devices, use the following command: $ pactl list short sinks 0 alsa_output.platform-sound-hdmi.23.analog-stereo module-alsa-card.c s16le 2ch 48000Hz SUSPENDED 1 alsa_output.platform-sound.22.analog-stereo...
Page 33
Start a serial communication program on the host machine with the same communication settings using the appropriate Bluetooth SPP device. Afterwards the Bluetooth SPP device and the VAB-820 will be able to communicate through the programs (for example sending a keypress on one machine should be shown on the...
EMIO-2550 module into the miniPCIe slot. After installing the module connect the provided antenna to the module. Next, make sure to unplug any LAN cables or USB Wi- Fi dongles you have installed. Finally, power on the VAB-820. Inserting the EMIO-2550 module...
VAB-820 Linux BSP v3.2.0 Quick Start Guide 5.8.2. Enabling GPS To configure the GPS function of the module requires the use of the Minicom serial communication program. Open the Minicom serial communication program with the following command: $ minicom -s...
VAB-820 Linux BSP v3.2.0 Quick Start Guide 5.9. Configuring Watchdog Timer The wdt_driver_test.out provides an application to configure the Watchdog timer. To enable the Watchdog with the default timeout (60 seconds), use the following command: $ /unit_tests/wdt_driver_test.out enable wdt To change the timeout <value> and the system reboot <value> (seconds), use the following command: $ /unit_tests/wdt_driver_test.out set_timeout <value>...
VAB-820 Linux BSP v3.2.0 Quick Start Guide 5.10. Setting Up GPIO The DIO port on the VAB-820 consists of 9 pins. The following section explains setting up these pins for input/output communication J7 Pin Header diagram 5.10.1. Setting Up DIO Port for GPIO Functionality...
VAB-820 Linux BSP v3.2.0 Quick Start Guide $ echo "in" > /sys/class/gpio/gpio7/directio To read the GPI input value, use the following command: $ cat /sys/class/gpio/gpio203/value 5.10.3. Setting Up GPO Mode To set a pin to “output” mode (GPO), use the following command (here is the example for GPIO pin 1): $ echo "out"...
Need help?
Do you have a question about the VAB-820 and is the answer not in the manual?
Questions and answers