VIA Technologies SOM-9X50-STK Quick Start Manual

Hide thumbs Also See for SOM-9X50-STK:

Advertisement

Quick Links

QUICK START GUIDE
VIA SOM-9X50-STK
Yocto 3.1 EVK
1.01-15042022

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SOM-9X50-STK and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for VIA Technologies SOM-9X50-STK

  • Page 1 QUICK START GUIDE VIA SOM-9X50-STK Yocto 3.1 EVK 1.01-15042022...
  • 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 VIA SOM-9X50-STK Yocto 3.1 EVK Quick Start Guide Revision History Version Date Remarks 1.01 15/04/2022 Updated introduction and product naming 1.00 22/02/2022 Initial release...
  • Page 4: Table Of Contents

    VIA SOM-9X50-STK Yocto 3.1 EVK Quick Start Guide Table of Contents Introduction ..............................1 EVK Package Contents ........................... 1 1.1.1 Firmware Folder Contents ......................1 1.1.2 Document Folder Contents ......................1 1.1.3 Tool Folder Contents ........................1 Version Information and Supported Features ..................2 Image Installation ............................
  • Page 5: Introduction

    VIA SOM-9X50-STK Yocto 3.1 EVK Quick Start Guide 1. Introduction This Quick Start Guide provides an overview on how to boot the Yocto image for the VIA SOM-9X50-STK and configure the supported hardware functions in the build. Note: The VIA SOM-9X50-STK includes the VIA SOM-9X50 module and the VIA VAB-950 reference carrier board.
  • Page 6: Version Information And Supported Features

    VIA SOM-9X50-STK Yocto 3.1 EVK Quick Start Guide 1.2 Version Information and Supported Features • Kernel version: 4.14.141 • Evaluation image: Yocto 3.1 • Development based on MediaTek Yocto 3.1 BSP • Supports eMMC boot • Supports HDMI display •...
  • Page 7: Image Installation

    Then connect the Windows 10 host machine and the VIA SOM-9X50-STK through the Micro USB 2.0 port using the Micro USB cable. Micro USB 2.0 port diagram Next, on the VIA SOM-9X50-STK, set the two OS image jumpers (J7 and J5) to download mode as shown in the diagram below. OS image jumpers diagram...
  • Page 8 VIA SOM-9X50-STK Yocto 3.1 EVK Quick Start Guide Extract the VIA_SOM-9X50-STK_Yocto_3.1_EVK.zip file on your Windows 10 host machine. To install the image, use the following command: D:\VIA_SOM-9X50-STK_Yocto_3.1_EVK>set PATH=D:\platform-tools;%PATH% D:\VIA_SOM-9X50-STK_Yocto_3.1_EVK>viaflash.exe ++++++++++++++++++++++++++++++++++++++++++++++++++++ VIAFlash version v1.0.0 (built: Feb 10 2022 09:53:25 UTC) ++++++++++++++++++++++++++++++++++++++++++++++++++++...
  • Page 9 VIA SOM-9X50-STK Yocto 3.1 EVK Quick Start Guide system.ext4 : OK logo.bmp : OK userdata.ext4 : OK ++++++++++++++++++++++++++++++++++++++++++++++++++++ ============================================= Start to flash images --> Yocto ============================================= Sending 'preloader' (283 KB) OKAY [ 0.046s] Writing 'preloader' OKAY [ 0.016s] Finished. Total time: 0.180s...
  • Page 10 VIA SOM-9X50-STK Yocto 3.1 EVK Quick Start Guide (bootloader) display: hdmi (bootloader) display: hdmi (bootloader) display: hdmi Sending 'spmfw' (38 KB) OKAY [ 0.003s] Writing 'spmfw' OKAY [ 0.005s] Finished. Total time: 0.030s (bootloader) display: hdmi (bootloader) display: hdmi (bootloader)
  • Page 11 If you have already installed the image, use the following command to enter the Fastboot Mode on your Windows 10 host machine. D:\platform-tools>adb reboot bootloader Unplug the AC-to-DC power adapter to power off the VIA SOM-9X50-STK. Set the two OS image jumpers (J7 and J5) back to the normal mode setting. OS image jumpers diagram Unplug the Micro USB cable, press the Power Button for 2 seconds, then release it to power on the VIA SOM- 9X50-STK.
  • Page 12: Hardware Functions

    3.1 Using the Debug Console The first step is to connect the host machine and the VIA SOM-9X50-STK through the COM connector labeled as "COM". Use a serial port communication program such as PuTTY or Tera Term to connect the debug console.
  • Page 13: Dvfs

    The VIA SOM-9X50-STK supports a choice of HDMI and LCD Panel display devices. To set the display device, first connect the Windows 10 host machine and the VIA SOM-9X50-STK through the Micro USB 2.0 port using a Micro USB cable.
  • Page 14: Video Playback

    Done!! Finished. Total time: 0.009s Power off the VIA SOM-9X50-STK and set the two OS image jumpers (J7 and J5) back to the normal mode setting. OS image jumpers diagram Unplug the Micro USB cable, and then power on the VIA SOM-9X50-STK.
  • Page 15: Audio Output And Record

    VIA SOM-9X50-STK Yocto 3.1 EVK Quick Start Guide 3.7 Audio Output and Record To set up the HDMI audio output, use the following command: root@aiv8385-linux:~# aplay -Dhw:0,28 /data/sda1/test.wav To set up the headphone audio output, use the following command: root@aiv8385-linux:~# amixer cset numid=1 1 root@aiv8385-linux:~# amixer cset numid=2 1 root@aiv8385-linux:~# aplay -Dhw:0,0 /data/sda1/test.wav...
  • Page 16: Camera

    VIA SOM-9X50-STK Yocto 3.1 EVK Quick Start Guide 3.8 Camera To preview an image from the CSI camera, use the following command: root@aiv8385-linux:~# gst-launch-1.0 v4l2src device=/dev/video5 io-mode=mmap ! video/x- raw,format=YUY2, width=1280,height=720, framerate=30/1 ! mtkmdp width=1280 height=720 ! mtkwaylandsink sync=false To capture an image from the CSI camera, use the following command: root@aiv8385-linux:~# gst-launch-1.0 -v v4l2src device=/dev/video5 num-buffers=1 ! video/x-...
  • Page 17: Bluetooth

    VIA SOM-9X50-STK Yocto 3.1 EVK Quick Start Guide wps_cred_processing=2 p2p_disabled=1 To verify the Wi-Fi function, use the following command: root@aiv8385-linux:~# ps | grep wpa_supplicant 569 root 8596 S wpa_supplicant -Dnl80211 -iwlan0 -c/data/wifi/wpa_supplicant.conf 754350 root 3536 S grep wpa_supplicant root@aiv8385-linux:~# kill -9 569 root@aiv8385-linux:~# wpa_supplicant -Dnl80211 -iwlan0 -c /data/wifi/wpa_supplicant.conf -B...
  • Page 18 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