Computer-on-module and carrier board reference (2 pages)
Summary of Contents for VIA Technologies QSM-8Q60
Page 1
QUICK START GUIDE QSM-8Q60 Linux EVK v3.0.1 1.00-07312017-163600...
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.
1. Introduction This 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. The QSM-8Q60 Linux BSP v3.0.1 is developed based on the NXP fsl-yocto- L4.1.15_1.1.0-ga (Yocto 2.0 Jethro) and it enables hardware features that are defined on...
QSM-8Q60 Linux EVK v3.0.1 Quick Start 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) •...
$ tar xvf QSM8Q60_Yocto2.0_BIN_v3.0.1.tar.gz $ cd sd_installer/ $ sudo ./mk_sd_installer.sh /dev/<device name> --yocto Next, on the QSM-8Q60, set the Micro SD/SPI boot jumper (J11) to the Micro SD position as shown below. Micro SD J11: Micro SD/SPI boot jumper...
$ tar xvf QSM8Q60_Yocto2.0_BIN_v3.0.0.tar.gz $ cd sd_installer/ $ sudo ./mk_sd_installer.sh /dev/<device name> Next, on the QSM-8Q60, set the Micro SD/SPI boot jumper (J11) to the Micro SD position as shown below. Micro SD J11: Micro SD/SPI boot jumper...
Page 9
QSM-8Q60 Linux EVK v3.0.1 Quick Start Guide In order to boot from the SPI ROM make sure the Micro SD/SPI boot jumper (J11) is set to SPI ROM Micro SD J11: Micro SD/SPI boot jumper Micro SD/SPI boot jumper diagram Next, connect an HDMI display, and power on the device to initiate the boot process.
GPIO, and configuring RTC. 3.1. Setting Up U-Boot Parameters The first step is to connect the host machine and the QSM-8Q60 through the COM 2 port of the QSMDB2 carrier board. Use a serial port communication program such as PuTTY, GtkTerm, or Minicom, to configure the serial port setting and connect to the debug console.
Page 11
QSM-8Q60 Linux EVK v3.0.1 Quick Start Guide When prompted, press any key to stop the boot process and enter the U-Boot console as illustrated by the screenshot below. U-Boot 2015.04-imx_v2015.04_4.1.15_1.0.0_ga+gd7d7c43 (Feb 15 2017 - 17:10:38) CPU: Freescale i.MX6DL rev1.3 at 996 MHz...
=> reset 3.3. Using the OpenEmbedded Console The first step is to connect the host machine and the QSM-8Q60 through the COM 2 port of the QSMDB2 carrier board. Use a serial port communication program such as PuTTY, GtkTerm, or Minicom, to connect to the debug console. There you will be able to see the U-Boot boot log and adjust settings in the U-Boot console.
QSM-8Q60 Linux EVK v3.0.1 Quick Start Guide 3.4. Setting Up Display Device The QSM-8Q60 Linux BSP v3.0.1 supports the following display devices: • HDMI monitor • AUO 10.4” G104XVN01.0 LVDS panel (1024x768) • AUO 7” G070VW01 V0 LVDS panel (800x480) 3.4.1.
Page 14
QSM-8Q60 Linux EVK v3.0.1 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: =>...
QSM-8Q60 Linux EVK v3.0.1 Quick Start Guide 3.5. Setting up COM 4, COM 5, COM 6 and COM 7 The COM 4, COM 5, COM 6 and COM 7 pin headers can support RS-232/RS-422/RS-422 modes. For RS-232 mode the COM ports can use all pins of the pin header. For RS-422 and RS-485 modes, they can use only pins no.
Page 16
Start a serial communication program on the host machine with the same communication settings using the appropriate serial device. Afterwards the host machine and the QSM-8Q60 and QSMDB2 carrier board will be able to communicate through the programs (for example sending a keypress on one machine will be shown on the...
QSM-8Q60 Linux EVK v3.0.1 Quick Start Guide 3.6. Configuring FlexCAN The CAN bus connector of the QSM-8Q60 and QSMDB2 carrier board supports two CAN bus ports. CAN bus connector diagram Signal CANH1 CANL2 CANH2 CANL1 CAN bus connector pinout table...
Page 18
QSM-8Q60 Linux EVK v3.0.1 Quick Start Guide Please note that you need to first disable the CAN bus then set the CAN bus bitrate. The CAN bus bitrate should be between 5000 < [BRT_value] < 1000000. The CAN bus 1 is can0 and the CAN bus 2 is can1.
QSM-8Q60 Linux EVK v3.0.1 Quick Start Guide 3.7. Configuring Watchdog Timer A Watchdog timer is an electronic timer that is used to detect and recover from system malfunctions. The wdt_driver_test.out provides an application to configure the Watchdog timer. To enable the Watchdog timer with a default timeout of 60 seconds, use the following command: $ /unit_tests/wdt_driver_test.out enable...
QSM-8Q60 Linux EVK v3.0.1 Quick Start Guide 3.8. Setting Up GPIO The GPIO pin header on the QSMDB2 carrier board consists of 40 pins. The following section explains setting up these pins for input/output communication. GPIO pin header diagram The echo value of GPIO pins are listed below:...
QSM-8Q60 Linux EVK v3.0.1 Quick Start Guide 3.8.1. Setting Up GPI Mode To set a pin to “input” mode (GPI), use the following command (here is the example for GPIO pin 1): $ echo in > /sys/class/gpio/gpio208/direction To read the GPI input value, use the following command: $ cat /sys/class/gpio/gpio208/value 3.8.2.
The RTC (Real-Time Clock) keeps track of the current time values. The time values include the year, month, date, hours, minutes and seconds. To configure the RTC on the QSM-8Q60, set the system time with the Linux date command shown below: $ date mmddHHMMYYYY...
4. Accessories This section explains how to install and configure the various EMIO wireless modules available for the QSM-8Q60 and QSMDB2 carrier board. 4.1. Configuring the VNT9271 USB Wi-Fi Dongle The VNT9271 USB Wi-Fi dongle supports Wi-Fi functionality through USB port connection.
QSM-8Q60 Linux EVK v3.0.1 Quick Start Guide 4.2. Configuring the EMIO-1541 miniPCIe Wi-Fi Module The EMIO-1541 module supports Wi-Fi through the onboard miniPCIe slot. 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.
QSM-8Q60 Linux EVK v3.0.1 Quick Start Guide 4.3. Configuring the EMIO-2531 miniPCIe Wi-Fi & BT Module The EMIO-2531 module supports Wi-Fi and Bluetooth functionality through the onboard miniPCIe slot. 4.3.1. Connecting to the Internet The first step is to insert the EMIO-2531 module into the miniPCIe slot. After installing the EMIO-2531 module connect the provided antenna to the module.
QSM-8Q60 Linux EVK v3.0.1 Quick Start Guide 4.3.2. Enabling Bluetooth The following section explains setting up the Advanced Audio Distribution Profile (A2DP) and Serial Port Profile (SPP). 4.3.2.1. Setting Up Bluetooth A2DP Profile The first step is to extract to BT_Config.zip file.
QSM-8Q60 Linux EVK v3.0.1 Quick Start Guide The default audio output setting for the QSM-8Q60 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 28
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 QSM-8Q60 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 QSM-8Q60 and QSMDB2 carrier board.
Software Flow Control : No +--------------------------------------------------------------+ Serial port setting of QSM-8Q60 and QSMDB2 carrier board When the setting is completed, type the following GPS AT commands into Minicom: AT+UGPRF=1, AT+UGRMC=1, AT+UGGSV=1, AT+UGZDA=1, and AT+UGPS=1,0 Wait for the “OK” message before sending the next AT command.
Need help?
Do you have a question about the QSM-8Q60 and is the answer not in the manual?
Questions and answers