Difference between revisions of "EPC-R3710 user guide"

From ESS-WIKI
Jump to: navigation, search
Line 1: Line 1:
 +
<h2><b>產品介紹(Product introduction )</b></h2>
  
== '''產品介紹(Product introduction )''' ==
+
<h3><b>產品特性(Product Features)</b></h3>
  
=== '''產品特性(Product Features)''' ===
+
<ul>
 +
<li>Rockchip Arm&reg; Cortex&reg;-A72 RK3399 up to 1.8 GHz</li>
 +
<li>Onboard LPDDR4 2GB</li>
 +
<li>HDMI 1920x1080 at 60Hz, 1 Dual Channel 24 bit LVDS</li>
 +
<li>1 2-wire RS-232, 1 USB3.0, 1 USB2.0, 1 Micro SD, 1 Mic. in / Line out</li>
 +
<li>1 mini-PCIe for 3G/4G</li>
 +
<li>UIO expansion 3 USB2.0, 8 GPIO, 2 RS232 2/2-wires UART, 1 I2C</li>
 +
<li>Supports Debian9/10 and Android7.1/10.0</li>
 +
<li>Support I/O Expansions by UIO40-Express I/O boards, please refer to page #3 for more information</li>
 +
</ul>
  
*Rockchip Arm® Cortex®-A72 RK3399 up to 1.8 GHz
+
<h3><b>產品官網連結(Product Features)&nbsp;</b></h3>
*Onboard LPDDR4 2GB
 
*HDMI 1920x1080 at 60Hz, 1 Dual Channel 24 bit LVDS
 
*1 2-wire RS-232, 1 USB3.0, 1 USB2.0, 1 Micro SD, 1 Mic. in / Line out
 
*1 mini-PCIe for 3G/4G
 
*UIO expansion 3 USB2.0, 8 GPIO, 2 RS232 2/2-wires UART, 1 I2C
 
*Supports Debian9/10 and Android7.1/10.0
 
*Support I/O Expansions by UIO40-Express I/O boards, please refer to page #3 for more information
 
  
=== '''產品官網連結(Product Features)&nbsp;''' ===
+
<p><a alt="https://www.advantech.com/en/search/?q=EPC-R3710&amp;st=support&amp;from=support" href="https://www.advantech.com/en/search/?q=EPC-R3710&amp;st=support&amp;from=support" title="https://www.advantech.com/en/search/?q=EPC-R3710&amp;st=support&amp;from=support"><b>EPC-R3710</b></a></p>
  
'''EPC-R3710'''
+
<h2><b>硬件接口說明(Hardware interface introduction)</b></h2>
  
== '''硬件接口說明(Hardware interface introduction)''' ==
+
<h2><b>接口布局和尺寸(Layout and Sizes)</b></h2>
  
== '''接口布局和尺寸(Layout and Sizes)''' ==
+
<p><img _fck_mw_filename="EPC-R3710 Case.PNG" _fck_mw_origimgheight="390" _fck_mw_origimgwidth="692" alt="RTENOTITLE" src="/wiki/images/7/72/EPC-R3710_Case.PNG" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:EPC-R3710 Case.PNG|RTENOTITLE]]
+
<p>&nbsp;</p>
  
&nbsp;
+
<h3><b>接口布局圖&nbsp;Board Dimension Layout&nbsp;</b></h3>
  
=== '''接口布局圖&nbsp;Board Dimension Layout&nbsp;''' ===
+
<p><img _fck_mw_filename="RSB-3710 product pic11 2021-11-02 100745.jpg" _fck_mw_origimgheight="388" _fck_mw_origimgwidth="502" alt="RTENOTITLE" src="/wiki/images/f/fa/RSB-3710_product_pic11_2021-11-02_100745.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:RSB-3710 product pic11 2021-11-02 100745.jpg|RTENOTITLE]]
+
<p><img _fck_mw_filename="RSB-3710 product pic22 2021-11-02 100837.jpg" _fck_mw_origimgheight="372" _fck_mw_origimgwidth="470" alt="RTENOTITLE" src="/wiki/images/1/16/RSB-3710_product_pic22_2021-11-02_100837.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:RSB-3710 product pic22 2021-11-02 100837.jpg|RTENOTITLE]]
+
<p><img _fck_mw_filename="RSB-3710 product pic33 2021-11-02 100904.jpg" _fck_mw_origimgheight="137" _fck_mw_origimgwidth="677" alt="RTENOTITLE" src="/wiki/images/0/03/RSB-3710_product_pic33_2021-11-02_100904.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:RSB-3710 product pic33 2021-11-02 100904.jpg|RTENOTITLE]]
+
<p>&nbsp;</p>
  
&nbsp;
+
<p>&nbsp;</p>
  
&nbsp;
+
<h2><b>&nbsp;Connector List</b></h2>
  
== '''&nbsp;Connector List''' ==
+
<p><img _fck_mw_filename="3710.jpg" _fck_mw_origimgheight="735" _fck_mw_origimgwidth="1273" alt="RTENOTITLE" src="/wiki/images/0/07/3710.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:3710.jpg|RTENOTITLE]]
+
<table border="1" cellpadding="1" cellspacing="1" style="width: 307px;">
 +
<tbody>
 +
<tr>
 +
<td style="width: 57px;">BAT</td>
 +
<td style="width: 237px;">RTC Battery Connector</td>
 +
</tr>
 +
<tr>
 +
<td style="width: 57px;">HDMI</td>
 +
<td style="width: 237px;">HDMI1 CONN</td>
 +
</tr>
 +
<tr>
 +
<td style="width: 57px;">BLP2</td>
 +
<td style="width: 237px;">LVDS BKL PWR 12V select</td>
 +
</tr>
 +
<tr>
 +
<td style="width: 57px;">
 +
<p>LVDS/eDP</p>
  
{| border="1" cellpadding="1" cellspacing="1" style="width: 307px;"
+
<p>LVDS BKL</p>
|-
+
</td>
| style="width: 57px;" | BAT
+
<td style="width: 237px;">LVDS DATA/PWRCONN</td>
| style="width: 237px;" | RTC Battery Connector
+
</tr>
|-
+
<tr>
| style="width: 57px;" | HDMI
+
<td style="width: 57px;">LAN1</td>
| style="width: 237px;" | HDMI1 CONN
+
<td style="width: 237px;">LAN</td>
|-
+
</tr>
| style="width: 57px;" | BLP2
+
<tr>
| style="width: 237px;" | LVDS BKL PWR 12V select
+
<td style="width: 57px;">LAN2</td>
|-
+
<td style="width: 237px;">LAN</td>
| style="width: 57px;" |
+
</tr>
LVDS/eDP
+
<tr>
 +
<td style="width: 57px;">MINIPCIE</td>
 +
<td style="width: 237px;">MINI PCIE 52P&nbsp;</td>
 +
</tr>
 +
<tr>
 +
<td style="width: 57px;">SIM</td>
 +
<td style="width: 237px;">Nano SIM Card</td>
 +
</tr>
 +
<tr>
 +
<td style="width: 57px;">AUDIO</td>
 +
<td style="width: 237px;">Audio PIN Header</td>
 +
</tr>
 +
<tr>
 +
<td style="width: 57px;">USB1</td>
 +
<td style="width: 237px;">USB CONN</td>
 +
</tr>
 +
<tr>
 +
<td style="width: 57px;">COM2/Debug&nbsp;</td>
 +
<td style="width: 237px;">COM2&nbsp;</td>
 +
</tr>
 +
<tr>
 +
<td style="width: 57px;">SD</td>
 +
<td style="width: 237px;">SD Slot</td>
 +
</tr>
 +
<tr>
 +
<td style="width: 57px;">OTG</td>
 +
<td style="width: 237px;">USB</td>
 +
</tr>
 +
<tr>
 +
<td style="width: 57px;">BTN</td>
 +
<td style="width: 237px;">MASKROM mode pin header&nbsp;</td>
 +
</tr>
 +
<tr>
 +
<td style="width: 57px;">RST</td>
 +
<td style="width: 237px;">Reset Button</td>
 +
</tr>
 +
<tr>
 +
<td style="width: 57px;">DCIN1&nbsp;</td>
 +
<td style="width: 237px;">12V DC Jack</td>
 +
</tr>
 +
<tr>
 +
<td style="width: 57px;">LED</td>
 +
<td style="width: 237px;">LED</td>
 +
</tr>
 +
<tr>
 +
<td style="width: 57px;">CN11</td>
 +
<td style="width: 237px;">UIO1</td>
 +
</tr>
 +
<tr>
 +
<td style="width: 57px;">CN12</td>
 +
<td style="width: 237px;">UIO2</td>
 +
</tr>
 +
</tbody>
 +
</table>
  
LVDS BKL
+
<p>&nbsp;</p>
  
| style="width: 237px;" | LVDS DATA/PWRCONN
+
<h3><b>接口引脚定義 (Pin definitions)</b></h3>
|-
 
| style="width: 57px;" | LAN1
 
| style="width: 237px;" | LAN
 
|-
 
| style="width: 57px;" | LAN2
 
| style="width: 237px;" | LAN
 
|-
 
| style="width: 57px;" | MINIPCIE
 
| style="width: 237px;" | MINI PCIE 52P&nbsp;
 
|-
 
| style="width: 57px;" | SIM
 
| style="width: 237px;" | Nano SIM Card
 
|-
 
| style="width: 57px;" | AUDIO
 
| style="width: 237px;" | Audio PIN Header
 
|-
 
| style="width: 57px;" | USB1
 
| style="width: 237px;" | USB CONN
 
|-
 
| style="width: 57px;" | COM2/Debug&nbsp;
 
| style="width: 237px;" | COM2&nbsp;
 
|-
 
| style="width: 57px;" | SD
 
| style="width: 237px;" | SD Slot
 
|-
 
| style="width: 57px;" | OTG
 
| style="width: 237px;" | USB
 
|-
 
| style="width: 57px;" | BTN
 
| style="width: 237px;" | MASKROM mode pin header&nbsp;
 
|-
 
| style="width: 57px;" | RST
 
| style="width: 237px;" | Reset Button
 
|-
 
| style="width: 57px;" | DCIN1&nbsp;
 
| style="width: 237px;" | 12V DC Jack
 
|-
 
| style="width: 57px;" | LED
 
| style="width: 237px;" | LED
 
|-
 
| style="width: 57px;" | CN11
 
| style="width: 237px;" | UIO1
 
|-
 
| style="width: 57px;" | CN12
 
| style="width: 237px;" | UIO2
 
|}
 
  
&nbsp;
+
<p><a href="BAT">BAT</a></p>
  
=== '''接口引脚定義 (Pin definitions)''' ===
+
<p><a href="HDMI1">HDMI1</a></p>
  
[[BAT|BAT]]
+
<p><a href="BL">BL</a></p>
  
[[HDMI1|HDMI1]]
+
<p><a href="LVDS">LVDS</a></p>
  
[[BL|BL]]
+
<p><a href="LAN1%2C%20LAN2">LAN1, LAN2</a></p>
  
[[LVDS|LVDS]]
+
<p><a href="MINIPCIE">MINIPCIE</a></p>
  
[[LAN1,_LAN2|LAN1, LAN2]]
+
<p><a href="SIM">SIM</a></p>
  
[[MINIPCIE|MINIPCIE]]
+
<p><a href="Audio">Audio</a></p>
  
[[SIM|SIM]]
+
<p><a href="USB1">USB1</a></p>
  
[[Audio|Audio]]
+
<p><a href="COM2%2FDebug">COM2/Debug</a></p>
  
[[USB1|USB1]]
+
<p><a href="SD">SD</a></p>
  
[[COM2/Debug|COM2/Debug]]
+
<p><a href="OTG">OTG</a></p>
  
[[SD|SD]]
+
<p><a href="BTN">BTN</a></p>
  
[[OTG|OTG]]
+
<p><a href="RST">RST</a></p>
  
[[BTN|BTN]]
+
<p><a href="DCIN1">DCIN1</a></p>
  
[[RST|RST]]
+
<p><a href="LED">LED</a></p>
  
[[DCIN1|DCIN1]]
+
<p><a href="CN11">CN11</a></p>
  
[[LED|LED]]
+
<p><a href="CN12">CN12</a></p>
  
[[CN11|CN11]]
+
<p><a href="RSB-3710%20Jumper%20List">RSB-3710_Jumper List</a></p>
  
[[CN12|CN12]]
+
<h3><b>机械尺寸&nbsp; (</b>Mechanical Characteristics)</h3>
  
[[RSB-3710_Jumper_List|RSB-3710_Jumper List]]
+
<p><img _fck_mw_filename="RSB-3710 Mechanical 2021-11-02 102727.jpg" _fck_mw_origimgheight="438" _fck_mw_origimgwidth="505" alt="RTENOTITLE" src="/wiki/images/6/69/RSB-3710_Mechanical_2021-11-02_102727.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
=== '''机械尺寸&nbsp; ('''Mechanical Characteristics) ===
+
<h2><b>快速入门 (Quick Start)</b></h2>
  
[[File:RSB-3710 Mechanical 2021-11-02 102727.jpg|RTENOTITLE]]
+
<h3><b>系统下载 (OS Download)</b></h3>
  
== '''快速入门 (Quick Start)''' ==
+
<ul>
 +
<li><b>Android 系统 (Android&nbsp;&nbsp;OS)</b></li>
 +
</ul>
  
=== '''系统下载 (OS Download)''' ===
+
<p><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Android 10&nbsp;: <a alt="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android10/Internal" href="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android10/Internal" title="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android10/Internal">AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android10/</a></b></p>
  
*'''Android 系统 (Android&nbsp;&nbsp;OS)'''
+
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <b>&nbsp;Android&nbsp; &nbsp;7&nbsp;:&nbsp;<a alt="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android7/Internal" href="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android7/Internal" title="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android7/Internal">AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android7/</a>&nbsp;</b></p>
  
'''&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Android 10&nbsp;: [http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android10/Internal AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android10/]'''
+
<ul>
 +
<li><b>Debian 系統( Debian OS)&nbsp;</b></li>
 +
</ul>
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '''&nbsp;Android&nbsp; &nbsp;7&nbsp;:&nbsp;[http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android7/Internal AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android7/]&nbsp;'''
+
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<b>Debbian 10:<a alt="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Debian_OS_Release_note/Debian10/Internal" href="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Debian_OS_Release_note/Debian10/Internal" title="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Debian_OS_Release_note/Debian10/Internal">AIM-Linux/BSP/RK/Linux_Debian_OS_Release_note/Debian10/</a></b></p>
  
*'''Debian 系統( Debian OS)&nbsp;'''
+
<h2><b>Android 燒錄方法 (Android&nbsp;Flash eMMC Method)&nbsp;</b></h2>
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'''Debbian 10:[http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Debian_OS_Release_note/Debian10/Internal AIM-Linux/BSP/RK/Linux_Debian_OS_Release_note/Debian10/]'''
+
<p><b>1. 請先準備一條 mirco USB 線材 和 Debug Cable&nbsp;</b></p>
  
== '''Android 燒錄方法 (Android&nbsp;Flash eMMC Method)&nbsp;''' ==
+
<p><b>&nbsp;mirco USB</b>&nbsp;</p>
  
'''1. 請先準備一條 mirco USB 線材 和 Debug Cable&nbsp;'''
+
<p>&nbsp;</p>
  
'''&nbsp;mirco USB'''&nbsp;
+
<p><img _fck_mw_filename="RSB-3710 mirco usb 2021-11-02 143011.jpg" _fck_mw_origimgheight="376" _fck_mw_origimgwidth="390" alt="RTENOTITLE" src="/wiki/images/0/06/RSB-3710_mirco_usb_2021-11-02_143011.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
&nbsp;
+
<p>&nbsp;</p>
  
[[File:RSB-3710 mirco usb 2021-11-02 143011.jpg|RTENOTITLE]]
+
<p><b>Debug Cable&nbsp;</b></p>
  
&nbsp;
+
<pre class="_fck_mw_lspace">
 +
<img _fck_mw_filename="RSB-3710 debug cable 2021-11-02 144650.jpg" _fck_mw_origimgheight="339" _fck_mw_origimgwidth="508" alt="RTENOTITLE" src="/wiki/images/8/8d/RSB-3710_debug_cable_2021-11-02_144650.jpg" style="vertical-align:middle;" title="RTENOTITLE" /> 
  
'''Debug Cable&nbsp;'''
+
</pre>
  
[[File:RSB-3710 debug cable 2021-11-02 144650.jpg|RTENOTITLE]] 
+
<p>2. 插入 RSB-3710 的OTG port&nbsp;</p>
 
  
2. 插入 RSB-3710 的OTG port&nbsp;
+
<pre class="_fck_mw_lspace">
 +
<img _fck_mw_filename="RSB-3710 OTG USBcable 2021-11-02 143356.jpg" _fck_mw_origimgheight="437" _fck_mw_origimgwidth="602" alt="RTENOTITLE" src="/wiki/images/4/4b/RSB-3710_OTG_USBcable_2021-11-02_143356.jpg" style="vertical-align:middle;" title="RTENOTITLE" />   
  
[[File:RSB-3710 OTG USBcable 2021-11-02 143356.jpg|RTENOTITLE]]   
+
</pre>
 
  
連接 Debug cable&nbsp;
+
<p>連接 Debug cable&nbsp;</p>
  
  [[File:RSB-3710 debug and debug port 1 2021-11-02 145203.jpg|RTENOTITLE]]
+
<pre class="_fck_mw_lspace">
+
<img _fck_mw_filename="RSB-3710 debug and debug port 1 2021-11-02 145203.jpg" _fck_mw_origimgheight="441" _fck_mw_origimgwidth="643" alt="RTENOTITLE" src="/wiki/images/1/15/RSB-3710_debug_and_debug_port_1_2021-11-02_145203.jpg" style="vertical-align:middle;" title="RTENOTITLE" />
  
'''2. 設定終端機(Set Debug Terminal)&nbsp;'''
+
</pre>
  
Debug 串口調試 (Debug port Setting)
+
<p><b>2. 設定終端機(Set Debug Terminal)&nbsp;</b></p>
  
以 Tera Term&nbsp;&nbsp;为例介绍如何使用串口调试功能
+
<p>Debug 串口調試 (Debug port Setting)</p>
<pre>   Baud Rate波特率:115200
+
 
 +
<p>以 Tera Term&nbsp;&nbsp;为例介绍如何使用串口调试功能</p>
 +
 
 +
<pre>
 +
  Baud Rate波特率:115200
 
   Data 数据位:8
 
   Data 数据位:8
 
   Parity 奇偶校验:无
 
   Parity 奇偶校验:无
&amp;amp;nbsp;  Stop 停止位:1
+
&amp;amp;amp;nbsp;  Stop 停止位:1
 
   Flow Control流控:无</pre>
 
   Flow Control流控:无</pre>
  
:&nbsp;  
+
<dl>
 +
<dd>&nbsp;</dd>
 +
</dl>
 +
 
 +
<p>Tera Term Tool&nbsp;</p>
  
Tera Term Tool&nbsp;
+
<p><img _fck_mw_filename="TeraTerm 2021-09-10 140930n.jpg" _fck_mw_origimgheight="428" _fck_mw_origimgwidth="700" alt="RTENOTITLE" src="/wiki/images/2/25/TeraTerm_2021-09-10_140930n.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:TeraTerm 2021-09-10 140930n.jpg|RTENOTITLE]]
+
<p><img _fck_mw_filename="TeraTerm12021-09-10 141114n.jpg" _fck_mw_origimgheight="391" _fck_mw_origimgwidth="609" alt="RTENOTITLE" src="/wiki/images/6/6d/TeraTerm12021-09-10_141114n.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:TeraTerm12021-09-10 141114n.jpg|RTENOTITLE]]
+
<p>&nbsp;</p>
  
&nbsp;
+
<p>Note:</p>
  
Note:
+
<p>Check the Sriel port in Device Manager (查看PC端的串口号):</p>
  
Check the Sriel port in Device Manager (查看PC端的串口号):
+
<p>if you can not identify the Serial device , please check your serial driver.&nbsp;</p>
  
if you can not identify the Serial device , please check your serial driver.&nbsp;
+
<p>&nbsp;</p>
  
&nbsp;
+
<p>3.打開燒錄軟體</p>
  
3.打開燒錄軟體
+
<p><img _fck_mw_filename="RSB-3710 android tool 2021-11-02 150159.jpg" _fck_mw_origimgheight="442" _fck_mw_origimgwidth="827" alt="RTENOTITLE" src="/wiki/images/c/cb/RSB-3710_android_tool_2021-11-02_150159.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:RSB-3710 android tool 2021-11-02 150159.jpg|RTENOTITLE]]
+
<p>&nbsp;</p>
  
&nbsp;
+
<p>4. 打開電源&nbsp;</p>
  
4. 打開電源&nbsp;
+
<p>5. 在終端機上可看到Debug 訊息, 按下<b>&quot;Ctrl + C&quot; </b>組合鍵. 進入u-boot&nbsp;</p>
  
5. 在終端機上可看到Debug 訊息, 按下'''"Ctrl + C" '''組合鍵. 進入u-boot&nbsp;
+
<p><img _fck_mw_filename="RSB-3710 CtrlC uboot 2021-11-02 150842.jpg" _fck_mw_origimgheight="505" _fck_mw_origimgwidth="696" alt="RTENOTITLE" src="/wiki/images/5/5f/RSB-3710_CtrlC_uboot_2021-11-02_150842.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:RSB-3710 CtrlC uboot 2021-11-02 150842.jpg|RTENOTITLE]]
+
<p>&nbsp;</p>
  
&nbsp;
+
<p>6.&nbsp;在u-boot ,輸入<b>&quot;loader&quot;&nbsp; </b>&nbsp;可進入燒錄模式 , Android tool 會同時顯示 <b>&quot;Found One MASKROM Device &quot;&nbsp;</b></p>
  
6.&nbsp;在u-boot ,輸入'''"loader"&nbsp; '''&nbsp;可進入燒錄模式 , Android tool 會同時顯示 '''"Found One MASKROM Device "&nbsp;'''
+
<p><img _fck_mw_filename="RSB-3710 android loader 2022-01-20 154115.jpg" _fck_mw_origimgheight="515" _fck_mw_origimgwidth="1624" alt="RTENOTITLE" src="/wiki/images/b/be/RSB-3710_android_loader_2022-01-20_154115.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:RSB-3710 android loader 2022-01-20 154115.jpg|RTENOTITLE]]
+
<p>&nbsp;</p>
  
&nbsp;
+
<p>7. 在RKDevTool 按下&nbsp;&quot;Run&quot;&nbsp; ,可進行燒錄.</p>
  
7. 在RKDevTool 按下&nbsp;"Run"&nbsp; ,可進行燒錄.
+
<p><img _fck_mw_filename="RSB-3710 Run RKDevTool 2021-11-02 160456.jpg" _fck_mw_origimgheight="453" _fck_mw_origimgwidth="692" alt="RTENOTITLE" src="/wiki/images/9/95/RSB-3710_Run_RKDevTool_2021-11-02_160456.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:RSB-3710 Run RKDevTool 2021-11-02 160456.jpg|RTENOTITLE]]
+
<p>&nbsp;</p>
  
&nbsp;
+
<p>8.&nbsp; 燒錄完畢</p>
  
8.&nbsp; 燒錄完畢
+
<p><img _fck_mw_filename="RSB-3710 finish RKDevTool 2021-11-02 160931.jpg" _fck_mw_origimgheight="445" _fck_mw_origimgwidth="845" alt="RTENOTITLE" src="/wiki/images/5/55/RSB-3710_finish_RKDevTool_2021-11-02_160931.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:RSB-3710 finish RKDevTool 2021-11-02 160931.jpg|RTENOTITLE]]
+
<p>&nbsp;</p>
  
&nbsp;
+
<p>9. 重新拔插電源, 讓RSB-3710 重新開機 ,接上HDMI ,可顯示安卓的桌面.&nbsp;</p>
  
9. 重新拔插電源, 讓RSB-3710 重新開機 ,接上HDMI ,可顯示安卓的桌面.&nbsp;
+
<p><img _fck_mw_filename="RSB-3710 Android desktop pic.png" _fck_mw_origimgheight="605" _fck_mw_origimgwidth="1076" alt="RTENOTITLE" src="/wiki/images/1/18/RSB-3710_Android_desktop_pic.png" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:RSB-3710 Android desktop pic.png|RTENOTITLE]]
+
<p>&nbsp;</p>
  
&nbsp;
+
<h2><b>Linux&nbsp;燒錄方法 (Linux Flash eMMC Method)&nbsp;</b></h2>
  
== '''Linux&nbsp;燒錄方法 (Linux Flash eMMC Method)&nbsp;''' ==
+
<p><b>1. 請先準備一條 mirco USB 線材 和 Debug Cable&nbsp;</b></p>
  
'''1. 請先準備一條 mirco USB 線材 和 Debug Cable&nbsp;'''
+
<p><b>&nbsp;mirco USB</b>&nbsp;</p>
  
'''&nbsp;mirco USB'''&nbsp;
+
<p><img _fck_mw_filename="RSB-3710 mirco usb 2021-11-02 143011.jpg" _fck_mw_origimgheight="376" _fck_mw_origimgwidth="390" alt="RTENOTITLE" src="/wiki/images/0/06/RSB-3710_mirco_usb_2021-11-02_143011.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:RSB-3710 mirco usb 2021-11-02 143011.jpg|RTENOTITLE]]
+
<p>&nbsp;</p>
  
&nbsp;
+
<p><b>Debug Cable&nbsp;</b></p>
  
'''Debug Cable&nbsp;'''
+
<p><img _fck_mw_filename="RSB-3710 debug cable 2021-11-02 144650.jpg" _fck_mw_origimgheight="339" _fck_mw_origimgwidth="508" alt="RTENOTITLE" src="/wiki/images/8/8d/RSB-3710_debug_cable_2021-11-02_144650.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:RSB-3710 debug cable 2021-11-02 144650.jpg|RTENOTITLE]]
+
<p>&nbsp;</p>
  
&nbsp;
+
<p><b>2. 插入 RSB-3710 的OTG port&nbsp;</b></p>
  
'''2. 插入 RSB-3710 的OTG port&nbsp;'''
+
<p><img _fck_mw_filename="RSB-3710 OTG USBcable 2021-11-02 143356.jpg" _fck_mw_origimgheight="437" _fck_mw_origimgwidth="602" alt="RTENOTITLE" src="/wiki/images/4/4b/RSB-3710_OTG_USBcable_2021-11-02_143356.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:RSB-3710 OTG USBcable 2021-11-02 143356.jpg|RTENOTITLE]]
+
<p>&nbsp;</p>
  
&nbsp;
+
<p><b>連接 Debug cable&nbsp;</b></p>
  
'''連接 Debug cable&nbsp;'''
+
<p><img _fck_mw_filename="RSB-3710 debug and debug port 1 2021-11-02 145203.jpg" _fck_mw_origimgheight="441" _fck_mw_origimgwidth="643" alt="RTENOTITLE" src="/wiki/images/1/15/RSB-3710_debug_and_debug_port_1_2021-11-02_145203.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:RSB-3710 debug and debug port 1 2021-11-02 145203.jpg|RTENOTITLE]]
+
<p>&nbsp;</p>
  
&nbsp;
+
<p><b>3. 設定終端機(Set Debug Terminal)&nbsp;</b></p>
  
'''3. 設定終端機(Set Debug Terminal)&nbsp;'''
+
<p>Debug 串口調試 (Debug port Setting)</p>
  
Debug 串口調試 (Debug port Setting)
+
<p>以 Tera Term&nbsp;&nbsp;为例介绍如何使用串口调试功能</p>
  
以 Tera Term&nbsp;&nbsp;为例介绍如何使用串口调试功能
+
<pre>
<pre>   Baud Rate波特率:115200
+
  Baud Rate波特率:115200
 
   Data 数据位:8
 
   Data 数据位:8
 
   Parity 奇偶校验:无
 
   Parity 奇偶校验:无
&amp;amp;amp;nbsp;  Stop 停止位:1
+
&amp;amp;amp;amp;nbsp;  Stop 停止位:1
 
   Flow Control流控:无</pre>
 
   Flow Control流控:无</pre>
  
:&nbsp;  
+
<dl>
 +
<dd>&nbsp;</dd>
 +
</dl>
 +
 
 +
<p>Tera Term Tool&nbsp;</p>
  
Tera Term Tool&nbsp;
+
<p><img _fck_mw_filename="TeraTerm 2021-09-10 140930n.jpg" _fck_mw_origimgheight="428" _fck_mw_origimgwidth="700" alt="RTENOTITLE" src="/wiki/images/2/25/TeraTerm_2021-09-10_140930n.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:TeraTerm 2021-09-10 140930n.jpg|RTENOTITLE]]
+
<p><img _fck_mw_filename="TeraTerm12021-09-10 141114n.jpg" _fck_mw_origimgheight="391" _fck_mw_origimgwidth="609" alt="RTENOTITLE" src="/wiki/images/6/6d/TeraTerm12021-09-10_141114n.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:TeraTerm12021-09-10 141114n.jpg|RTENOTITLE]]
+
<p>Note:</p>
  
Note:
+
<p>查看PC端的串口号(Check the Sriel port in Device Manager)&nbsp;:</p>
  
查看PC端的串口号(Check the Sriel port in Device Manager)&nbsp;:
+
<p>如果沒有找到 請先確認是否有安裝驅動(if you can not identify the Serial device , please check your serial driver.)&nbsp;</p>
  
如果沒有找到 請先確認是否有安裝驅動(if you can not identify the Serial device , please check your serial driver.)&nbsp;
+
<p>&nbsp;</p>
  
&nbsp;
+
<p>3.打開燒錄軟體</p>
  
3.打開燒錄軟體
+
<p>&nbsp;<img _fck_mw_filename="RSB-3710 RKDevTool Debian 2021-11-02 171049.jpg" _fck_mw_origimgheight="451" _fck_mw_origimgwidth="647" alt="RTENOTITLE" src="/wiki/images/4/4c/RSB-3710_RKDevTool_Debian_2021-11-02_171049.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
&nbsp;[[File:RSB-3710 RKDevTool Debian 2021-11-02 171049.jpg|RTENOTITLE]]
+
<p>&nbsp;</p>
  
&nbsp;
+
<p>4. 打開電源&nbsp;</p>
  
4. 打開電源&nbsp;
+
<p>5. 在終端機上可看到Debug 訊息, 按下<b>&quot;Ctrl + C&quot; </b>組合鍵. 進入u-boot&nbsp;</p>
  
5. 在終端機上可看到Debug 訊息, 按下'''"Ctrl + C" '''組合鍵. 進入u-boot&nbsp;
+
<p>&nbsp;<img _fck_mw_filename="RSB-3710 CtrlC uboot 2021-11-02 150842.jpg" _fck_mw_origimgheight="505" _fck_mw_origimgwidth="696" alt="RTENOTITLE" src="/wiki/images/5/5f/RSB-3710_CtrlC_uboot_2021-11-02_150842.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
&nbsp;[[File:RSB-3710 CtrlC uboot 2021-11-02 150842.jpg|RTENOTITLE]]
+
<p>6.&nbsp;在u-boot ,輸入<b>&quot;rbrom &quot;&nbsp; </b>&nbsp;可進入燒錄模式 , Android tool 會同時顯示 <b>&quot;Found One MASKROM Device &quot;&nbsp;</b></p>
  
6.&nbsp;在u-boot ,輸入'''"rbrom "&nbsp; '''&nbsp;可進入燒錄模式 , Android tool 會同時顯示 '''"Found One MASKROM Device "&nbsp;'''
+
<p>&nbsp;<img _fck_mw_filename="RSB-3710 rbrom 2021-11-02 151430.jpg" _fck_mw_origimgheight="392" _fck_mw_origimgwidth="1154" alt="RTENOTITLE" src="/wiki/images/d/d2/RSB-3710_rbrom_2021-11-02_151430.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
&nbsp;[[File:RSB-3710 rbrom 2021-11-02 151430.jpg|RTENOTITLE]]
+
<p>&nbsp;</p>
  
&nbsp;
+
<p>7.&nbsp; 清除後,重新上電,會直接進入 &quot;Found One MASKROM Device&quot; 燒錄模式</p>
  
7.&nbsp; 清除後,重新上電,會直接進入 "Found One MASKROM Device" 燒錄模式
+
<p>&nbsp;&nbsp;&nbsp;</p>
  
&nbsp;&nbsp;&nbsp;
+
<p>&nbsp;</p>
  
&nbsp;
+
<p>&nbsp;</p>
  
&nbsp;
+
<p>8. 在RKDevTool 按下&nbsp;&quot;Run&quot;&nbsp; ,可進行燒錄.</p>
  
8. 在RKDevTool 按下&nbsp;"Run"&nbsp; ,可進行燒錄.
+
<p>&nbsp;<img _fck_mw_filename="RSB-3710 Run RKDevTool 2021-11-02 160456.jpg" _fck_mw_origimgheight="453" _fck_mw_origimgwidth="692" alt="RTENOTITLE" src="/wiki/images/9/95/RSB-3710_Run_RKDevTool_2021-11-02_160456.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
&nbsp;[[File:RSB-3710 Run RKDevTool 2021-11-02 160456.jpg|RTENOTITLE]]
+
<p>&nbsp;</p>
  
&nbsp;
+
<p>9.&nbsp; 燒錄完畢</p>
  
9.&nbsp; 燒錄完畢
+
<p>&nbsp;<img _fck_mw_filename="RSB-3710 finish RKDevTool 2021-11-02 160931.jpg" _fck_mw_origimgheight="445" _fck_mw_origimgwidth="845" alt="RTENOTITLE" src="/wiki/images/5/55/RSB-3710_finish_RKDevTool_2021-11-02_160931.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
&nbsp;[[File:RSB-3710 finish RKDevTool 2021-11-02 160931.jpg|RTENOTITLE]]
+
<p>10. 重新拔插電源, 讓RSB-3710 重新開機 ,接上HDMI ,可顯示Debian的桌面.&nbsp;</p>
  
10. 重新拔插電源, 讓RSB-3710 重新開機 ,接上HDMI ,可顯示Debian的桌面.&nbsp;
+
<p>&nbsp;<img _fck_mw_filename="RSB-3710 Debian Screenshot from 2022-01-20 06-54-41.png" _fck_mw_origimgheight="768" _fck_mw_origimgwidth="1024" alt="RTENOTITLE" src="/wiki/images/f/f6/RSB-3710_Debian_Screenshot_from_2022-01-20_06-54-41.png" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
&nbsp;[[File:RSB-3710 Debian Screenshot from 2022-01-20 06-54-41.png|RTENOTITLE]]
+
<h2><b>系统的基本使用(Linux&nbsp;System Basic Operating Method)</b></h2>
  
== '''系统的基本使用(Linux&nbsp;System Basic Operating Method)''' ==
+
<h3><b>Display Setting (RSB-3710)</b></h3>
  
=== '''Display Setting (RSB-3710)''' ===
+
<table border="1" cellpadding="1" cellspacing="1" style="width: 476px;">
 +
<tbody>
 +
<tr>
 +
<td>lvds</td>
 +
<td style="width: 436px;">lvds-g070vw01; lvds-g150xgel05; lvds-g215hvn01</td>
 +
</tr>
 +
<tr>
 +
<td>hdmi</td>
 +
<td style="width: 436px;">hdmi-default</td>
 +
</tr>
 +
<tr>
 +
<td>dp</td>
 +
<td style="width: 436px;">dp-default</td>
 +
</tr>
 +
</tbody>
 +
</table>
  
{| border="1" cellpadding="1" cellspacing="1" style="width: 476px;"
+
<table border="1" cellpadding="1" cellspacing="1">
|-
+
<tbody>
| lvds
+
<tr>
| style="width: 436px;" | lvds-g070vw01; lvds-g150xgel05; lvds-g215hvn01
+
<td><b>IN uboot</b></td>
|-
+
<td><b>In Debian/Android</b></td>
| hdmi
+
</tr>
| style="width: 436px;" | hdmi-default
+
<tr>
|-
+
<td>setenv&nbsp;prmry_screen hdmi-default</td>
| dp
+
<td>fw_setenv&nbsp;prmry_screen hdmi-default</td>
| style="width: 436px;" | dp-default
+
</tr>
|}
+
<tr>
 +
<td>setenv&nbsp;extend_screen edp-1920x1080</td>
 +
<td>fw_setenv&nbsp;extend_screen edp-1920x1080</td>
 +
</tr>
 +
<tr>
 +
<td>saveenv</td>
 +
<td>&nbsp;</td>
 +
</tr>
 +
<tr>
 +
<td>reset</td>
 +
<td>reboot</td>
 +
</tr>
 +
</tbody>
 +
</table>
  
{| border="1" cellpadding="1" cellspacing="1"
+
<p>In u-boot:</p>
|-
 
| '''IN uboot'''
 
| '''In Debian/Android'''
 
|-
 
| setenv&nbsp;prmry_screen hdmi-default
 
| fw_setenv&nbsp;prmry_screen hdmi-default
 
|-
 
| setenv&nbsp;extend_screen edp-1920x1080
 
| fw_setenv&nbsp;extend_screen edp-1920x1080
 
|-
 
| saveenv
 
| &nbsp;
 
|-
 
| reset
 
| reboot
 
|}
 
  
In u-boot:
+
<p>=&gt; setenv prmry_screen lvds-g070vw01</p>
  
=> setenv prmry_screen lvds-g070vw01
+
<p>=&gt; setenv extend_screen hdmi-default</p>
  
=> setenv extend_screen hdmi-default
+
<p>=&gt; saveenv</p>
  
=> saveenv
+
<p>=&gt; reset</p>
  
=> reset
+
<p>In Linux:</p>
  
In Linux:
+
<p>~# fw_setenv prmry_screen lvds-g070vw01</p>
  
~# fw_setenv prmry_screen lvds-g070vw01
+
<p>~# reboot</p>
  
~# reboot
+
<p>Modify LVDS backlight PWM: (Defaul is 20KHz, New version BSP support to modify the PWM clock in u-boot from 200~20KHz)</p>
  
Modify LVDS backlight PWM: (Defaul is 20KHz, New version BSP support to modify the PWM clock in u-boot from 200~20KHz)
+
<p>In u-boot:</p>
  
In u-boot:
+
<p>=&gt; setenv lvds_pwm_clock 10000 (Set PWM clock to 10KHz)</p>
  
=> setenv lvds_pwm_clock 10000 (Set PWM clock to 10KHz)
+
<p>In Linux:</p>
  
In Linux:
+
<p>~# fw_setenv lvds_pwm_clock 10000 (Set PWM clock to 10KHz)</p>
  
~# fw_setenv lvds_pwm_clock 10000 (Set PWM clock to 10KHz)
+
<p>~# reboot</p>
  
~# reboot
+
<p>&nbsp;</p>
  
&nbsp;
+
<p>Check PWM duty sysle in Linux:</p>
  
Check PWM duty sysle in Linux:
+
<p>~#&nbsp;cat /sys/kernel/debug/pwm</p>
  
~#&nbsp;cat /sys/kernel/debug/pwm
+
<p><img _fck_mw_filename="Z75.jpg" _fck_mw_origimgheight="145" _fck_mw_origimgwidth="1022" alt="RTENOTITLE" src="/wiki/images/8/83/Z75.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
[[File:Z75.jpg|RTENOTITLE]]
+
<p><b>乙太網路使用方法(Ethernent Testing Method)</b></p>
  
'''乙太網路使用方法(Ethernent Testing Method)'''
+
<p><b>Command&nbsp;: ifconfig&nbsp;</b></p>
  
'''Command&nbsp;: ifconfig&nbsp;'''
+
<p><b>Command: Ping 8.8.8.8&nbsp;</b></p>
  
'''Command: Ping 8.8.8.8&nbsp;'''
+
<p>&nbsp;</p>
  
&nbsp;
+
<h3><b>WiFi使用方法(WIFI Testing Method)</b></h3>
  
=== '''WiFi使用方法(WIFI Testing Method)''' ===
+
<pre>
<pre># killall wpa_supplicant
+
# killall wpa_supplicant
 
# ifconfig wlan0 up
 
# ifconfig wlan0 up
# wpa_passphrase &amp;amp;quot;SSID&amp;amp;quot; &amp;amp;quot;PASSWORD&amp;amp;quot; &amp;amp;gt; /tmp/wpa.conf
+
# wpa_passphrase &amp;amp;amp;quot;SSID&amp;amp;amp;quot; &amp;amp;amp;quot;PASSWORD&amp;amp;amp;quot; &amp;amp;amp;gt; /tmp/wpa.conf
 
# cat /tmp/wpa.conf
 
# cat /tmp/wpa.conf
 
# wpa_supplicant -BDwext -iwlan0 -c/tmp/wpa.conf
 
# wpa_supplicant -BDwext -iwlan0 -c/tmp/wpa.conf
Line 449: Line 503:
 
# ping google.com</pre>
 
# ping google.com</pre>
  
=== '''4G使用方法(4G Testing Method)''' ===
+
<h3><b>4G使用方法(4G Testing Method)</b></h3>
 +
 
 +
<h3><b>GPIO使用方法(GPIO Operating Method)</b></h3>
  
=== '''GPIO使用方法(GPIO Operating Method)''' ===
+
<p>&nbsp;<img _fck_mw_filename="RSB-3710 GPIO define 2022-01-20 142613.jpg" _fck_mw_origimgheight="254" _fck_mw_origimgwidth="480" alt="RTENOTITLE" src="/wiki/images/b/b3/RSB-3710_GPIO_define_2022-01-20_142613.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
&nbsp;[[File:RSB-3710 GPIO define 2022-01-20 142613.jpg|RTENOTITLE]]
+
<p>&nbsp;<img _fck_mw_filename="RSB-3710 gpio1 2022-01-20 142757.jpg" _fck_mw_origimgheight="149" _fck_mw_origimgwidth="464" alt="RTENOTITLE" src="/wiki/images/c/cf/RSB-3710_gpio1_2022-01-20_142757.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
&nbsp;[[File:RSB-3710 gpio1 2022-01-20 142757.jpg|RTENOTITLE]]
+
<p>&nbsp;<img _fck_mw_filename="RSB-3710 gpio2 2022-01-20 142824.jpg" _fck_mw_origimgheight="537" _fck_mw_origimgwidth="465" alt="RTENOTITLE" src="/wiki/images/8/8d/RSB-3710_gpio2_2022-01-20_142824.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
&nbsp;[[File:RSB-3710 gpio2 2022-01-20 142824.jpg|RTENOTITLE]]
+
<p>&nbsp;</p>
  
&nbsp;
+
<h3><b>蓝牙使用方法(BlueTooth Operating&nbsp;Method)</b></h3>
  
=== '''蓝牙使用方法(BlueTooth Operating&nbsp;Method)''' ===
+
<pre>
<pre># hciattach /dev/ttymxc0 bcm43xx 115200 flow
+
# hciattach /dev/ttymxc0 bcm43xx 115200 flow
 
# hciconfig hci0 up
 
# hciconfig hci0 up
 
# hcitool scan# bluetoothctl
 
# hcitool scan# bluetoothctl
Line 474: Line 530:
 
# info 84:C5:A6:D3:AF:E4</pre>
 
# info 84:C5:A6:D3:AF:E4</pre>
  
=== '''音訊使用方法(BlueTooth Operating&nbsp;Method)''' ===
+
<h3><b>音訊使用方法(BlueTooth Operating&nbsp;Method)</b></h3>
<pre>Line-in , Line-out, MIC
+
 
 +
<pre>
 +
Line-in , Line-out, MIC
 
1.Line-out
 
1.Line-out
Command&amp;amp;amp;nbsp;: gplay-1.0
+
Command&amp;amp;amp;amp;nbsp;: gplay-1.0
 
2.MIC
 
2.MIC
Command&amp;amp;amp;nbsp;: arecord
+
Command&amp;amp;amp;amp;nbsp;: arecord
 
Check audio codec:
 
Check audio codec:
  
Line 495: Line 553:
 
Record and playback
 
Record and playback
 
Example command:
 
Example command:
# arecord &amp;amp;ndash;t wav &amp;amp;ndash;c 1 &amp;amp;ndash;r 44100 &amp;amp;ndash;d 5 /tmp/mic.wav
+
# arecord &amp;amp;amp;ndash;t wav &amp;amp;amp;ndash;c 1 &amp;amp;amp;ndash;r 44100 &amp;amp;amp;ndash;d 5 /tmp/mic.wav
 
# aplay /tmp/mic.wav
 
# aplay /tmp/mic.wav
  
 
Record from MIC:
 
Record from MIC:
 
# arecord -D plughw:0,0 -r 16000 -f S16_LE ./f-16000.wav
 
# arecord -D plughw:0,0 -r 16000 -f S16_LE ./f-16000.wav
Recording WAVE &amp;amp;#39;./f-16000.wav&amp;amp;#39;&amp;amp;amp;nbsp;: Signed 16 bit Little Endian, Rate 16000 Hz, Mono
+
Recording WAVE &amp;amp;amp;#39;./f-16000.wav&amp;amp;amp;#39;&amp;amp;amp;amp;nbsp;: Signed 16 bit Little Endian, Rate 16000 Hz, Mono
 
# aplay f-16000.wav
 
# aplay f-16000.wav
Playing WAVE &amp;amp;#39;f-16000.wav&amp;amp;#39;&amp;amp;amp;nbsp;: Signed 16 bit Little Endian, Rate 16000 Hz, Mono
+
Playing WAVE &amp;amp;amp;#39;f-16000.wav&amp;amp;amp;#39;&amp;amp;amp;amp;nbsp;: Signed 16 bit Little Endian, Rate 16000 Hz, Mono
  
 
Play wav file from codec:
 
Play wav file from codec:
 
# aplay -D plughw:0,0 file_example_WAV_10MG.wav
 
# aplay -D plughw:0,0 file_example_WAV_10MG.wav
Playing WAVE &amp;amp;#39;file_example_WAV_10MG.wav&amp;amp;#39;&amp;amp;amp;nbsp;: Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
+
Playing WAVE &amp;amp;amp;#39;file_example_WAV_10MG.wav&amp;amp;amp;#39;&amp;amp;amp;amp;nbsp;: Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
  
 
Play wav file from HDMI:
 
Play wav file from HDMI:
 
# aplay -D plughw:1,0 file_exam
 
# aplay -D plughw:1,0 file_exam
 
ple_WAV_10MG.wav
 
ple_WAV_10MG.wav
Playing WAVE &amp;amp;#39;file_example_WAV_10MG.wav&amp;amp;#39;&amp;amp;amp;nbsp;: Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
+
Playing WAVE &amp;amp;amp;#39;file_example_WAV_10MG.wav&amp;amp;amp;#39;&amp;amp;amp;amp;nbsp;: Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
 
</pre>
 
</pre>
  
=== '''看門狗測試 (Watch Dog Test method)&nbsp;''' ===
+
<h3><b>看門狗測試 (Watch Dog Test method)&nbsp;</b></h3>
<pre>System will reboot after 1 sec
+
 
 +
<pre>
 +
System will reboot after 1 sec
 
# /unit_tests/Watchdog/wdt_driver_test.out 1 2 0
 
# /unit_tests/Watchdog/wdt_driver_test.out 1 2 0
 
</pre>
 
</pre>
  
&nbsp;
+
<p>&nbsp;</p>
  
&nbsp;
+
<p>&nbsp;</p>
  
=== '''遠程訪問及文件傳輸(Remote Access and File Transimmion)''' ===
+
<h3><b>遠程訪問及文件傳輸(Remote Access and File Transimmion)</b></h3>
  
'''&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 查看主板IP位址&nbsp;(&nbsp;Chech IP Address ):'''​
+
<p><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 查看主板IP位址&nbsp;(&nbsp;Chech IP Address ):</b></p>
<pre>       Command&amp;amp;amp;nbsp;: ifconfig</pre>
 
  
&nbsp;[[File:RSB-3710 ifconfig 2022-01-20 140604.jpg|RTENOTITLE]]
+
<pre>
 +
        Command&amp;amp;amp;amp;nbsp;: ifconfig</pre>
  
&nbsp;
+
<p>&nbsp;<img _fck_mw_filename="RSB-3710 ifconfig 2022-01-20 140604.jpg" _fck_mw_origimgheight="871" _fck_mw_origimgwidth="952" alt="RTENOTITLE" src="/wiki/images/2/2b/RSB-3710_ifconfig_2022-01-20_140604.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
Windows下SSH访问及文件传输
+
<p>&nbsp;</p>
  
SSH Remote Log into Device&nbsp;
+
<p>Windows下SSH访问及文件传输</p>
  
*SSH远程登录,以putty选择putty.exe(或者使用Xshell、SecureCRT等类似软件)
+
<p>SSH Remote Log into Device&nbsp;</p>
*需要设置远程设备的IP、通讯端口(默认22)、通讯方式,登录后验证用户名密码
 
  
&nbsp;[[File:SSHsettingdetail.png|RTENOTITLE]]
+
<ul>
 +
<li>SSH远程登录,以putty选择putty.exe(或者使用Xshell、SecureCRT等类似软件)</li>
 +
<li>需要设置远程设备的IP、通讯端口(默认22)、通讯方式,登录后验证用户名密码</li>
 +
</ul>
  
&nbsp;[[File:SSHSetting2021-09-10 143631.jpg|RTENOTITLE]]
+
<p>&nbsp;<img _fck_mw_filename="SSHsettingdetail.png" _fck_mw_origimgheight="600" _fck_mw_origimgwidth="748" alt="RTENOTITLE" src="/wiki/images/3/35/SSHsettingdetail.png" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
&nbsp;[[File:Sshsetting12021-09-10 143743n.jpg|RTENOTITLE]]
+
<p>&nbsp;<img _fck_mw_filename="SSHSetting2021-09-10 143631.jpg" _fck_mw_origimgheight="437" _fck_mw_origimgwidth="477" alt="RTENOTITLE" src="/wiki/images/b/b6/SSHSetting2021-09-10_143631.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
&nbsp;
+
<p>&nbsp;<img _fck_mw_filename="Sshsetting12021-09-10 143743n.jpg" _fck_mw_origimgheight="363" _fck_mw_origimgwidth="576" alt="RTENOTITLE" src="/wiki/images/b/b0/Sshsetting12021-09-10_143743n.jpg" style="vertical-align:middle;" title="RTENOTITLE" /></p>
  
== '''通用方法(General Method)''' ==
+
<p>&nbsp;</p>
  
=== '''查看CPU温度(Check CPU Temperature)''' ===
+
<h2><b>通用方法(General Method)</b></h2>
<pre>   root@linaro-alip:~# cat /sys/devices/virtual/thermal/thermal_zone0/temp  40000
 
  
    # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]&amp;deg; &amp;gt;&amp;gt;&amp;gt; 40&amp;deg;</pre>
+
<h3><b>查看CPU温度(Check CPU Temperature)</b></h3>
  
=== '''查看CPU频率(Check CPU Frequency)''' ===
+
<pre>
<pre>           cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq  
+
    root@linaro-alip:~# cat /sys/devices/virtual/thermal/thermal_zone0/temp  40000
           &amp;gt;&amp;gt; 1200000
+
 
 +
    # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]&amp;amp;deg; &amp;amp;gt;&amp;amp;gt;&amp;amp;gt; 40&amp;amp;deg;</pre>
 +
 
 +
<h3><b>查看CPU频率(Check CPU Frequency)</b></h3>
 +
 
 +
<pre>
 +
          cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq  
 +
           &amp;amp;gt;&amp;amp;gt; 1200000
 
           cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq     
 
           cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq     
           &amp;gt;&amp;gt; 1800000</pre>
+
           &amp;amp;gt;&amp;amp;gt; 1800000</pre>
 +
 
 +
<h3><b>&nbsp;查看内存容量(Check Memory&nbsp;Capacity)</b></h3>
  
=== '''&nbsp;查看内存容量(Check Memory&nbsp;Capacity)''' ===
+
<pre>
<pre>root@linaro-alip:~# busybox free -m
+
root@linaro-alip:~# busybox free -m
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; total &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;used &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;free &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;shared &amp;amp;nbsp;buff/cache &amp;amp;nbsp; available
+
&amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; total &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;used &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;free &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;shared &amp;amp;amp;nbsp;buff/cache &amp;amp;amp;nbsp; available
Mem: &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 1961 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 303 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;1096 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;97 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 561 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;1575
+
Mem: &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 1961 &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 303 &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;1096 &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;97 &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 561 &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;1575
Swap: &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 0 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 0 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 0
+
Swap: &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 0 &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 0 &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 0
 
root@linaro-alip:~#
 
root@linaro-alip:~#
 
</pre>
 
</pre>
  
=== '''&nbsp;查看存储容量(Check Storage Capacity)''' ===
+
<h3><b>&nbsp;查看存储容量(Check Storage Capacity)</b></h3>
<pre>root@linaro-alip:~# busybox df -h
+
 
Filesystem &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;Size &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;Used Available Use% Mounted on
+
<pre>
/dev/root &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 7.8G &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;2.8G &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;4.6G &amp;amp;nbsp;37% /
+
root@linaro-alip:~# busybox df -h
devtmpfs &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;972.3M &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;8.0K &amp;amp;nbsp; &amp;amp;nbsp;972.3M &amp;amp;nbsp; 0% /dev
+
Filesystem &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;Size &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;Used Available Use% Mounted on
tmpfs &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 980.8M &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 0 &amp;amp;nbsp; &amp;amp;nbsp;980.8M &amp;amp;nbsp; 0% /dev/shm
+
/dev/root &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 7.8G &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;2.8G &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;4.6G &amp;amp;amp;nbsp;37% /
tmpfs &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 980.8M &amp;amp;nbsp; &amp;amp;nbsp; 16.8M &amp;amp;nbsp; &amp;amp;nbsp;964.0M &amp;amp;nbsp; 2% /run
+
devtmpfs &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;972.3M &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;8.0K &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;972.3M &amp;amp;amp;nbsp; 0% /dev
tmpfs &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 5.0M &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;4.0K &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;5.0M &amp;amp;nbsp; 0% /run/lock
+
tmpfs &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 980.8M &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 0 &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;980.8M &amp;amp;amp;nbsp; 0% /dev/shm
tmpfs &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 980.8M &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 0 &amp;amp;nbsp; &amp;amp;nbsp;980.8M &amp;amp;nbsp; 0% /sys/fs/cgroup
+
tmpfs &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 980.8M &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 16.8M &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;964.0M &amp;amp;amp;nbsp; 2% /run
/dev/mmcblk1p10 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 6.4G &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;3.8M &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;6.4G &amp;amp;nbsp; 0% /userdata
+
tmpfs &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 5.0M &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;4.0K &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;5.0M &amp;amp;amp;nbsp; 0% /run/lock
/dev/mmcblk1p7 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 62.6M &amp;amp;nbsp; &amp;amp;nbsp; 12.0M &amp;amp;nbsp; &amp;amp;nbsp; 47.3M &amp;amp;nbsp;20% /oem
+
tmpfs &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 980.8M &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 0 &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;980.8M &amp;amp;amp;nbsp; 0% /sys/fs/cgroup
tmpfs &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 196.2M &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 0 &amp;amp;nbsp; &amp;amp;nbsp;196.2M &amp;amp;nbsp; 0% /run/user/0
+
/dev/mmcblk1p10 &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 6.4G &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;3.8M &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;6.4G &amp;amp;amp;nbsp; 0% /userdata
tmpfs &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 196.2M &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;8.0K &amp;amp;nbsp; &amp;amp;nbsp;196.1M &amp;amp;nbsp; 0% /run/user/1000
+
/dev/mmcblk1p7 &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 62.6M &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 12.0M &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 47.3M &amp;amp;amp;nbsp;20% /oem
 +
tmpfs &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 196.2M &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 0 &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;196.2M &amp;amp;amp;nbsp; 0% /run/user/0
 +
tmpfs &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; 196.2M &amp;amp;amp;nbsp; &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;8.0K &amp;amp;amp;nbsp; &amp;amp;amp;nbsp;196.1M &amp;amp;amp;nbsp; 0% /run/user/1000
 
root@linaro-alip:~#</pre>
 
root@linaro-alip:~#</pre>
  
=== '''網路Ping測試(Ping Network Testing)''' ===
+
<h3><b>網路Ping測試(Ping Network Testing)</b></h3>
<pre>     ping 8.8.8.8
+
 
 +
<pre>
 +
    ping 8.8.8.8
 
     PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
 
     PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
 
     64 bytes from 8.8.8.8: icmp_seq=1 ttl=54 time=2.10 ms
 
     64 bytes from 8.8.8.8: icmp_seq=1 ttl=54 time=2.10 ms
 
     64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=2.10 ms</pre>
 
     64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=2.10 ms</pre>
  
=== '''設置RTC (RTC Setting)&nbsp;''' ===
+
<h3><b>設置RTC (RTC Setting)&nbsp;</b></h3>
  
Set system time to current, then write to RTC<br/> &nbsp; &nbsp;root@linaro-alip:~# date 01282022<br/> &nbsp; &nbsp;Fri Jan 28 20:22:00 UTC 2022<br/> &nbsp; &nbsp;root@linaro-alip:~#<br/> Restart the RTC time to system time
+
<p>Set system time to current, then write to RTC<br />
 +
&nbsp; &nbsp;root@linaro-alip:~# date 01282022<br />
 +
&nbsp; &nbsp;Fri Jan 28 20:22:00 UTC 2022<br />
 +
&nbsp; &nbsp;root@linaro-alip:~#<br />
 +
Restart the RTC time to system time</p>
  
&nbsp;
+
<p>&nbsp;</p>
  
#hwclock -s && date  
+
<ol>
 +
<li>hwclock -s &amp;&amp; date</li>
 +
</ol>
  
&nbsp;
+
<p>&nbsp;</p>
  
root@linaro-alip:~# hwclock -s && date<br/> Thu Jan 20 06:18:26 UTC 2022<br/> root@linaro-alip:~#&nbsp;
+
<p>root@linaro-alip:~# hwclock -s &amp;&amp; date<br />
 +
Thu Jan 20 06:18:26 UTC 2022<br />
 +
root@linaro-alip:~#&nbsp;</p>
  
== '''Android&nbsp;BSP編譯方法(Android BSP Compile Method)''' ==
+
<h2><b>Android&nbsp;BSP編譯方法(Android BSP Compile Method)</b></h2>
  
*
+
<ul>
**
+
<li>
***[[Android_BSP_User_Guide_for_rk3399_series_10.0|Android BSP User Guide for rk3399 series 10.0]]   
+
<ul>
 +
<li>
 +
<ul>
 +
<li><a href="Android%20BSP%20User%20Guide%20for%20rk3399%20series%2010.0">Android BSP User Guide for rk3399 series 10.0</a></li>
 +
</ul>
 +
</li>
 +
</ul>
 +
</li>
 +
</ul>
  
'''如果有驗證上的錯誤 請使用以下的方法(If you got "&nbsp;Server certificate verification failed " message ,please follow the solution as below)&nbsp;'''
+
<p><b>如果有驗證上的錯誤 請使用以下的方法(If you got &quot;&nbsp;Server certificate verification failed &quot; message ,please follow the solution as below)&nbsp;</b></p>
  
<u>'''### repo sync failed with Server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none<br/> ============================================================<br/> export GIT_SSL_NO_VERIFY=1'''</u>
+
<p><u><b>### repo sync failed with Server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none<br />
 +
============================================================<br />
 +
export GIT_SSL_NO_VERIFY=1</b></u></p>
  
<u>'''or'''</u>
+
<p><u><b>or</b></u></p>
  
<u>'''git config --global http.sslverify false<br/> ============================================================'''</u>
+
<p><u><b>git config --global http.sslverify false<br />
 +
============================================================</b></u></p>
  
&nbsp;
+
<p>&nbsp;</p>
  
&nbsp;
+
<p>&nbsp;</p>
  
{| border="0" cellpadding="10" cellspacing="0" style="width:100%;"
+
<table border="0" cellpadding="10" cellspacing="0" style="width:100%;">
|-
+
<tbody>
| <iframe height="230" key="advonline" level="campaign" path="en/aim-linux_community/" width="100%"></iframe>
+
<tr>
|}
+
<td><span _fck_mw_customtag="true" _fck_mw_tagattributes="height,key,level,path,width" _fck_mw_tagname="iframe" _fck_mw_tagtype="t" class="fck_mw_special" height="230" key="advonline" level="campaign" path="en/aim-linux_community/" width="100%">_</span></td>
 +
</tr>
 +
</tbody>
 +
</table>

Revision as of 08:10, 7 November 2023

產品介紹(Product introduction )

產品特性(Product Features)

  • Rockchip Arm® Cortex®-A72 RK3399 up to 1.8 GHz
  • Onboard LPDDR4 2GB
  • HDMI 1920x1080 at 60Hz, 1 Dual Channel 24 bit LVDS
  • 1 2-wire RS-232, 1 USB3.0, 1 USB2.0, 1 Micro SD, 1 Mic. in / Line out
  • 1 mini-PCIe for 3G/4G
  • UIO expansion 3 USB2.0, 8 GPIO, 2 RS232 2/2-wires UART, 1 I2C
  • Supports Debian9/10 and Android7.1/10.0
  • Support I/O Expansions by UIO40-Express I/O boards, please refer to page #3 for more information

產品官網連結(Product Features) 

<a alt="https://www.advantech.com/en/search/?q=EPC-R3710&st=support&from=support" href="https://www.advantech.com/en/search/?q=EPC-R3710&st=support&from=support" title="https://www.advantech.com/en/search/?q=EPC-R3710&st=support&from=support">EPC-R3710</a>

硬件接口說明(Hardware interface introduction)

接口布局和尺寸(Layout and Sizes)

<img _fck_mw_filename="EPC-R3710 Case.PNG" _fck_mw_origimgheight="390" _fck_mw_origimgwidth="692" alt="RTENOTITLE" src="/wiki/images/7/72/EPC-R3710_Case.PNG" style="vertical-align:middle;" title="RTENOTITLE" />

 

接口布局圖 Board Dimension Layout 

<img _fck_mw_filename="RSB-3710 product pic11 2021-11-02 100745.jpg" _fck_mw_origimgheight="388" _fck_mw_origimgwidth="502" alt="RTENOTITLE" src="/wiki/images/f/fa/RSB-3710_product_pic11_2021-11-02_100745.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

<img _fck_mw_filename="RSB-3710 product pic22 2021-11-02 100837.jpg" _fck_mw_origimgheight="372" _fck_mw_origimgwidth="470" alt="RTENOTITLE" src="/wiki/images/1/16/RSB-3710_product_pic22_2021-11-02_100837.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

<img _fck_mw_filename="RSB-3710 product pic33 2021-11-02 100904.jpg" _fck_mw_origimgheight="137" _fck_mw_origimgwidth="677" alt="RTENOTITLE" src="/wiki/images/0/03/RSB-3710_product_pic33_2021-11-02_100904.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

 

 Connector List

<img _fck_mw_filename="3710.jpg" _fck_mw_origimgheight="735" _fck_mw_origimgwidth="1273" alt="RTENOTITLE" src="/wiki/images/0/07/3710.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

<tbody> </tbody>
BAT RTC Battery Connector
HDMI HDMI1 CONN
BLP2 LVDS BKL PWR 12V select

LVDS/eDP

LVDS BKL

LVDS DATA/PWRCONN
LAN1 LAN
LAN2 LAN
MINIPCIE MINI PCIE 52P 
SIM Nano SIM Card
AUDIO Audio PIN Header
USB1 USB CONN
COM2/Debug  COM2 
SD SD Slot
OTG USB
BTN MASKROM mode pin header 
RST Reset Button
DCIN1  12V DC Jack
LED LED
CN11 UIO1
CN12 UIO2

 

接口引脚定義 (Pin definitions)

<a href="BAT">BAT</a>

<a href="HDMI1">HDMI1</a>

<a href="BL">BL</a>

<a href="LVDS">LVDS</a>

<a href="LAN1%2C%20LAN2">LAN1, LAN2</a>

<a href="MINIPCIE">MINIPCIE</a>

<a href="SIM">SIM</a>

<a href="Audio">Audio</a>

<a href="USB1">USB1</a>

<a href="COM2%2FDebug">COM2/Debug</a>

<a href="SD">SD</a>

<a href="OTG">OTG</a>

<a href="BTN">BTN</a>

<a href="RST">RST</a>

<a href="DCIN1">DCIN1</a>

<a href="LED">LED</a>

<a href="CN11">CN11</a>

<a href="CN12">CN12</a>

<a href="RSB-3710%20Jumper%20List">RSB-3710_Jumper List</a>

机械尺寸  (Mechanical Characteristics)

<img _fck_mw_filename="RSB-3710 Mechanical 2021-11-02 102727.jpg" _fck_mw_origimgheight="438" _fck_mw_origimgwidth="505" alt="RTENOTITLE" src="/wiki/images/6/69/RSB-3710_Mechanical_2021-11-02_102727.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

快速入门 (Quick Start)

系统下载 (OS Download)

  • Android 系统 (Android  OS)

           Android 10 : <a alt="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android10/Internal" href="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android10/Internal" title="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android10/Internal">AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android10/</a>

           Android   7 : <a alt="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android7/Internal" href="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android7/Internal" title="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android7/Internal">AIM-Linux/BSP/RK/Linux_Android_OS_Release_note/Android7/</a> 

  • Debian 系統( Debian OS) 

           Debbian 10:<a alt="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Debian_OS_Release_note/Debian10/Internal" href="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Debian_OS_Release_note/Debian10/Internal" title="http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RK/Linux_Debian_OS_Release_note/Debian10/Internal">AIM-Linux/BSP/RK/Linux_Debian_OS_Release_note/Debian10/</a>

Android 燒錄方法 (Android Flash eMMC Method) 

1. 請先準備一條 mirco USB 線材 和 Debug Cable 

 mirco USB 

 

<img _fck_mw_filename="RSB-3710 mirco usb 2021-11-02 143011.jpg" _fck_mw_origimgheight="376" _fck_mw_origimgwidth="390" alt="RTENOTITLE" src="/wiki/images/0/06/RSB-3710_mirco_usb_2021-11-02_143011.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

Debug Cable 

<img _fck_mw_filename="RSB-3710 debug cable 2021-11-02 144650.jpg" _fck_mw_origimgheight="339" _fck_mw_origimgwidth="508" alt="RTENOTITLE" src="/wiki/images/8/8d/RSB-3710_debug_cable_2021-11-02_144650.jpg" style="vertical-align:middle;" title="RTENOTITLE" />   

2. 插入 RSB-3710 的OTG port 

<img _fck_mw_filename="RSB-3710 OTG USBcable 2021-11-02 143356.jpg" _fck_mw_origimgheight="437" _fck_mw_origimgwidth="602" alt="RTENOTITLE" src="/wiki/images/4/4b/RSB-3710_OTG_USBcable_2021-11-02_143356.jpg" style="vertical-align:middle;" title="RTENOTITLE" />    

連接 Debug cable 

 <img _fck_mw_filename="RSB-3710 debug and debug port 1 2021-11-02 145203.jpg" _fck_mw_origimgheight="441" _fck_mw_origimgwidth="643" alt="RTENOTITLE" src="/wiki/images/1/15/RSB-3710_debug_and_debug_port_1_2021-11-02_145203.jpg" style="vertical-align:middle;" title="RTENOTITLE" /> 

2. 設定終端機(Set Debug Terminal) 

Debug 串口調試 (Debug port Setting)

以 Tera Term  为例介绍如何使用串口调试功能

   Baud Rate波特率:115200
   Data 数据位:8
   Parity 奇偶校验:无
&amp;amp;nbsp;  Stop 停止位:1
   Flow Control流控:无
 

Tera Term Tool 

<img _fck_mw_filename="TeraTerm 2021-09-10 140930n.jpg" _fck_mw_origimgheight="428" _fck_mw_origimgwidth="700" alt="RTENOTITLE" src="/wiki/images/2/25/TeraTerm_2021-09-10_140930n.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

<img _fck_mw_filename="TeraTerm12021-09-10 141114n.jpg" _fck_mw_origimgheight="391" _fck_mw_origimgwidth="609" alt="RTENOTITLE" src="/wiki/images/6/6d/TeraTerm12021-09-10_141114n.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

Note:

Check the Sriel port in Device Manager (查看PC端的串口号):

if you can not identify the Serial device , please check your serial driver. 

 

3.打開燒錄軟體

<img _fck_mw_filename="RSB-3710 android tool 2021-11-02 150159.jpg" _fck_mw_origimgheight="442" _fck_mw_origimgwidth="827" alt="RTENOTITLE" src="/wiki/images/c/cb/RSB-3710_android_tool_2021-11-02_150159.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

4. 打開電源 

5. 在終端機上可看到Debug 訊息, 按下"Ctrl + C" 組合鍵. 進入u-boot 

<img _fck_mw_filename="RSB-3710 CtrlC uboot 2021-11-02 150842.jpg" _fck_mw_origimgheight="505" _fck_mw_origimgwidth="696" alt="RTENOTITLE" src="/wiki/images/5/5f/RSB-3710_CtrlC_uboot_2021-11-02_150842.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

6. 在u-boot ,輸入"loader"   可進入燒錄模式 , Android tool 會同時顯示 "Found One MASKROM Device " 

<img _fck_mw_filename="RSB-3710 android loader 2022-01-20 154115.jpg" _fck_mw_origimgheight="515" _fck_mw_origimgwidth="1624" alt="RTENOTITLE" src="/wiki/images/b/be/RSB-3710_android_loader_2022-01-20_154115.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

7. 在RKDevTool 按下 "Run"  ,可進行燒錄.

<img _fck_mw_filename="RSB-3710 Run RKDevTool 2021-11-02 160456.jpg" _fck_mw_origimgheight="453" _fck_mw_origimgwidth="692" alt="RTENOTITLE" src="/wiki/images/9/95/RSB-3710_Run_RKDevTool_2021-11-02_160456.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

8.  燒錄完畢

<img _fck_mw_filename="RSB-3710 finish RKDevTool 2021-11-02 160931.jpg" _fck_mw_origimgheight="445" _fck_mw_origimgwidth="845" alt="RTENOTITLE" src="/wiki/images/5/55/RSB-3710_finish_RKDevTool_2021-11-02_160931.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

9. 重新拔插電源, 讓RSB-3710 重新開機 ,接上HDMI ,可顯示安卓的桌面. 

<img _fck_mw_filename="RSB-3710 Android desktop pic.png" _fck_mw_origimgheight="605" _fck_mw_origimgwidth="1076" alt="RTENOTITLE" src="/wiki/images/1/18/RSB-3710_Android_desktop_pic.png" style="vertical-align:middle;" title="RTENOTITLE" />

 

Linux 燒錄方法 (Linux Flash eMMC Method) 

1. 請先準備一條 mirco USB 線材 和 Debug Cable 

 mirco USB 

<img _fck_mw_filename="RSB-3710 mirco usb 2021-11-02 143011.jpg" _fck_mw_origimgheight="376" _fck_mw_origimgwidth="390" alt="RTENOTITLE" src="/wiki/images/0/06/RSB-3710_mirco_usb_2021-11-02_143011.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

Debug Cable 

<img _fck_mw_filename="RSB-3710 debug cable 2021-11-02 144650.jpg" _fck_mw_origimgheight="339" _fck_mw_origimgwidth="508" alt="RTENOTITLE" src="/wiki/images/8/8d/RSB-3710_debug_cable_2021-11-02_144650.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

2. 插入 RSB-3710 的OTG port 

<img _fck_mw_filename="RSB-3710 OTG USBcable 2021-11-02 143356.jpg" _fck_mw_origimgheight="437" _fck_mw_origimgwidth="602" alt="RTENOTITLE" src="/wiki/images/4/4b/RSB-3710_OTG_USBcable_2021-11-02_143356.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

連接 Debug cable 

<img _fck_mw_filename="RSB-3710 debug and debug port 1 2021-11-02 145203.jpg" _fck_mw_origimgheight="441" _fck_mw_origimgwidth="643" alt="RTENOTITLE" src="/wiki/images/1/15/RSB-3710_debug_and_debug_port_1_2021-11-02_145203.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

3. 設定終端機(Set Debug Terminal) 

Debug 串口調試 (Debug port Setting)

以 Tera Term  为例介绍如何使用串口调试功能

   Baud Rate波特率:115200
   Data 数据位:8
   Parity 奇偶校验:无
&amp;amp;amp;nbsp;  Stop 停止位:1
   Flow Control流控:无
 

Tera Term Tool 

<img _fck_mw_filename="TeraTerm 2021-09-10 140930n.jpg" _fck_mw_origimgheight="428" _fck_mw_origimgwidth="700" alt="RTENOTITLE" src="/wiki/images/2/25/TeraTerm_2021-09-10_140930n.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

<img _fck_mw_filename="TeraTerm12021-09-10 141114n.jpg" _fck_mw_origimgheight="391" _fck_mw_origimgwidth="609" alt="RTENOTITLE" src="/wiki/images/6/6d/TeraTerm12021-09-10_141114n.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

Note:

查看PC端的串口号(Check the Sriel port in Device Manager) :

如果沒有找到 請先確認是否有安裝驅動(if you can not identify the Serial device , please check your serial driver.) 

 

3.打開燒錄軟體

 <img _fck_mw_filename="RSB-3710 RKDevTool Debian 2021-11-02 171049.jpg" _fck_mw_origimgheight="451" _fck_mw_origimgwidth="647" alt="RTENOTITLE" src="/wiki/images/4/4c/RSB-3710_RKDevTool_Debian_2021-11-02_171049.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

4. 打開電源 

5. 在終端機上可看到Debug 訊息, 按下"Ctrl + C" 組合鍵. 進入u-boot 

 <img _fck_mw_filename="RSB-3710 CtrlC uboot 2021-11-02 150842.jpg" _fck_mw_origimgheight="505" _fck_mw_origimgwidth="696" alt="RTENOTITLE" src="/wiki/images/5/5f/RSB-3710_CtrlC_uboot_2021-11-02_150842.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

6. 在u-boot ,輸入"rbrom "   可進入燒錄模式 , Android tool 會同時顯示 "Found One MASKROM Device " 

 <img _fck_mw_filename="RSB-3710 rbrom 2021-11-02 151430.jpg" _fck_mw_origimgheight="392" _fck_mw_origimgwidth="1154" alt="RTENOTITLE" src="/wiki/images/d/d2/RSB-3710_rbrom_2021-11-02_151430.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

7.  清除後,重新上電,會直接進入 "Found One MASKROM Device" 燒錄模式

   

 

 

8. 在RKDevTool 按下 "Run"  ,可進行燒錄.

 <img _fck_mw_filename="RSB-3710 Run RKDevTool 2021-11-02 160456.jpg" _fck_mw_origimgheight="453" _fck_mw_origimgwidth="692" alt="RTENOTITLE" src="/wiki/images/9/95/RSB-3710_Run_RKDevTool_2021-11-02_160456.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

9.  燒錄完畢

 <img _fck_mw_filename="RSB-3710 finish RKDevTool 2021-11-02 160931.jpg" _fck_mw_origimgheight="445" _fck_mw_origimgwidth="845" alt="RTENOTITLE" src="/wiki/images/5/55/RSB-3710_finish_RKDevTool_2021-11-02_160931.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

10. 重新拔插電源, 讓RSB-3710 重新開機 ,接上HDMI ,可顯示Debian的桌面. 

 <img _fck_mw_filename="RSB-3710 Debian Screenshot from 2022-01-20 06-54-41.png" _fck_mw_origimgheight="768" _fck_mw_origimgwidth="1024" alt="RTENOTITLE" src="/wiki/images/f/f6/RSB-3710_Debian_Screenshot_from_2022-01-20_06-54-41.png" style="vertical-align:middle;" title="RTENOTITLE" />

系统的基本使用(Linux System Basic Operating Method)

Display Setting (RSB-3710)

<tbody> </tbody>
lvds lvds-g070vw01; lvds-g150xgel05; lvds-g215hvn01
hdmi hdmi-default
dp dp-default
<tbody> </tbody>
IN uboot In Debian/Android
setenv prmry_screen hdmi-default fw_setenv prmry_screen hdmi-default
setenv extend_screen edp-1920x1080 fw_setenv extend_screen edp-1920x1080
saveenv  
reset reboot

In u-boot:

=> setenv prmry_screen lvds-g070vw01

=> setenv extend_screen hdmi-default

=> saveenv

=> reset

In Linux:

~# fw_setenv prmry_screen lvds-g070vw01

~# reboot

Modify LVDS backlight PWM: (Defaul is 20KHz, New version BSP support to modify the PWM clock in u-boot from 200~20KHz)

In u-boot:

=> setenv lvds_pwm_clock 10000 (Set PWM clock to 10KHz)

In Linux:

~# fw_setenv lvds_pwm_clock 10000 (Set PWM clock to 10KHz)

~# reboot

 

Check PWM duty sysle in Linux:

~# cat /sys/kernel/debug/pwm

<img _fck_mw_filename="Z75.jpg" _fck_mw_origimgheight="145" _fck_mw_origimgwidth="1022" alt="RTENOTITLE" src="/wiki/images/8/83/Z75.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

乙太網路使用方法(Ethernent Testing Method)

Command : ifconfig 

Command: Ping 8.8.8.8 

 

WiFi使用方法(WIFI Testing Method)

# killall wpa_supplicant
# ifconfig wlan0 up
# wpa_passphrase &amp;amp;quot;SSID&amp;amp;quot; &amp;amp;quot;PASSWORD&amp;amp;quot; &amp;amp;gt; /tmp/wpa.conf
# cat /tmp/wpa.conf
# wpa_supplicant -BDwext -iwlan0 -c/tmp/wpa.conf
# udhcpc -b -i wlan0
# ifconfig
# ping 8.8.8.8
Add DNS to /etc/resolv.conf
# cat /etc/resolv.conf
# Generated by Connection Manager
nameserver 8.8.8.8
nameserver 8.8.4.4
Now can ping google.com
# ping google.com

4G使用方法(4G Testing Method)

GPIO使用方法(GPIO Operating Method)

 <img _fck_mw_filename="RSB-3710 GPIO define 2022-01-20 142613.jpg" _fck_mw_origimgheight="254" _fck_mw_origimgwidth="480" alt="RTENOTITLE" src="/wiki/images/b/b3/RSB-3710_GPIO_define_2022-01-20_142613.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 <img _fck_mw_filename="RSB-3710 gpio1 2022-01-20 142757.jpg" _fck_mw_origimgheight="149" _fck_mw_origimgwidth="464" alt="RTENOTITLE" src="/wiki/images/c/cf/RSB-3710_gpio1_2022-01-20_142757.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 <img _fck_mw_filename="RSB-3710 gpio2 2022-01-20 142824.jpg" _fck_mw_origimgheight="537" _fck_mw_origimgwidth="465" alt="RTENOTITLE" src="/wiki/images/8/8d/RSB-3710_gpio2_2022-01-20_142824.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

蓝牙使用方法(BlueTooth Operating Method)

# hciattach /dev/ttymxc0 bcm43xx 115200 flow
# hciconfig hci0 up
# hcitool scan# bluetoothctl
# discoverable on
#pairable on
# scan on
# scan off
# pair 84:C5:A6:D3:AF:E4
# connect 84:C5:A6:D3:AF:E4
Check BT connect info
# info 84:C5:A6:D3:AF:E4

音訊使用方法(BlueTooth Operating Method)

Line-in , Line-out, MIC
1.Line-out
Command&amp;amp;amp;nbsp;: gplay-1.0
2.MIC
Command&amp;amp;amp;nbsp;: arecord
Check audio codec:

# cat /proc/asound/cards
 0 [sgtl5000       ]: sgtl5000 - sgtl5000
                      sgtl5000
 1 [audiohdmi      ]: audio-hdmi - audio-hdmi
                      audio-hdmi
root@imx8mprsb3720a1:~#
   Set Mic/audio volume
# amixer set Mic 100%
# amixer set Lineout 100%
# amixer set PCM 100%

Record and playback
Example command:
# arecord &amp;amp;ndash;t wav &amp;amp;ndash;c 1 &amp;amp;ndash;r 44100 &amp;amp;ndash;d 5 /tmp/mic.wav
# aplay /tmp/mic.wav

Record from MIC:
# arecord -D plughw:0,0 -r 16000 -f S16_LE ./f-16000.wav
Recording WAVE &amp;amp;#39;./f-16000.wav&amp;amp;#39;&amp;amp;amp;nbsp;: Signed 16 bit Little Endian, Rate 16000 Hz, Mono
# aplay f-16000.wav
Playing WAVE &amp;amp;#39;f-16000.wav&amp;amp;#39;&amp;amp;amp;nbsp;: Signed 16 bit Little Endian, Rate 16000 Hz, Mono

Play wav file from codec:
# aplay -D plughw:0,0 file_example_WAV_10MG.wav
Playing WAVE &amp;amp;#39;file_example_WAV_10MG.wav&amp;amp;#39;&amp;amp;amp;nbsp;: Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

Play wav file from HDMI:
# aplay -D plughw:1,0 file_exam
ple_WAV_10MG.wav
Playing WAVE &amp;amp;#39;file_example_WAV_10MG.wav&amp;amp;#39;&amp;amp;amp;nbsp;: Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

看門狗測試 (Watch Dog Test method) 

System will reboot after 1 sec
# /unit_tests/Watchdog/wdt_driver_test.out 1 2 0

 

 

遠程訪問及文件傳輸(Remote Access and File Transimmion)

              查看主板IP位址 ( Chech IP Address ):

        Command&amp;amp;amp;nbsp;: ifconfig

 <img _fck_mw_filename="RSB-3710 ifconfig 2022-01-20 140604.jpg" _fck_mw_origimgheight="871" _fck_mw_origimgwidth="952" alt="RTENOTITLE" src="/wiki/images/2/2b/RSB-3710_ifconfig_2022-01-20_140604.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

Windows下SSH访问及文件传输

SSH Remote Log into Device 

  • SSH远程登录,以putty选择putty.exe(或者使用Xshell、SecureCRT等类似软件)
  • 需要设置远程设备的IP、通讯端口(默认22)、通讯方式,登录后验证用户名密码

 <img _fck_mw_filename="SSHsettingdetail.png" _fck_mw_origimgheight="600" _fck_mw_origimgwidth="748" alt="RTENOTITLE" src="/wiki/images/3/35/SSHsettingdetail.png" style="vertical-align:middle;" title="RTENOTITLE" />

 <img _fck_mw_filename="SSHSetting2021-09-10 143631.jpg" _fck_mw_origimgheight="437" _fck_mw_origimgwidth="477" alt="RTENOTITLE" src="/wiki/images/b/b6/SSHSetting2021-09-10_143631.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 <img _fck_mw_filename="Sshsetting12021-09-10 143743n.jpg" _fck_mw_origimgheight="363" _fck_mw_origimgwidth="576" alt="RTENOTITLE" src="/wiki/images/b/b0/Sshsetting12021-09-10_143743n.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

 

通用方法(General Method)

查看CPU温度(Check CPU Temperature)

    root@linaro-alip:~# cat /sys/devices/virtual/thermal/thermal_zone0/temp   40000

    # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]&amp;deg; &amp;gt;&amp;gt;&amp;gt; 40&amp;deg;

查看CPU频率(Check CPU Frequency)

           cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq 
           &amp;gt;&amp;gt; 1200000
           cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq    
           &amp;gt;&amp;gt; 1800000

 查看内存容量(Check Memory Capacity)

root@linaro-alip:~# busybox free -m
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; total &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;used &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;free &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;shared &amp;amp;nbsp;buff/cache &amp;amp;nbsp; available
Mem: &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 1961 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 303 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;1096 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;97 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 561 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;1575
Swap: &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 0 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 0 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 0
root@linaro-alip:~#

 查看存储容量(Check Storage Capacity)

root@linaro-alip:~# busybox df -h
Filesystem &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;Size &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;Used Available Use% Mounted on
/dev/root &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 7.8G &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;2.8G &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;4.6G &amp;amp;nbsp;37% /
devtmpfs &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;972.3M &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;8.0K &amp;amp;nbsp; &amp;amp;nbsp;972.3M &amp;amp;nbsp; 0% /dev
tmpfs &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 980.8M &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 0 &amp;amp;nbsp; &amp;amp;nbsp;980.8M &amp;amp;nbsp; 0% /dev/shm
tmpfs &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 980.8M &amp;amp;nbsp; &amp;amp;nbsp; 16.8M &amp;amp;nbsp; &amp;amp;nbsp;964.0M &amp;amp;nbsp; 2% /run
tmpfs &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 5.0M &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;4.0K &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;5.0M &amp;amp;nbsp; 0% /run/lock
tmpfs &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 980.8M &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 0 &amp;amp;nbsp; &amp;amp;nbsp;980.8M &amp;amp;nbsp; 0% /sys/fs/cgroup
/dev/mmcblk1p10 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 6.4G &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;3.8M &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;6.4G &amp;amp;nbsp; 0% /userdata
/dev/mmcblk1p7 &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 62.6M &amp;amp;nbsp; &amp;amp;nbsp; 12.0M &amp;amp;nbsp; &amp;amp;nbsp; 47.3M &amp;amp;nbsp;20% /oem
tmpfs &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 196.2M &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 0 &amp;amp;nbsp; &amp;amp;nbsp;196.2M &amp;amp;nbsp; 0% /run/user/0
tmpfs &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; 196.2M &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp;8.0K &amp;amp;nbsp; &amp;amp;nbsp;196.1M &amp;amp;nbsp; 0% /run/user/1000
root@linaro-alip:~#

網路Ping測試(Ping Network Testing)

     ping 8.8.8.8
     PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
     64 bytes from 8.8.8.8: icmp_seq=1 ttl=54 time=2.10 ms
     64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=2.10 ms

設置RTC (RTC Setting) 

Set system time to current, then write to RTC
   root@linaro-alip:~# date 01282022
   Fri Jan 28 20:22:00 UTC 2022
   root@linaro-alip:~#
Restart the RTC time to system time

 

  1. hwclock -s && date

 

root@linaro-alip:~# hwclock -s && date
Thu Jan 20 06:18:26 UTC 2022
root@linaro-alip:~# 

Android BSP編譯方法(Android BSP Compile Method)

      • <a href="Android%20BSP%20User%20Guide%20for%20rk3399%20series%2010.0">Android BSP User Guide for rk3399 series 10.0</a>

如果有驗證上的錯誤 請使用以下的方法(If you got " Server certificate verification failed " message ,please follow the solution as below) 

### repo sync failed with Server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
============================================================
export GIT_SSL_NO_VERIFY=1

or

git config --global http.sslverify false
============================================================

 

 

<tbody> </tbody>
_