Difference between revisions of "IoTGateway/BSP/Linux/Linux BSP User Guide Ubuntu16.04 for rk"
From ESS-WIKI
Line 22: | Line 22: | ||
Command | Command | ||
− | |||
− | |||
<syntaxhighlight lang="bash">$ sudo su | <syntaxhighlight lang="bash">$ sudo su | ||
$ adv | $ adv | ||
Line 29: | Line 27: | ||
# echo Host >/sys/kernel/debug/usb0/rk_usb_force_mode | # echo Host >/sys/kernel/debug/usb0/rk_usb_force_mode | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== <span style="color:#0070c0">RS-485 Test</span> == | == <span style="color:#0070c0">RS-485 Test</span> == | ||
Line 35: | Line 32: | ||
RK3399 Send Command | RK3399 Send Command | ||
− | |||
− | |||
<syntaxhighlight lang="bash">$ sudo su | <syntaxhighlight lang="bash">$ sudo su | ||
$ adv | $ adv |
Revision as of 10:30, 19 August 2019
Contents
Linux BSP Version
Ubuntu16.04_aarch64
Ubuntu 16.04 Release Version
DS100 DIV0009 2019-08-17
Image Download Path
Ubuntu16.04_DS100_Image_Checksum
Account and Password for Login
Account : adv Password: adv
OTG port change Host mode
Command
$ sudo su
$ adv
# cd /
# echo Host >/sys/kernel/debug/usb0/rk_usb_force_mode
RS-485 Test
RK3399 Send Command
$ sudo su
$ adv
# stty -F /dev/ttyUSB0 speed 115200 -hupcl -icrnl -ixon -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echok
# echo "123456abc" >/dev/ttyUSB0
# cat /dev/ttyUSB0 &