13
ROM-5420 User Manual
Chapter 3
S
oftware
Functionality
#cat ./gpio178/value
0
As you can see in below procedure A and B, we set gpio 177 as GPI and gpio 178 as
GPO so once we send data out from gpio 178, it should be able to receive the same
data from gpio 177.
3.1.6
LVDS/HDMI/VGA Test
3.1.6.1
Testing through gplay (for default single display)
Step 1:
#gplay /tools/Advantech.avi
#gplay /tools/Advantech.avi
Step 2: Then you can see the video demo on the default display screen.
3.1.6.2
Testing through gst-launch (for multi-display)
If you’d like to do multiple display such as dual LVDS, VGA and HDMI output , you
should set parameter in uboot first. Please refer to section 3.7.5.3 for more detail.
Once the display method is set up, please follow below instruction run gst-launch to
play video.
Step1: Turn ON the HDMI display, please type as below
#gst-launch playbin2 uri=file:///tools/Advantech.avi video-
sink="mfw_v4lsink device=/dev/video16"&
Step2: Turn ON VGA display at the same time, please type..
#gst-launch playbin2 uri=file:///tools/Advantech.avi video-
sink="mfw_v4lsink device=/dev/video18"&
You can see display independent both show Advantech.avi at the same time.
If you’d like to set the output audio as HDMI out or speaker out, please add the
parameter of plughw:
A. Plughw:0
→
Output the audio through audio jack (AUDIO1)
Содержание ROM-5420
Страница 1: ...User Manual ROM 5420 RISC based SMARC Module with Freescale i MX6 ARM Cortex A9 Processor...
Страница 17: ...Chapter 3 3 Software Functionality This chapter details the software programs on the ROM 5420 plat form...
Страница 53: ...45 ROM 5420 User Manual Chapter 5 Advantech Services...