IoTGateway/BSP/Linux/Linux BSP User Guide Ubuntu16.04 for rk
From ESS-WIKI
Revision as of 06:41, 20 August 2019 by Clayder.huang (talk | contribs)
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
How to do about update Ubuntu in DS100?
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/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 &