Difference between revisions of "IoTGateway/BSP/Linux/Linux BSP User Guide Ubuntu16.04 for rk"

From ESS-WIKI
Jump to: navigation, search
 
(16 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
Ubuntu16.04_aarch64
 
Ubuntu16.04_aarch64
  
== <span style="color:#0070c0">Ubuntu 16.04 Release Version</span> ==
+
== <span style="color:#0070c0">Ubuntu 16.04 Release Version and Image Download Path</span> ==
  
DS100 DIV0009 2019-08-17
+
*DS100 DIV0009 2019-08-17
  
== <span style="color:#0070c0">Image Download Path</span> ==
+
<span style="color:#FF0000;">
  
[https://www.dropbox.com/s/jvzpfzadab92n15/DIV0009_ds100_2019-08-17.zip?dl=0 Ubuntu16.04_DS100_Image]
+
*[NEW]&nbsp; DS100 DIV0010 2019-08-21</span>
  
[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">How to do about update Ubuntu in DS100?</span> ==
 +
 
 +
*[[IoTGateway/BSP/Linux/Update_SOP1_Image_DS100_and_DS100Lite|Update&nbsp;Image DS100 and DS100Lite]]
 +
 
 +
[[File:Image.png|1000px|Image.png]]
  
 
== <span style="color:#0070c0">Account and Password for Login</span> ==
 
== <span style="color:#0070c0">Account and Password for Login</span> ==
Line 22: Line 26:
  
 
Command
 
Command
 
 
 
<syntaxhighlight lang="bash">$ sudo su
 
<syntaxhighlight lang="bash">$ sudo su
 
$ adv
 
$ adv
Line 29: Line 31:
 
# 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> ==
  
[[File:Rs485.png|600px|Rs485.png]]
+
[[File:Rs485.png|800px|Rs485.png]]
  
 
RK3399 Send Command
 
RK3399 Send Command
 
 
 
<syntaxhighlight lang="bash">$ sudo su
 
<syntaxhighlight lang="bash">$ sudo su
 
$ adv
 
$ adv
# stty -F /dev/ttyUSB0 speed 115200 -hupcl -icrnl -ixon -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echok
+
# stty -F /dev/ttyUSB2 speed 115200 -hupcl -icrnl -ixon -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echok
</syntaxhighlight>
+
or
Please check return 115200
+
# stty -F /dev/ttyUSB3 speed 115200 -hupcl -icrnl -ixon -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echok
 
+
</syntaxhighlight>Please check return 115200 RK3399 Send "123456ABC" to ttyUSB2 or ttyUSB3<syntaxhighlight lang="bash"># echo "123456abc" >/dev/ttyUSB2
 
+
or
<syntaxhighlight lang="bash"># echo "123456abc" >/dev/ttyUSB0
+
# echo "123456abc" >/dev/ttyUSB3
</syntaxhighlight>
+
</syntaxhighlight> RK3399 Receive Command
RK3399 Receive Command
 
 
 
  
<syntaxhighlight lang="bash"># cat /dev/ttyUSB0 &
+
<syntaxhighlight lang="bash"># cat /dev/ttyUSB2 &
 +
or
 +
# cat /dev/ttyUSB3 &
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 09:18, 13 November 2019

Linux BSP Version

Ubuntu16.04_aarch64

Ubuntu 16.04 Release Version and Image Download Path

  • DS100 DIV0009 2019-08-17

  • [NEW]  DS100 DIV0010 2019-08-21

How to do about update Ubuntu in DS100?

Image.png

Account and Password for Login

Account : adv Password: adv

Login.png

OTG port change Host mode

Command

$ sudo su
$ adv
# cd /
# echo host >/sys/kernel/debug/usb0/rk_usb_force_mode

RS-485 Test

Rs485.png

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
Please check return 115200 RK3399 Send "123456ABC" to ttyUSB2 or ttyUSB3
# echo "123456abc" >/dev/ttyUSB2
or 
# echo "123456abc" >/dev/ttyUSB3
RK3399 Receive Command
# cat /dev/ttyUSB2 &
or
# cat /dev/ttyUSB3 &