VIA Technologies SOM-9X50-STK Manual de usuario

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

Copyright
Copyright © 2022 VIA Technologies Incorporated. All rights reserved.
No part of this document may be reproduced, transmied, transcribed, stored in a retrieval system, or translated into any language, in any
form or by any means, electronic, mechanical, magnec, opcal, chemical, manual or otherwise without the prior wrien permission of
VIA Technologies, Incorporated.
Trademarks
All brands, product names, company names, trademarks and service marks are the property of their respecve holders.
Disclaimer
VIA Technologies makes no warranes, implied or otherwise, in regard to this document and to the products described in this document.
The informaon provided in this document is believed to be accurate and reliable as of the publicaon date of this document. However,
VIA Technologies assumes no responsibility for the use or misuse of the informaon (including use or connecon 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 informaon
and product specicaons within this document are subject to change at any me, without noce and without obligaon to nofy any
person of such change.
VIA Technologies, Inc. reserves the right the make changes to the products described in this manual at any me without prior noce.
ii

iii
VIA SOM-9X50-STK Yocto 3.1 EVK Quick Start Guide
Revision History
Version Date Remarks
1.01 15/04/2022 Updated introducon and product naming
1.00 22/02/2022 Inial release

VIA SOM-9X50-STK Yocto 3.1 EVK Quick Start Guide
Table of Contents
1. Introducon.................................................................................................................................................... 1
1.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
1.2 Version Informaon and Supported Features....................................................................................... 2
2. Image Installaon........................................................................................................................................... 3
2.1 Installing with the Fastboot Mode ........................................................................................................ 3
3. Hardware Funcons ....................................................................................................................................... 8
3.1 Using the Debug Console...................................................................................................................... 8
3.2 Changing Kernel Debug Level................................................................................................................ 8
3.3 Checking BSP Version............................................................................................................................ 8
3.4 DVFS...................................................................................................................................................... 9
3.5 Display................................................................................................................................................... 9
3.6 Video Playback.................................................................................................................................... 10
3.7 Audio Output and Record ................................................................................................................... 11
3.8 Camera................................................................................................................................................ 12
3.9 Wi-Fi.................................................................................................................................................... 12
3.10 Bluetooth ............................................................................................................................................ 13
iv

1
VIA SOM-9X50-STK Yocto 3.1 EVK Quick Start Guide
1. Introducon
This Quick Start Guide provides an overview on how to boot the Yocto image for the VIA SOM-9X50-STK and
congure the supported hardware funcons in the build.
Note:
The VIA SOM-9X50-STK includes the VIA SOM-9X50 module and the VIA VAB-950 reference carrier board.
The VIA SOM-9X50-STK Yocto 3.1 EVK is developed based on the MediaTek Yocto 3.1 BSP, and it enables the
hardware features of the VIA SOM-9X50-STK.
1.1 EVK Package Contents
There are three folders in the package listed as below.
Firmware folder Descripon
VIA_SOM-9X50-STK_Yocto_3.1_EVK.zip Yocto image
Document folder Descripon
VIA_SOM-9X50-STK_Yocto_3.1_EVK_Quick_Start_Guide.pdf Quick Start Guide
Tool folder Descripon
VIA_Android_USB_Driver.zip VIA USB driver
1.1.1 Firmware Folder Contents
VIA_SOM-9X50-STK_Yocto_3.1_EVK.zip:Contains the precompiled Yocto image for evaluang the VIA SOM-
9X50-STK.
1.1.2 Document Folder Contents
VIA_SOM-9X50-STK_Yocto_3.1_EVK_Quick_Start_Guide.pdf: This Quick Start Guide provides an overview on
how to boot the Yocto image for the VIA SOM-9X50-STK and congure the supported hardware funcons in the
build.
1.1.3 Tool Folder Contents
VIA_Android_USB_Driver.zip: VIA USB driver.

2
VIA SOM-9X50-STK Yocto 3.1 EVK Quick Start Guide
1.2 Version Informaon and Supported Features
• Kernel version: 4.14.141
• Evaluaon image: Yocto 3.1
• Development based on MediaTek Yocto 3.1 BSP
• Supports eMMC boot
• Supports HDMI display
• Supports HDMI audio output
• Supports MIPI DSI capacive touch panel
−AUO 10.1 B101UAN01.7 (1920x1200)
−eGalax I2C touch
• Supports COM1 as RS-232 mode (TX/RX) and COM as debug port
• Supports two 10/100Mbps Ethernet ports
• Supports MediaTek MT6358 Headphone and Mic-in
• Supports MediaTek MT7668 Wi-Fi 802.11ac and Bluetooth 5.0
• Supports VIA EMIO-2574 (SIM7600JC-H) 4G LTE mobile broadband miniPCIe module
• Supports MIPI CSI OV5648 camera module
• Supports MediaTek NeuroPilot AI APU hardware acceleraon

3
VIA SOM-9X50-STK Yocto 3.1 EVK Quick Start Guide
2. Image Installaon
This secon explains the setup requirements for boong from the eMMC.
The precompiled images are provided in the "Firmware" folder.
2.1 Installing with the Fastboot Mode
The rst step is to prepare the "fastboot tool" and install the "VIA USB driver" into your Windows 10 host
machine.
To get the "fastboot tool" for Windows, please refer to the "SDK Plaorm Tools release notes" chapter on the
Android developer website (hps://developer.android.com/studio/releases/plaorm-tools).
To install the "VIA USB driver", right-click on the mouse buon to install the "android_winusb". When nished,
it will show "The operaon completed successfully".
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
J5 and J7 Sengs Pin 1 Pin 2 Pin 3
Normal mode (default) Open Short Short
Download mode Short Short Open
OS image jumper sengs
Plug in the AC-to-DC power adapter to power on the VIA SOM-9X50-STK.
The VIA SOM-9X50-STK will stop at "fastboot: processing commands" as shown in the debug console below.
Fastboot Mode
Note:
Make sure the Windows 10 host machine detects the VIA SOM-9X50-STK as an Android device.

4
VIA SOM-9X50-STK Yocto 3.1 EVK Quick Start Guide
Extract the VIA_SOM-9X50-STK_Yocto_3.1_EVK.zip le 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>viaash.exe
++++++++++++++++++++++++++++++++++++++++++++++++++++
VIAFlash version v1.0.0
(built: Feb 10 2022 09:53:25 UTC)
++++++++++++++++++++++++++++++++++++++++++++++++++++
To let this tool work well, please
ensure the system is at fastboot mode!
If yes, please press any key to continue.
++++++++++++++++++++++++++++++++++++++++++++++++++++
>> Image OS is "Yocto"
Addr: [0x0 - 0x100000] size: 0x100000
Addr: [0x0 - 0x7]
Addr: [0x0 - 0x8000] size: 0x8000
Addr: [0x0 - 0x3f]
Addr: [0x8000 - 0x208000] size: 0x200000
Addr: [0x40 - 0x103f]
Addr: [0x208000 - 0x408000] size: 0x200000
Addr: [0x1040 - 0x203f]
Addr: [0x408000 - 0x2408000] size: 0x2000000
Addr: [0x2040 - 0x1203f]
Addr: [0x2408000 - 0x4408000] size: 0x2000000
Addr: [0x12040 - 0x2203f]
Addr: [0x4408000 - 0x5308000] size: 0xf00000
Addr: [0x22040 - 0x2983f]
Addr: [0x5308000 - 0x6208000] size: 0xf00000
Addr: [0x29840 - 0x3103f]
Addr: [0x6208000 - 0x7108000] size: 0xf00000
Addr: [0x31040 - 0x3883f]
Addr: [0x7108000 - 0x7208000] size: 0x100000
Addr: [0x38840 - 0x3903f]
Addr: [0x7208000 - 0x7308000] size: 0x100000
Addr: [0x39040 - 0x3983f]
Addr: [0x7308000 - 0x7408000] size: 0x100000
Addr: [0x39840 - 0x3a03f]
Addr: [0x7408000 - 0x7908000] size: 0x500000
Addr: [0x3a040 - 0x3c83f]
Addr: [0x7908000 - 0x7e08000] size: 0x500000
Addr: [0x3c840 - 0x3f03f]
Addr: [0x7e08000 - 0x4c208000] size: 0x44400000
Addr: [0x3f040 - 0x26103f]
Addr: [0x4c208000 - 0x90608000] size: 0x44400000
Addr: [0x261040 - 0x48303f]
Addr: [0x90608000 - 0x9128e400] size: 0xc86400
Addr: [0x483040 - 0x489471]
Addr: [0x9128e400 - 0x9128e400] size: 0x0
Addr: [0x489472 - 0x489471]
Addr: [0x0080 - 0x8080] size: 0x8000
Addr: [0x7f80 - 0x7fbf]
++++++++++++++++++++++++++++++++++++++++++++++++++++
MBR : OK
bl2.img : OK
boot.img : OK
boot.img : OK
cam_vpu_a.img : OK
cam_vpu_b.img : OK
cam_vpu_c.img : OK
spmfw.img : OK
sspm-t.img : OK
sspm-t.img : OK
tee.img : OK
tee.img : OK
system.ext4 : OK

5
VIA SOM-9X50-STK Yocto 3.1 EVK Quick Start Guide
system.ext4 : OK
logo.bmp : OK
userdata.ext4 : OK
++++++++++++++++++++++++++++++++++++++++++++++++++++
=============================================
Start to ash images --> Yocto
=============================================
Sending 'preloader' (283 KB) OKAY [ 0.046s]
Writing 'preloader' OKAY [ 0.016s]
Finished. Total time: 0.180s
Erasing 'pgpt' OKAY [ 0.016s]
Finished. Total time: 0.024s
Sending 'pgpt' (17 KB) OKAY [ 0.026s]
Writing 'pgpt' OKAY [ 0.009s]
Finished. Total time: 0.068s
------------------------------------------------
Platform will be rebooted and continue soon,
please wait for ash completed
------------------------------------------------
Rebooting into bootloader OKAY [ 0.004s]
Finished. Total time: 0.006s
< waiting for any device >
(bootloader) display: hdmi
(bootloader) display: hdmi
(bootloader) display: hdmi
(bootloader) display: hdmi
(bootloader) display: hdmi
Warning: skip copying boot image avb footer (boot partition size: 0, boot image size:
20877906).
Sending 'boot_a' (20388 KB) OKAY [ 1.033s]
Writing 'boot_a' OKAY [ 0.453s]
Finished. Total time: 1.608s
(bootloader) display: hdmi
(bootloader) display: hdmi
(bootloader) display: hdmi
(bootloader) display: hdmi
(bootloader) display: hdmi
Warning: skip copying boot image avb footer (boot partition size: 0, boot image size:
20877906).
Sending 'boot_b' (20388 KB) OKAY [ 0.864s]
Writing 'boot_b' OKAY [ 0.457s]
Finished. Total time: 1.358s
(bootloader) display: hdmi
(bootloader) display: hdmi
(bootloader) display: hdmi
Sending 'cam_vpu_a' (1614 KB) OKAY [ 0.072s]
Writing 'cam_vpu_a' OKAY [ 0.040s]
Finished. Total time: 0.130s
(bootloader) display: hdmi
(bootloader) display: hdmi
(bootloader) display: hdmi
Sending 'cam_vpu_b' (14647 KB) OKAY [ 0.620s]
Writing 'cam_vpu_b' OKAY [ 0.321s]
Finished. Total time: 0.963s
(bootloader) display: hdmi
(bootloader) display: hdmi
(bootloader) display: hdmi
Sending 'cam_vpu_c' (135 KB) OKAY [ 0.008s]
Writing 'cam_vpu_c' OKAY [ 0.008s]
Finished. Total time: 0.043s

6
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) display: hdmi
Sending 'sspm_a' (486 KB) OKAY [ 0.022s]
Writing 'sspm_a' OKAY [ 0.015s]
Finished. Total time: 0.056s
(bootloader) display: hdmi
(bootloader) display: hdmi
(bootloader) display: hdmi
Sending 'sspm_b' (486 KB) OKAY [ 0.023s]
Writing 'sspm_b' OKAY [ 0.016s]
Finished. Total time: 0.057s
(bootloader) display: hdmi
(bootloader) display: hdmi
(bootloader) display: hdmi
Sending 'tee_a' (1021 KB) OKAY [ 0.045s]
Writing 'tee_a' OKAY [ 0.026s]
Finished. Total time: 0.090s
(bootloader) display: hdmi
(bootloader) display: hdmi
(bootloader) display: hdmi
Sending 'tee_b' (1021 KB) OKAY [ 0.045s]
Writing 'tee_b' OKAY [ 0.027s]
Finished. Total time: 0.094s
(bootloader) display: hdmi
(bootloader) display: hdmi
Invalid sparse le format at header magic
(bootloader) display: hdmi
Sending sparse 'system_a' 1/12 (64504 KB) OKAY [ 2.727s]
Writing 'system_a' OKAY [ 1.459s]
Sending sparse 'system_a' 2/12 (57428 KB) OKAY [ 2.429s]
Writing 'system_a' OKAY [ 1.385s]
Sending sparse 'system_a' 3/12 (65532 KB) OKAY [ 2.768s]
Writing 'system_a' OKAY [ 1.444s]
Sending sparse 'system_a' 4/12 (65532 KB) OKAY [ 2.769s]
Writing 'system_a' OKAY [ 1.452s]
Sending sparse 'system_a' 5/12 (64588 KB) OKAY [ 2.731s]
Writing 'system_a' OKAY [ 1.445s]
Sending sparse 'system_a' 6/12 (65532 KB) OKAY [ 2.768s]
Writing 'system_a' OKAY [ 1.429s]
Sending sparse 'system_a' 7/12 (65532 KB) OKAY [ 2.770s]
Writing 'system_a' OKAY [ 1.442s]
Sending sparse 'system_a' 8/12 (65532 KB) OKAY [ 2.770s]
Writing 'system_a' OKAY [ 1.454s]
Sending sparse 'system_a' 9/12 (65020 KB) OKAY [ 2.748s]
Writing 'system_a' OKAY [ 1.424s]
Sending sparse 'system_a' 10/12 (65532 KB) OKAY [ 2.769s]
Writing 'system_a' OKAY [ 1.450s]
Sending sparse 'system_a' 11/12 (65532 KB) OKAY [ 2.779s]
Writing 'system_a' OKAY [ 1.432s]
Sending sparse 'system_a' 12/12 (6116 KB) OKAY [ 0.263s]
Writing 'system_a' OKAY [ 0.149s]
Finished. Total time: 47.460s
(bootloader) display: hdmi
(bootloader) display: hdmi
Invalid sparse le format at header magic
(bootloader) display: hdmi
Sending sparse 'system_b' 1/12 (64504 KB) OKAY [ 2.727s]
Writing 'system_b' OKAY [ 1.465s]
Sending sparse 'system_b' 2/12 (57428 KB) OKAY [ 2.427s]
Otros manuales para SOM-9X50-STK
4
Tabla de contenidos
Otros manuales de Placa portadora de VIA Technologies


















