Difference between revisions of "IoTGateway/BSP/Linux/Linux BSP User Guide Ubuntu18.04 for rk"
From ESS-WIKI
Line 46: | Line 46: | ||
<syntaxhighlight lang="bash"># cat /dev/ttyUSB2 & | <syntaxhighlight lang="bash"># cat /dev/ttyUSB2 & | ||
or | or | ||
− | # cat /dev/ttyUSB3 & | + | # cat /dev/ttyUSB3 & </syntaxhighlight> |
− | </syntaxhighlight> | + | |
+ | |||
+ | == <span style="color:#0070c0">Video player Test</span> == | ||
+ | |||
+ | Player 4K Video Example | ||
+ | |||
+ | <syntaxhighlight lang="bash"># gst-launch-1.0 filesrc location=4k.mp4 ! queue ! qtdemux name=dmux dmux.video_0 ! queue ! h264parse ! mppvideodec ! kmssink dmux.audio_0 ! queue ! aacparse ! faad ! autoaudiosink </syntaxhighlight> |
Revision as of 04:46, 4 October 2019
Contents
Linux BSP Version
Ubuntu18.04_aarch64
Ubuntu 18.04 Release Version and Image Download Path
- DS100 DIV0012 2019-09-24
Ubuntu18.04_DS100_V0012_Image_Checksum
How to do about update Ubuntu in DS100?
Account and Password for Login
Account : firefly Password: firefly
OTG port change Host mode
Command
# cd /
# echo host >/sys/kernel/debug/usb0/rk_usb_force_mode
RS-485 Test
RK3399 Send Command
$ sudo su
$ adv
# stty -F /dev/ttyUSB2 speed 115200 -hupcl -icrnl -ixon -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echok
or
# stty -F /dev/ttyUSB3 speed 115200 -hupcl -icrnl -ixon -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echok
# echo "123456abc" >/dev/ttyUSB2
or
# echo "123456abc" >/dev/ttyUSB3
# cat /dev/ttyUSB2 &
or
# cat /dev/ttyUSB3 &
Video player Test
Player 4K Video Example
# gst-launch-1.0 filesrc location=4k.mp4 ! queue ! qtdemux name=dmux dmux.video_0 ! queue ! h264parse ! mppvideodec ! kmssink dmux.audio_0 ! queue ! aacparse ! faad ! autoaudiosink