![Advantech RSB-4410 User Manual Download Page 30](http://html1.mh-extra.com/html/advantech/rsb-4410/rsb-4410_user-manual_2857964030.webp)
RSB-4410 User Manual
22
3.
Erase and check
#dd if=/dev/zero of=/dev/mmcblk0 bs=1024 count=1
seek=25118
1+0 records in
1+0 records out
#hexdump -C /dev/mmcblk0 -s 25720832 -n 16
01887800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
4. Write and check
#echo -n "0123456789ABCDEF" | dd of=/dev/mmcblk0 bs=1024 count=1
seek=25118
0+1 records in
0+1 records out
#hexdump -C /dev/mmcblk0 -s 25720832 -n 16
01887800 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 |0123456789ABCDEF|
2.5.4
LVDS/HDMI/VGA Test
2.5.4.1
Testing through gplay (for default single display)
1.
#gplay /tools/Advantech.avi.
2.
Then you can see the video demo on the default display screen.
2.5.4.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.
1.
Turn ON the HDMI disply, please type as below
#gst-launch playbin2 uri=file:///tools/Advantech.avi video-
sink="mfw_v4lsink device=/dev/video16"&
2.
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)
Note!
Please make sure parameter “seek” is equal to 25118 as indicated in
red in above codes. If you create the file to a wrong sector, that may
damage the system.