VIA Technologies ARTiGO A950 User manual

QUICK START GUIDE
VIA ARTiGO A950
Yocto 3.1 EVK
1.00-03022023

Copyright
Copyright © 2023 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 ARTiGO A950 Yocto 3.1 EVK Quick Start Guide
Revision History
Version Date Remarks
1.00 03/02/2023 Inial release

VIA ARTiGO A950 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 ..................................................................................................................................... 10
3.1 Enabling ADB Debugging .................................................................................................................... 10
3.2 Changing Kernel Debug Level.............................................................................................................. 10
3.3 Checking BSP Version.......................................................................................................................... 11
3.4 DVFS.................................................................................................................................................... 11
3.5 Video Playback.................................................................................................................................... 11
3.6 Audio Output and Recording .............................................................................................................. 11
3.7 Wi-Fi.................................................................................................................................................... 13
3.8 Bluetooth ............................................................................................................................................ 14
3.9 MTK NeuroPilot AI APU Hardware Acceleraon ................................................................................. 15
iv

1
VIA ARTiGO A950 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 ARTiGO A950 and
congure the supported hardware funcons in the build.
The VIA ARTiGO A950 Yocto 3.1 EVK is developed based on the MediaTek Yocto 3.1 BSP, and it enables the
hardware features of the VIA ARTiGO A950.
1.1 EVK Package Contents
There are three folders in the package listed as below.
Firmware folder Descripon
VIA_ARTiGO_A950_Yocto_3.1_EVK.zip Yocto evaluaon image
Document folder Descripon
VIA_ARTiGO_A950_Yocto_3.1_EVK_Quick_Start_Guide.pdf Quick Start Guide
Tool folder Descripon
VIA_Android_USB_Driver.zip VIA USB driver
np3.0_sample.tgz A sample test program
1.1.1 Firmware Folder Contents
VIA_ARTiGO_A950_Yocto_3.1_EVK.zip:Contains the precompiled Yocto image for evaluang the VIA ARTiGO
A950.
1.1.2 Document Folder Contents
VIA_ARTiGO_A950_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 ARTiGO A950 and congure the supported hardware funcons in the
build.
1.1.3 Tool Folder Contents
VIA_Android_USB_Driver.zip: The VIA driver for ADB-over-USB.
np3.0_sample.tgz: A sample program to test MTK NeuroPilot AI APU hardware acceleraon.

2
VIA ARTiGO A950 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 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 MediaTek NeuroPilot AI APU hardware acceleraon

3
VIA ARTiGO A950 Yocto 3.1 EVK Quick Start Guide
2. Image Installaon
This secon explains the setup procedures for boong from the eMMC.
The precompiled images are provided in the "Firmware" folder.
2.1 Installing with the Fastboot Mode
Follow the steps below to install Yocto EVK image:
Step 1
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 "android_winusb" and select "Install".
Then click "Install" when the installer opens.
When the installer nishes, it will show a conrmaon message "The operaon completed successfully".
Step 2
Connect the Windows 10 host machine and the VIA ARTiGO A950 through the Micro USB 2.0 port using the
Micro USB cable.
Micro USB OTG
Micro USB 2.0 port diagram

4
VIA ARTiGO A950 Yocto 3.1 EVK Quick Start Guide
Step 3
Power o the VIA ARTiGO A950 and dissemble the system chassis by removing the 4 screws located on the top
panel and 1 screw located on the boom panel.
Top panel
Boom panel

5
VIA ARTiGO A950 Yocto 3.1 EVK Quick Start Guide
Step 4
Set the two OS image jumpers (J7 and J5) on the board to the 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
Step 5
Plug in the AC-to-DC power adapter to power on the VIA ARTiGO A950.
The VIA ARTiGO A950 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 ARTiGO A950 as an ADB device.
If the EVK image is already installed, skip directly to Step 7.
Step 6
Extract the VIA_ARTiGO_A950_Yocto_3.1_EVK.zip le on your Windows 10 host machine.
To install the image, use the following command:
D:\VIA_ARTiGO_A950_Yocto_3.1_EVK>set PATH=D:\platform-tools;%PATH%
D:\VIA_ARTiGO_A950_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 - 0x7ff]

6
VIA ARTiGO A950 Yocto 3.1 EVK Quick Start Guide
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: [0xffff0080 - 0xffff8080] size: 0x8000
Addr: [0x7fff80 - 0x7fffbf]
++++++++++++++++++++++++++++++++++++++++++++++++++++
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
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

7
VIA ARTiGO A950 Yocto 3.1 EVK Quick Start Guide
------------------------------------------------
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
(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

8
VIA ARTiGO A950 Yocto 3.1 EVK Quick Start Guide
(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]
Writing 'system_b' OKAY [ 1.381s]
Sending sparse 'system_b' 3/12 (65532 KB) OKAY [ 2.767s]
Writing 'system_b' OKAY [ 1.444s]
Sending sparse 'system_b' 4/12 (65532 KB) OKAY [ 2.768s]
Writing 'system_b' OKAY [ 1.440s]
Sending sparse 'system_b' 5/12 (64588 KB) OKAY [ 2.730s]
Writing 'system_b' OKAY [ 1.432s]
Sending sparse 'system_b' 6/12 (65532 KB) OKAY [ 2.767s]
Writing 'system_b' OKAY [ 1.437s]
Sending sparse 'system_b' 7/12 (65532 KB) OKAY [ 2.770s]
Writing 'system_b' OKAY [ 1.444s]
Sending sparse 'system_b' 8/12 (65532 KB) OKAY [ 2.769s]
Writing 'system_b' OKAY [ 1.451s]
Sending sparse 'system_b' 9/12 (65020 KB) OKAY [ 2.746s]
Writing 'system_b' OKAY [ 1.428s]
Sending sparse 'system_b' 10/12 (65532 KB) OKAY [ 2.768s]
Writing 'system_b' OKAY [ 1.448s]
Sending sparse 'system_b' 11/12 (65532 KB) OKAY [ 2.774s]
Writing 'system_b' OKAY [ 1.439s]
Sending sparse 'system_b' 12/12 (6116 KB) OKAY [ 0.262s]
Writing 'system_b' OKAY [ 0.138s]
Finished. Total time: 47.431s

9
VIA ARTiGO A950 Yocto 3.1 EVK Quick Start Guide
(bootloader) display: hdmi
(bootloader) display: hdmi
(bootloader) display: hdmi
Sending 'logo' (6750 KB) OKAY [ 0.287s]
Writing 'logo' OKAY [ 0.151s]
Finished. Total time: 0.463s
(bootloader) display: hdmi
(bootloader) display: hdmi
(bootloader) display: hdmi
Sending 'userdata' (22528 KB) OKAY [ 0.952s]
Writing 'userdata' OKAY [ 0.500s]
Finished. Total time: 1.477s
=============================================
Finished. Re-Starting system ...
Rebooting OKAY [ 0.001s]
Finished. Total time: 0.004s
D:\VIA_ARTiGO_A950_Yocto_3.1_EVK>
Step 7
If the EVK image is installed, use the following command to enter the Fastboot Mode on your Windows 10 host
machine.
D:\platform-tools>adb reboot bootloader
Step 8
Unplug the AC-to-DC power adapter to power o the VIA ARTiGO A950 and set the two OS image jumpers (J7
and J5) back to the Normal mode seng as shown in the diagram below.
OS image jumpers diagram
Step 9
Unplug the Micro USB cable, press the Power Buon for 2 seconds, then release it to power on the VIA ARTiGO
A950.
When the boot process has completed, you will see the Yocto 3.1 desktop.

10
VIA ARTiGO A950 Yocto 3.1 EVK Quick Start Guide
3. Hardware Funcons
This secon explains how to enable and test the hardware funcons precompiled in the Yocto 3.1 EVK.
3.1 Enabling ADB Debugging
Follow the steps below to enable ADB debugging:
Step 1
Set the two OS image jumpers (J7 and J5) on the board to the Download mode as shown in the diagram below.
OS image jumpers diagram
Step 2
Connect the Windows 10 host machine and the VIA ARTiGO A950 through the Micro USB 2.0 port using the
Micro USB cable.
Micro USB OTG
Micro USB 2.0 port diagram
Step 3
Power on the VIA ARTiGO A950 to iniate the boot process.
Step 4
When the VIA ARTiGO A950 has completed boong, use the following command to open ADB debugging.
E:\platform-tools>adb shell
3.2 Changing Kernel Debug Level
To disable kernel messages, modify the debug level using the following command:
root@aiv8385-linux:~# echo 3 > /proc/sys/kernel/printk

11
VIA ARTiGO A950 Yocto 3.1 EVK Quick Start Guide
3.3 Checking BSP Version
To check the BSP version, use the following command:
root@aiv8385-linux:~# cat /proc/version
3.4 DVFS
To verify the DVFS (Dynamic Voltage Frequency Scaling) funcon and list all the supported features, use the
following commands:
root@aiv8385-linux:~# ls –al /sys/devices/system/cpu/cpu0/cpufreq/
total 0
-rwxr-xr-x 1 root root 4096 Dec 31 10:21 affected_cpus
-rwxr-xr-x 1 root root 4096 Dec 31 10:21 cpuinfo_cur_freq
-rwxr-xr-x 1 root root 4096 Dec 31 10:21 cpuinfo_max_freq
-rwxr-xr-x 1 root root 4096 Dec 31 10:21 cpuinfo_min_freq
-rwxr-xr-x 1 root root 4096 Dec 31 10:21 cpuinfo_transition_latency
-rwxr-xr-x 1 root root 4096 Dec 31 10:21 related_cpus
-rwxr-xr-x 1 root root 4096 Dec 31 10:21 scaling_available_frequencies
-rwxr-xr-x 1 root root 4096 Dec 31 10:21 scaling_available_governors
-rwxr-xr-x 1 root root 4096 Dec 31 10:21 scaling_cur_freq
-rwxr-xr-x 1 root root 4096 Dec 31 10:21 scaling_driver
-rwxr-xr-x 1 root root 4096 Dec 31 10:21 scaling_governor
-rwxr-xr-x 1 root root 4096 Dec 31 10:21 scaling_max_freq
-rwxr-xr-x 1 root root 4096 Dec 31 10:21 scaling_min_freq
-rwxr-xr-x 1 root root 4096 Dec 31 10:21 scaling_setspeed
drwxr-xr-x 2 root root 0 Dec 31 10:21 stats
To check the supported and current CPU frequency, use the following commands:
:~# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
1989000 1924000 1846000 1781000 1716000 1677000 1625000 1586000 1508000 1417000 1326000
1248000 1131000 1014000 910000 793000
:~# cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
793000
3.5 Video Playback
The VIA ARTiGO A950 supports H.265 and H.264 video decoding up to 1080p@30fps/40Mbps.
To playback video, use the following command:
root@aiv8385-linux:~# gst-launch-1.0 playbin ags=0x42 audio-sink="alsasink device=hw:0,28"
video-sink="mtkmdp width=1280 height=640 ! video/x-raw,format=I420 ! mtkwaylandsink"
uri="le:///mnt/test.mp4"
3.6 Audio Output and Recording
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

12
VIA ARTiGO A950 Yocto 3.1 EVK Quick Start Guide
To disable the headphone audio output, use the following command:
root@aiv8385-linux:~# amixer cset numid=1 0
root@aiv8385-linux:~# amixer cset numid=2 0
To set up the speaker audio output, use the following command:
root@aiv8385-linux:~# amixer cset numid=4 1
root@aiv8385-linux:~# aplay -Dhw:0,0 /data/sda1/test.wav
To disable the speaker audio output, use the following command:
root@aiv8385-linux:~# amixer cset numid=4 0
Note:
Before changing to dierent audio output device, ensure that the previous audio output device is disabled.
To change the audio volume, use the following command:
root@aiv8385-linux:~# amixer cset numid=10 17
numid=10,iface=MIXER,name='Lineout_PGAL_GAIN'
; type=ENUMERATED,access=rw------,values=1,items=20
; Item #0 '8Db'
; Item #1 '7Db'
; Item #2 '6Db'
; Item #3 '5Db'
; Item #4 '4Db'
; Item #5 '3Db'
; Item #6 '2Db'
; Item #7 '1Db'
; Item #8 '0Db'
; Item #9 '-1Db'
; Item #10 '-2Db'
; Item #11 '-3Db'
; Item #12 '-4Db'
; Item #13 '-5Db'
; Item #14 '-6Db'
; Item #15 '-7Db'
; Item #16 '-8Db'
; Item #17 '-9Db'
; Item #18 '-10Db'
; Item #19 '-40Db'
: values=17
root@aiv8385-linux:~#
To set up the Mic-in audio recording, use the following command:
root@aiv8385-linux:~# amixer cset numid=36 ADC2
root@aiv8385-linux:~# amixer cset numid=23 1
root@aiv8385-linux:~# amixer cset numid=24 1
root@aiv8385-linux:~# amixer cset numid=27 IN_ADC2
root@aiv8385-linux:~# amixer cset numid=45 IN_ADC2
root@aiv8385-linux:~# arecord -Dhw:0,1 -c 2 -r 48000 -f S16_LE /data/sda1/t1.wav

13
VIA ARTiGO A950 Yocto 3.1 EVK Quick Start Guide
3.7 Wi-Fi
To check the current Wi-Fi AP's "ssid" and "psk", use the follwing command:
root@aiv8385-linux:~# cat /data/wi/wpa_supplicant.conf
ctrl_interface=/tmp/wpa_supplicant
update_cong=1
network={
ssid="via_test"
psk="12345678"
key_mgmt=WPA-PSK
priority=100
}
p2p_no_group_iface=1
cong_methods=display push_button keypad
driver_param=use_p2p_group_interface=1
wowlan_triggers=disconnect
wps_cred_processing=2
p2p_disabled=1
root@aiv8385-linux:~#
To change the Wi-Fi AP's "ssid" and "psk", use the following command:
root@aiv8385-linux:~# vi /data/wi/wpa_supplicant.conf
The output will be displayed as follows. Update the "ssid" and "psk" values to the desired values and save.
ctrl_interface=/tmp/wpa_supplicant
update_cong=1
network={
ssid="via_test"
psk="12345678"
key_mgmt=WPA-PSK
priority=100
}
p2p_no_group_iface=1
cong_methods=display push_button keypad
driver_param=use_p2p_group_interface=1
wowlan_triggers=disconnect
wps_cred_processing=2
p2p_disabled=1
To verify the Wi-Fi funcon, use the following command:
root@aiv8385-linux:~# ps | grep wpa_supplicant
569 root 8596 S wpa_supplicant -Dnl80211 -iwlan0 -c/data/wi/wpa_supplicant.conf
754350 root 3536 S grep wpa_supplicant
root@aiv8385-linux:~# kill -9 569
root@aiv8385-linux:~#
root@aiv8385-linux:~# wpa_supplicant -Dnl80211 -iwlan0 -c /data/wi/wpa_supplicant.conf -B
Successfully initialized wpa_supplicant
rfkill: Cannot open RFKILL control device
WPS: Converting display to virtual_display for WPS 2.0 compliance
WPS: Converting push_button to virtual_push_button for WPS 2.0 compliance
root@aiv8385-linux:~#
To verify if the Wi-Fi connecon is workable, enable the interface, with the following command:
root@aiv8385-linux:~# udhcpc -i wlan0
udhcpc: started, v1.31.1
Failed to revert interface conguration: Connection timed out
udhcpc: sending discover
udhcpc: sending select for 192.168.0.106
udhcpc: lease of 192.168.0.106 obtained, lease time 86400
/etc/udhcpc.d/50default: Adding DNS 192.168.0.1

14
VIA ARTiGO A950 Yocto 3.1 EVK Quick Start Guide
Then use the "ping" command to verify the network connecon:
root@aiv8385-linux:~# ping 8.8.8.8
3.8 Bluetooth
To enter "interacve mode" for Bluetooth funcon vericaon, use the following commands:
root@aiv8385-linux:~# btmw-rpc-test
increase the priority of btmw_rpc_test.i4_ret:0 @ main
set btmw_rpc_test priority done
[Client]Func:main Line:670--->: IPC/RPC initialize
YZ rpc_init is called
...
...
<I> [BTMW_RPC_TEST] init ok Normal Mode
<I> [BTMW_RPC_TEST] running.
btmw_test_cli>
In the example below, use a Bluetooth speaker to test.
First, get the Bluetooth speaker MAC address, which is "41:42:FC:81:75:7F" in this example.
To verify the Bluetooth funcon, use the following commands (using the speaker's MAC address in line 4):
btmw_test_cli> MW_RPC_GAP power 1
...
btmw_test_cli> MW_RPC_GAP set conn_disc 1 1
...
btmw_test_cli> MW_RPC_A2DP_SRC active_src 1
...
btmw_test_cli> MW_RPC_A2DP_SRC connect 41:42:FC:81:75:7F
...
btmw_test_cli> MW_RPC_A2DP_SRC write_stream /data/sda1/test.wav
...
btmw_test_cli>

15
VIA ARTiGO A950 Yocto 3.1 EVK Quick Start Guide
3.9 MTK NeuroPilot AI APU Hardware Acceleraon
We recommend running the "runme" program included in the "np3.0_sample.tgz" package for tesng MTK
NeuroPilot AI APU hardware acceleraon. To install the program, follow the steps below:
1. Copy the "np3.0_sample.tgz" package to a USB drive and connect the USB drive to the VIA ARTiGO A950
system.
2. Next, extract the "np3.0_sample.tgz" package and run the "runme" program. The program will process
the image and print the classicaon result.
root@aiv8385-linux:~# cd /data/sda1/
root@aiv8385-linux:/data/sda1# tar zxvf np3.0_sample.tgz
root@aiv8385-linux:/data/sda1# cd np3.0_sample
root@aiv8385-linux:/data/sda1/np3.0_sample# ./runtime -m model/mobilenet_v1_1.0_224_quant.
dla -l model/labels_imagenet_slim.txt -i input/grace_hopper.bmp_224224.bin
VpuStream(9536)[getAlgo] fail to get algo, Illegal seek, errno = 29
vpu/utils/VPUVersionChecker.cpp:103] WARNING: neuronVpuVersion20370101 is NOT compatible
with vpuAlgoVersion 20500501
vpu/utils/VPUVersionChecker.cpp:105] WARNING: Please change neuronVpuVersion to 20380301, or
align vpuAlgoVersion to 20370101 based on your requirement
The required size of the input buffer is 150528
The required size of the output buffer is 1001
Dump the proled QoS Data:
executing boost value = 0
SubCmd[0][0]:
execution time = 0
boost value = 100
bandwidth = 0
The top index is 653: military uniform
Check the top index result aer running the "runme" program. If the result is "military uniform", MTK
NeuroPilot AI APU hardware acceleraon is enabled and running correctly.

1F, 531 Zhong-zheng Road,
Xindian Dist., New Taipei City 231
Taiwan
Tel: 886-2-2218-5452
Fax: 886-2-2218-9860
940 Mission Court
Fremont, CA 94539,
USA
Tel: 1-510-687-4688
Fax: 1-510-687-4654
Email: embedded@viatech.com
Email: embedded@via-tech.eu
Taiwan Headquarters
USA
Europe
Tsinghua Science Park Bldg. 7
No. 1 Zongguancun East Road,
Haidian Dist., Beijing, 100084
China
Tel: 86-10-59852288
Fax: 86-10-59852299
Email: embedded@viatech.com.cn
3-15-7 Ebisu MT Bldg. 6F,
Higashi, Shibuya-ku
Tokyo 150-0011
Japan
Tel: 81-3-5466-1637
Fax: 81-3-5466-1638
Email: embedded@viatech.co.jp
China
Japan
Other manuals for ARTiGO A950
2
Table of contents
Other VIA Technologies Modem manuals
Popular Modem manuals by other brands

Maestro
Maestro M100 2G Quick start guide & user manual

AirLink Communications
AirLink Communications RAVEN X EV-DO X EV-DO user guide

Arris
Arris Touchstone TG2472 Guide to installing/replacing

Zonet
Zonet ZFM5621CF - QUICK INSTALLATION GUIDE REV 02 Quick installation guide

Silex technology
Silex technology SX-10WAG user manual

Franklin Wireless
Franklin Wireless U772 user manual