ROM-3420 User Manual
20
3.1.17
Camera Input Test
Execute the following commands to run the camera demo application on ROM-3420.
3.1.17.1
Preview
#gst
‐
launch
mfw_v4lsrc
!
mfw_v4lsink
3.1.17.2
Capture
#gst
‐
launch
mfw_v4lsrc
num
‐
buffers=1
!
jpegenc
!
filesink
loca
‐
tion=/tools/snapshot.jpg
3.1.17.3
View picture
#VSALPHA=1
gst
‐
launch
filesrc
location=/tools/snapshot.jpg
!
jpegdec
!
imagefreeze
!
mfw_isink
3.1.17.4
Record video
#gst
‐
launch
mfw_v4lsrc
!
queue
!
vpuenc
codec=6
!
matroskamux
!
filesink
location=/tools/output.avi
sync=false
3.1.17.5
Play video
#gst
‐
launch
playbin2
uri=file:////tools/output.avi
video
‐
sink="mfw_v4lsink
device=/dev/video16"
audio
‐
sink="alsasink
device=plughw:0"
3.1.18
System Bus Test
There are 2 UART decives that have been implemented in linux kernel.
3.1.18.1
ttyS0 (CN10) testing
#stty
‐
F
/dev/ttyS0
‐
echo
#cat
/dev/ttyS0
&
#echo
Hello
>
/dev/ttyS0
Hello
3.1.18.2
ttyS1 (CN9) testing
#stty
‐
F
/dev/ttyS1
‐
echo
#cat
/dev/ttyS1
&
#echo
Hello
>
/dev/ttyS1
Содержание ROM-3420CD-MDA1E
Страница 2: ...User Manual ROM 3420 RISC based RTX Module with Freescale i MX6 ARM Cortex A9 Processor...
Страница 18: ...Chapter 3 3 Software Functionality This chapter details the software programs on the ROM 3420 plat form...
Страница 45: ...ROM 3420 User Manual 36...
Страница 54: ...45 ROM 3420 User Manual Chapter 5 Advantech Services...