Difference between revisions of "IoTGateway/BSP/Linux/Linux BSP User Guide Ubuntu16.04 for rk"
From ESS-WIKI
Line 12: | Line 12: | ||
[https://www.dropbox.com/s/o7qk123sqggcp3s/DIV0009_ds100_2019-08-17.zip.md5.txt?dl=0 Ubuntu16.04_DS100_Image_Checksum] | [https://www.dropbox.com/s/o7qk123sqggcp3s/DIV0009_ds100_2019-08-17.zip.md5.txt?dl=0 Ubuntu16.04_DS100_Image_Checksum] | ||
+ | |||
+ | == <span style="color:#0070c0">Download_Code</span> == | ||
+ | |||
+ | [[File:Image.png|600px|Image.png]] | ||
== <span style="color:#0070c0">Account and Password for Login</span> == | == <span style="color:#0070c0">Account and Password for Login</span> == | ||
Line 36: | Line 40: | ||
# stty -F /dev/ttyUSB0 speed 115200 -hupcl -icrnl -ixon -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echok | # stty -F /dev/ttyUSB0 speed 115200 -hupcl -icrnl -ixon -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echok | ||
</syntaxhighlight>Please check return 115200 | </syntaxhighlight>Please check return 115200 | ||
− | |||
RK3399 Send "123456ABC" to ttyUSB0 | RK3399 Send "123456ABC" to ttyUSB0 | ||
<syntaxhighlight lang="bash"># echo "123456abc" >/dev/ttyUSB0 | <syntaxhighlight lang="bash"># echo "123456abc" >/dev/ttyUSB0 |
Revision as of 11:16, 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
Download_Code
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
RK3399 Send "123456ABC" to ttyUSB0
# echo "123456abc" >/dev/ttyUSB0
# cat /dev/ttyUSB0 &