Difference between revisions of "RSB-4680 user guide"

From ESS-WIKI
Jump to: navigation, search
(快速入门 (Quick Start))
 
(114 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== '''資源特性(Features)''' ==
 
  
*Rockchip ARM Cortex-A17 RK3288 Quad Core, 最高可达1.6GHz
+
== '''產品介紹(Product Presentation)''' ==
*搭载 2GB DDR3L 内存及 8GB eMMC
 
*HDMI 3840x2160 at 60Hz, VGA 1920x1200 at 60Hz, 支持双通道18/24/30 bit LVDS
 
*支持 4K H.264/H.265 视频解码器
 
*6 UART, 6 USB2.0, 1 GbE, 8 GPIO, 1 MIPI CSI, 1 SPI
 
*支持WIFI/ BT M.2, 3G/ 4G mini-PCIe
 
*Support Linux and Android
 
  
== '''訂購資訊(Ordering Information)''' ==
+
=== '''產品特性(Product Features)''' ===
  
'''[[File:Ordering information.PNG|RTENOTITLE]]'''
+
*Rockchip ARM Cortex-A17 RK3288 Quad Core, up to 1.6GHz
 +
*Onboard 2GB DDR3L memory and 8GB eMMC
 +
*HDMI 3840x2160 at 60Hz, VGA 1920x1200 at 60Hz, Dual Channel 18/24/30 bit LVDS
 +
*Support 4K H.264/H.265 Video decoder
 +
*6 UART, 6 USB2.0, 1 GbE, 8 GPIO, 1 MIPI CSI, 1 SPI
 +
*M.2 for WIFI/BT support, mini-PCIe for 3G/4G support
 +
*Support Linux and Android
 +
 
 +
=== '''产品官网链接(Product official website link)''' ===
 +
 
 +
[https://www.advantech.com.cn/zh-cn/products/b6edc1fb-ade2-4760-986c-451b7b3d6dd5/rsb-4680/mod_ec00e606-1721-4b72-9943-8784144000f9 RSB-4680 - 研华 (advantech.com.cn)]
  
 
== '''接口布局和尺寸(Layout and Sizes)''' ==
 
== '''接口布局和尺寸(Layout and Sizes)''' ==
Line 21: Line 24:
 
[[File:RSB-4680connector2.png|RTENOTITLE]]
 
[[File:RSB-4680connector2.png|RTENOTITLE]]
  
[[File:RSB-4680connector3.png|RTENOTITLE]] '''接口引脚定義 (Pin definitions)'''
+
[[File:RSB-4680connector3.png|RTENOTITLE]]
 +
 
 +
=== '''Connector List''' ===
 +
 
 +
{| border="1" cellpadding="1" cellspacing="1" style="width:500px;"
 +
|-
 +
| style="width: 106px;" | BAT
 +
| style="width: 381px;" | RTC Battery Connector
 +
|-
 +
| style="width: 106px;" | CN2
 +
| style="width: 381px;" | Audio
 +
|-
 +
| style="width: 106px;" | CN3
 +
| style="width: 381px;" | GPIO
 +
|-
 +
| style="width: 106px;" | CN4
 +
| style="width: 381px;" | 18/24/30 bit Dual-Channel LVDS
 +
|-
 +
| style="width: 106px;" | LVDS_BL
 +
| style="width: 381px;" | LVDS Backlight Control
 +
|-
 +
| style="width: 106px;" | CN5
 +
| style="width: 381px;" | Power Button & LED
 +
|-
 +
| style="width: 106px;" | CN7
 +
| style="width: 381px;" | Recover
 +
|-
 +
| style="width: 106px;" | CN16
 +
| style="width: 381px;" | 12V DC Jack
 +
|-
 +
| style="width: 106px;" | CN20
 +
| style="width: 381px;" | Internal USB Pin Header
 +
|-
 +
| style="width: 106px;" | USB34
 +
| style="width: 381px;" | Dual Type A USB Connector
 +
|-
 +
| style="width: 106px;" | OTG
 +
| style="width: 381px;" | Micro USB Connector
 +
|-
 +
| style="width: 106px;" | CN21
 +
| style="width: 381px;" | SPI
 +
|-
 +
| style="width: 106px;" | CN22
 +
| style="width: 381px;" | I2C
 +
|-
 +
| style="width: 106px;" | COM
 +
| style="width: 381px;" | Internal RS232 (COM6 & COM7 with 12V/5V Power)
 +
|-
 +
| style="width: 106px;" | COM13
 +
| style="width: 381px;" | Internal RS232 (COM1 & COM3)
 +
|-
 +
| style="width: 106px;" | COM4
 +
| style="width: 381px;" | External COM (With RS232 &RS-485)
 +
|-
 +
| style="width: 106px;" | DEBUG
 +
| style="width: 381px;" | COM2 or Console
 +
|-
 +
| style="width: 106px;" | HDMI
 +
| style="width: 381px;" | HDMI
 +
|-
 +
| style="width: 106px;" | LAN
 +
| style="width: 381px;" | LAN
 +
|-
 +
| style="width: 106px;" | M.2
 +
| style="width: 381px;" | M.2
 +
|-
 +
| style="width: 106px;" | MINIPCIE
 +
| style="width: 381px;" | MINIPCIE
 +
|-
 +
| style="width: 106px;" | SD
 +
| style="width: 381px;" | Micro SD
 +
|-
 +
| style="width: 106px;" | SIM1
 +
| style="width: 381px;" | Standard SIM
 +
|-
 +
| style="width: 106px;" | SW2
 +
| style="width: 381px;" | Reset Button
 +
|-
 +
| style="width: 106px;" | VGA
 +
| style="width: 381px;" | VGA
 +
|}
  
 
=== '''接口引脚定義 (Pin definitions)''' ===
 
=== '''接口引脚定義 (Pin definitions)''' ===
  
*[http://android1.norco.com.cn:7070/index.php/EMB-2510-COM 串口(COM_DB、COM_1&3、COM_6&7 、COM_4)]
+
*[[电池扣(RTC)|电池扣(RTC)]]
*[http://android1.norco.com.cn:7070/index.php/EMB-2510-LVDS 显示接口(LVDS、HDMI)]
+
*[[串口(RS232_DB,RS232/485,Internal_RS232)|串口(RS232_DB,RS232/485,Internal RS232)]]  
*[http://android1.norco.com.cn:7070/index.php/EMB-2510-LAN LAN接口]
+
*[[显示接口(LVDS,LVDS_Balight,HDMI)|显示接口(LVDS,LVDS_Balight,HDMI,VGA)]]  
*[http://android1.norco.com.cn:7070/index.php/EMB-2510-USB USB接口(USB1-2、USB3-4、USB OTG)]
+
*[[LAN接口(LAN)|LAN接口(LAN)]]  
*[http://android1.norco.com.cn:7070/index.php/EMB-2510-AUDIO 音频接口]
+
*[[USB接口(USB3-4,OTG)|USB接口(USB34,USB Pin header,OTG)]]
*[http://android1.norco.com.cn:7070/index.php/EMB-2510-JFP 电源及指示灯和开关机复位按钮]
+
*[[音频接口(Audio)|音频接口(Audio)]]  
*[http://android1.norco.com.cn:7070/index.php/EMB-2510-GPIO GPIO接口]
+
*[[Mico_SD&SIM_Card|Mico SD&SIM Card]]  
*[http://android1.norco.com.cn:7070/index.php/EMB-2510-MINIPCIE MINI PCIE接口]
+
*[[电源及指示灯和开关机复位按钮(DC_Power、LED、Power_Button|电源及指示灯和开关机复位按钮(DC Power,Power Button&LED,Recover,Reset Button]][[USB接口(USB3-4,OTG)|)]]  
*[http://android1.norco.com.cn:7070/index.php/EMB-2510-MINIPCIE M.2接口]
+
*[[GPIO接口|GPIO接口]]  
*[[SPI、I2C_接口|SPI、I2C 接口]]
+
*[[MINI_PCIE接口|MINI PCIE接口]]  
 +
*[[M.2接口|M.2接口]]
 +
*[[SPI,I2C接口|SPI,I2C接口]]  
 +
*[[Jumper_List|Jumper List]]  
  
=== '''机械尺寸  ('''Mechanical Characteristics) ===
+
=== ''' 机械尺寸  ('''Mechanical Characteristics) ===
  
 
'''[[File:Board Dimension Layout (Top Side).png|RTENOTITLE]]'''
 
'''[[File:Board Dimension Layout (Top Side).png|RTENOTITLE]]'''
Line 42: Line 128:
 
[[File:Board Dimension Layout (Top Side)2.png|RTENOTITLE]]
 
[[File:Board Dimension Layout (Top Side)2.png|RTENOTITLE]]
  
 +
 
  
 +
 
  
  
 +
== '''快速入门 (Quick Start)''' ==
  
 +
=== '''系統下载 (OS Download)''' ===
  
 +
       '''Debian 9.8'''
  
----
+
*[https://pan.baidu.com/s/1SH2TTLNAQhliF3RNq1bHVw Pan.Baidu_Link_for_RK3288]  Password : 4jvr
  
== '''快速入门 (Quick Start)''' ==
+
*[https://www.dropbox.com/sh/bymsb6fnt08vu2e/AAAH9tHhnCKM4Go8Advdeqdga?dl=0 Dropbox Link for RK3288]
  
=== '''系统下载 (OS Download)''' ===
+
{| border="2"
 
+
|-
*'''Linux系统 (Linux OS)''''''   '''
+
| '''Platform'''
 +
| '''Product'''
 +
| '''Image Version'''
 +
| '''Release Date'''
 +
| '''Release Version'''
 +
| '''Release notes'''
 +
| '''Image Download'''
 +
| '''BSP Download Tag'''
 +
| '''Comment'''
 +
|-
 +
| colspan="1" rowspan="2" | RK3288
 +
| colspan="1" rowspan="2" | RSB-4680
 +
| DIV21045
 +
| 2021/08/10
 +
| Alpha
 +
| [http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RockChip/Linux_Debian_OS_Release_note/RSB-4680/DIV21045 Release_Note]
 +
| [https://pan.baidu.com/s/1M0lMNso9e2YsHCMR7H-L3w Baidu]      Password:a887
 +
[https://www.dropbox.com/sh/w55jv11t0hu6019/AAAEPM_5f4t9PLrNYd5Op-AQa?dl=0 Dropbox]
  
{| class="wikitable" border="2"
+
| RK3288DIV21045.xml
 +
|  
 
|-
 
|-
| style="background:#f0f0f0" align="center" | '''Version'''
+
| DIV21041
| style="background: rgb(240, 240, 240); width: 68px" align="center" | '''Date'''
+
| 2020-04-21
| style="background: rgb(240, 240, 240); width: 72px" align="center" | '''Product'''
+
| Beta
| style="background: rgb(240, 240, 240); width: 90px" align="center" | '''CPU'''
+
| [http://ess-wiki.advantech.com.tw/view/File:RK3288_Debian_ReleaseNote_V21041.xlsx Release Note]
| style="background: rgb(240, 240, 240); width: 209px" align="center" | '''Yocto3.0/Ubuntu18.04/Debian9'''
+
| [https://pan.baidu.com/s/1ACrI-M0eS6APWfmxMHbRDg?pwd=a887 Baidu]    Password:a887
| style="background: rgb(240, 240, 240); width: 64px" align="center" | '''SDK'''
+
| RK3288DIV21041.xml
| style="background: rgb(240, 240, 240); width: 92px" align="center" | '''Components'''
+
|  
| style="background: rgb(240, 240, 240); width: 58px" align="center" | '''Features'''
 
| style="background:#f0f0f0" align="center" | '''Modules'''
 
| style="background:#f0f0f0" align="center" | '''Test Report'''
 
| style="background:#f0f0f0" align="center" | '''Release'''
 
| style="background:#f0f0f0" align="center" | '''Release notes'''
 
| style="background:#f0f0f0" align="center" | '''Comment'''
 
|- valign="top"
 
| <span style="font-size:xx-small">VA0271</span>
 
| style="width: 68px" | <span style="font-size:xx-small">2021-06-19</span>
 
| style="width: 72px" | <span style="font-size:xx-small">ROM-5620&nbsp;</span><br/>
 
| style="width: 90px" | <span style="font-size:xx-small">8X</span>
 
| style="width: 209px" | [[Yocto3.0|<span style="font-size:xx-small">Yocto3.0</span>]]
 
| style="width: 64px" | <span style="font-size:xx-small">[https://www.dropbox.com/sh/xqcxe99gc3gbkml/AAC2ICMVT3NqUp5P6phz7Qcva/2021-06-19/imx8LBVA0271_2021-06-19_sdk.tgz?dl=0 SDK]</span>
 
| style="width: 92px" | <span style="font-size:xx-small">[[Components_vA0271|Components]]</span>
 
| style="width: 58px" | <span style="font-size:xx-small">[[Features_vA0271|Features]]</span>
 
| <span style="font-size:xx-small">[[Modules_vA0271|Modules]]</span>
 
| <span style="font-size:xx-small">[[Test_Report_vA0271|Test Report]]</span>
 
| <span style="font-size:xx-small"><span style="font-size:xx-small">5.4.70&nbsp;</span>Alpha</span>
 
| <span style="font-size:xx-small">[[Release_note_vA0271|Release_Note]]</span>
 
| <span style="font-size: xx-small">QE test</span>
 
 
|}
 
|}
<blockquote></blockquote>
 
----
 
  
=== '''Linux&nbsp;燒錄方法 (Linux Flash eMMC Method)''' ===
+
'''&nbsp; &nbsp; &nbsp; &nbsp;Debian 10'''
  
'''使用Flash tool 燒錄鏡像到eMMC (Flash image into eMMC by Flash Tools)&nbsp;'''
+
*[https://pan.baidu.com/s/1TgrhhblhawD4Vx5Q3sHC4Q Baidu link for Debian10]&nbsp;Password:iz74
  
Step0: 檢查SD卡在Linux 環境的代號 (check SD card symbol in Linux system)&nbsp;
+
{| border="1" cellpadding="0" cellspacing="0" style="width: 897px;"
 +
|-
 +
| style="width: 100px;" |
 +
'''Image Version'''
  
[[File:ROM-5620fdisk 2021-09-11 145401.jpg|RTENOTITLE]]
+
| style="width: 84px;" |  
 +
'''Product'''
  
[[File:ROM-5620fdisk SDinfo2021-09-11 145609.jpg|RTENOTITLE]]
+
| style="width: 114px;" |  
 +
'''Date'''
  
Step1: 創造一張可開機的SD 卡&nbsp;(Create&nbsp;a bootable SD card)
+
| style="width: 73px;" |
 +
'''Release'''
  
[[File:ROM-5620dd 2021-09-11 150036.jpg|RTENOTITLE]]
+
| style="width: 158px;" |  
 +
'''Release Note'''
  
Step2: 將可開機的SD 卡插入底板SD卡卡槽(Plug the SD card into Carrier board 's SD card slot)
+
| style="width: 356px;" |
 +
'''Binary OS Image Name'''
  
&nbsp;[[File:CarrierboardSDsolt.jpg|RTENOTITLE]]
+
|-
 +
| style="width: 100px;" |  
 +
DIV230009
  
Step4: 確認開機選擇指撥開關&nbsp;
+
| style="width: 84px;" |
 +
RSB-4680
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SD 卡開機模式:
+
| style="width: 114px;" |
 +
2021-04-13
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[[File:SDBootupSwitch.jpg|RTENOTITLE]]
+
| style="width: 73px;" |  
 +
Beta
  
 +
| style="width: 158px;" |
 +
[http://ess-wiki.advantech.com.tw/wiki/images/c/c5/RSB-4680_Debian10_Release_note_2021-04-13.pdf Release Note]
  
 +
| style="width: 356px;" |
 +
4680A3AIM20DIV230009_2021-04-13.img.tgz
  
Step3:打開電源 和 終端機&nbsp;(Turn on the Power & Terminal)
+
|}
 
 
&nbsp; &nbsp; &nbsp;[[File:ROM-5620BootupMessage2021-09-11 152052.jpg|RTENOTITLE]]
 
 
 
 
 
 
 
Step4: 解壓縮flash tools 檔案,並複製到U盤中(Unzip the flash tools file , then copy to USB Disk)&nbsp;
 
 
 
&nbsp; &nbsp; 解壓縮(Unzip the file )&nbsp;
 
 
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[[File:ROM-5620unzipflahstool2021-09-11 160407.jpg|RTENOTITLE]]
 
 
 
&nbsp;複製檔案到U盤中 (Copy the flash file to USB Disk)&nbsp;
 
 
 
&nbsp; 1. 插入U盤到你的Ubuntu 電腦上 (Plug the USB Disk into you Linux PC
 
 
 
&nbsp; 2. 檢視U盤在Ubuntu 系統代號 (Check the USB Disk's symbol in Ubuntu System)&nbsp;
 
 
 
&nbsp; &nbsp; &nbsp; &nbsp;[[File:ROM-5620fdisk USB 2021-09-11 145401.jpg|RTENOTITLE]]
 
 
 
&nbsp; &nbsp; &nbsp; &nbsp;[[File:USBDISK info2021-09-11 170716.jpg|RTENOTITLE]]
 
 
 
&nbsp;3. 掛載U盤在Ubuntu 系統中&nbsp;
 
 
 
&nbsp; &nbsp; &nbsp;&nbsp;
 
 
 
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
 
 
 
&nbsp; &nbsp; &nbsp;
 
 
 
=== '''Debug 串口調試 (Debug port Setting)''' ===
 
 
 
以 Tera Term&nbsp;&nbsp;为例介绍如何使用串口调试功能
 
<pre>  Baud Rate波特率:115200
 
  Data 数据位:8
 
  Parity 奇偶校验:无
 
&nbsp;  Stop 停止位:1
 
  Flow Control流控:无</pre>
 
 
 
:
 
 
 
Tera Term Tool&nbsp;
 
 
 
[[File:TeraTerm 2021-09-10 140930n.jpg|RTENOTITLE]]
 
 
 
[[File:TeraTerm12021-09-10 141114n.jpg|RTENOTITLE]]
 
 
 
Check the Sriel port in Device Manager (查看PC端的串口号):
 
 
 
if you can not identify the Serial device , please check your serial driver.&nbsp;
 
 
 
[[File:COMportinx862021-09-10 141610.jpg|RTENOTITLE]]
 
 
 
Debug port connection (串口連接)&nbsp;
 
  
[[File:Debugcom3nn 2021-09-10 140320.jpg|RTENOTITLE]]
+
=== '''Debian 燒錄方法 (Debiand Flash eMMC Method)''' ===
  
 +
'''1.&nbsp;[[RSB_4680_Update_through_Android_Tool|Update through Android Tool]]'''
  
 +
'''2.&nbsp;[[RSB-4680_Usering_bootup_sd_disk_made_by_SDDiskTool|Usering bootup_sd_disk made_by SDDiskTool]]'''
  
Log into Terminal&nbsp; Tool (进入串口调试终端):
+
'''<span style="color:#FF0000;">NOTE&nbsp;:&nbsp;</span>'''
  
[[File:ROM5620debugmessage 2021-09-10 142517n.jpg|RTENOTITLE]]
+
This way only support Linux(Debian9) upgrade to Linux(Debian9) 、&nbsp;Android6.0 upgrade to Android6.0 or&nbsp;Android8.1&nbsp;upgrade to Android8.1.
  
----
+
If the device is in Android, you want to upgrade to&nbsp;Linux(Debian9), please use Android Tool.
  
 
== '''Linux系统的基本使用(Linux&nbsp;System Basic Operating Method)''' ==
 
== '''Linux系统的基本使用(Linux&nbsp;System Basic Operating Method)''' ==
  
=== '''&nbsp; &nbsp; &nbsp; UUU 使用方法(USB Connection (OTG port))''' ===
+
=== '''User Guide''' ===
  
=== '''&nbsp; &nbsp; &nbsp; Display Setting (ROM-5620)''' ===
+
*[[RSB-4680_How_to_debug.|How to debug.]]
 +
*[[RSB-4680_How_to_use_GPIO.|How to use GPIO.]]
 +
*[[RSB-4680_How_to_use_UART.|How to use UART.]]
 +
*[[RSB-4680_How_to_Config_4G-module.|How to Config 4G-module.]]
 +
*[[RSB-4680_How_to_Config_Multi-Display.|How to Config Multi-Display.]]
 +
*[[RSB-4680_How_to_boot_from_sd-card.|How to boot from sd-card.]]
 +
*[[RSB-4680_RK3288_qt5Creater|RK3288_qt5Creater]]
 +
*[[RSB-4680_qt5Creater_toolchain_Qt_5.11.3|qt5Creater_toolchain_Qt_5.11.3]]
  
'''&nbsp; &nbsp; &nbsp; U-boot&nbsp;Command&nbsp;:'''
 
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; setenv fdt_file xxxx.dtb<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; env save<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; boot&nbsp;
+
== '''通用方法(General Method)''' ==
  
*Display
+
=== '''查看CPU温度(Check CPU Temperature)''' ===
**LVDS
+
<pre>root@linaro-alip:/# cat /sys/class/thermal/thermal_zone0/temp
***g070vw01
+
42769
****adv-imx8mxp-rom5620-a1.dtb&nbsp;&nbsp;
+
</pre>
***g150xgel05
 
****adv-imx8qxp-rom5620-a1-lvds-chimei.dtb
 
***g215hvn01
 
****adv-imx8qxp-rom5620-a1-lvds-dual.dtb
 
**LVDS to HDMI
 
***adv-imx8qxp-rom5620-a1-hdmi-bridge.dtb
 
**DSI to HDMI
 
***adv-imx8qxp-rom5620-a1-hdmi-bridge.dtb
 
**DSI
 
***auog101uan02
 
****adv-imx8qxp-rom5620-a1-auog101uan02.dtb
 
  
=== '''乙太網路使用方法(Ethernent Testing Method)''' ===
+
=== '''查看CPU频率(Check CPU Frequency)''' ===
 +
<pre>cat /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq
 +
600000
 +
cat /sys/devices/system/cpu/cpufreq/policy4/scaling_cur_freq   
 +
900000
 +
</pre>
  
'''Command&nbsp;: ifconfig&nbsp;'''
+
=== '''查看GPU温度(Check GPU Temperature)''' ===
 +
<pre>root@linaro-alip:/# cat /sys/class/thermal/thermal_zone1/temp
 +
43042</pre>
  
'''[[File:Ethernet Test 2021-09-09 131742.jpg|RTENOTITLE]]'''
+
=== '''查看GPU频率(Check GPU Frequency)''' ===
 +
<pre>root@linaro-alip:/# cat /sys/class/devfreq/ffa30000.gpu/cur_freq
 +
200000000
 +
</pre>
  
'''Command: Ping - I eth1 8.8.8.8&nbsp; or Ping - I eth0 8.8.8.8&nbsp;&nbsp;'''
+
=== '''查看DDR频率(Check DDR Frequency)''' ===
 +
<pre>root@linaro-alip:/# cat /sys/class/devfreq/dmc/cur_freq
 +
0
 +
</pre>
  
'''[[File:PingTest2021-09-09 131931.jpg|RTENOTITLE]]'''
+
=== '''查看存储容量(Check Storage Capacity)''' ===
 
+
<pre>root@linaro-alip:/# df -h
=== '''WiFi使用方法(WIFI Testing Method)''' ===
+
Filesystem &nbsp; &nbsp; &nbsp;Size &nbsp;Used Avail Use% Mounted on
<pre>Command&nbsp;:
+
/dev/root &nbsp; &nbsp; &nbsp; 3.9G &nbsp;2.5G &nbsp;1.3G &nbsp;67% /
 +
devtmpfs &nbsp; &nbsp; &nbsp; &nbsp;991M &nbsp;8.0K &nbsp;991M &nbsp; 1% /dev
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1000M &nbsp; &nbsp; 0 1000M &nbsp; 0% /dev/shm
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1000M &nbsp;8.9M &nbsp;991M &nbsp; 1% /run
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5.0M &nbsp;4.0K &nbsp;5.0M &nbsp; 1% /run/lock
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1000M &nbsp; &nbsp; 0 1000M &nbsp; 0% /sys/fs/cgroup
 +
/dev/mmcblk1p9 &nbsp;3.1G &nbsp;3.3M &nbsp;3.1G &nbsp; 1% /userdata
 +
/dev/mmcblk1p7 &nbsp; 63M &nbsp; 13M &nbsp; 48M &nbsp;21% /oem
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 200M &nbsp;8.0K &nbsp;200M &nbsp; 1% /run/user/1000
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 200M &nbsp; &nbsp; 0 &nbsp;200M &nbsp; 0% /run/user/0
 +
</pre>
  
# killall wpa_supplicant
+
=== '''网路Ping測試(Ping Network Testing)''' ===
# ifconfig wlan0 up
 
# wpa_passphrase "SSID" "PASSWORD" > /tmp/wpa.conf
 
# wpa_supplicant -BDwext -iwlan0 -c/tmp/wpa.conf
 
# udhcpc -b -i wlan0'''
 
  
ping 8.8.8.8
+
'''Command:ifconfig'''
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
+
<pre>root@linaro-alip:~# ifconfig
64 bytes from 8.8.8.8: icmp_seq=1 ttl=54 time=2.10 ms
+
docker0: flags=4099<UP,BROADCAST,MULTICAST> &nbsp;mtu 1500
64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=2.10 ms</pre>
+
&nbsp; &nbsp; &nbsp; &nbsp; inet 172.17.0.1 &nbsp;netmask 255.255.0.0 &nbsp;broadcast 172.17.255.255
 +
&nbsp; &nbsp; &nbsp; &nbsp; ether 02:42:9d:3a:25:6f &nbsp;txqueuelen 0 &nbsp;(Ethernet)
 +
&nbsp; &nbsp; &nbsp; &nbsp; RX packets 0 &nbsp;bytes 0 (0.0 B)
 +
&nbsp; &nbsp; &nbsp; &nbsp; RX errors 0 &nbsp;dropped 0 &nbsp;overruns 0 &nbsp;frame 0
 +
&nbsp; &nbsp; &nbsp; &nbsp; TX packets 0 &nbsp;bytes 0 (0.0 B)
 +
&nbsp; &nbsp; &nbsp; &nbsp; TX errors 0 &nbsp;dropped 0 overruns 0 &nbsp;carrier 0 &nbsp;collisions 0
  
[[File:WifiTest 2021-09-09 132238.jpg|RTENOTITLE]]
+
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> &nbsp;mtu 1500
 +
&nbsp; &nbsp; &nbsp; &nbsp; inet 192.168.127.100 &nbsp;netmask 255.255.255.0 &nbsp;broadcast 192.168.127.255
 +
&nbsp; &nbsp; &nbsp; &nbsp; inet6 fe80::3269:bcb5:eaa7:b6b7 &nbsp;prefixlen 64 &nbsp;scopeid 0x20<link>
 +
&nbsp; &nbsp; &nbsp; &nbsp; ether c4:00:ad:41:6d:fb &nbsp;txqueuelen 1000 &nbsp;(Ethernet)
 +
&nbsp; &nbsp; &nbsp; &nbsp; RX packets 175 &nbsp;bytes 16715 (16.3 KiB)
 +
&nbsp; &nbsp; &nbsp; &nbsp; RX errors 0 &nbsp;dropped 0 &nbsp;overruns 0 &nbsp;frame 0
 +
&nbsp; &nbsp; &nbsp; &nbsp; TX packets 109 &nbsp;bytes 7172 (7.0 KiB)
 +
&nbsp; &nbsp; &nbsp; &nbsp; TX errors 0 &nbsp;dropped 0 overruns 0 &nbsp;carrier 0 &nbsp;collisions 0
 +
&nbsp; &nbsp; &nbsp; &nbsp; device interrupt 44
  
=== '''4G使用方法(4G Testing Method)''' ===
+
lo: flags=73<UP,LOOPBACK,RUNNING> &nbsp;mtu 65536
<pre>Command:
+
&nbsp; &nbsp; &nbsp; &nbsp; inet 127.0.0.1 &nbsp;netmask 255.0.0.0
Test 4G: (EWM-C117FL06E - USB)
+
&nbsp; &nbsp; &nbsp; &nbsp; inet6&nbsp;::1 &nbsp;prefixlen 128 &nbsp;scopeid 0x10<host>
Step 1: Connect EWM-C117FL06E to Mini PCIE slot on 9680015491 and connect
+
&nbsp; &nbsp; &nbsp; &nbsp; loop &nbsp;txqueuelen 1 &nbsp;(Local Loopback)
the card to CN6 PCIe_D slot on ROM-DB5901.
+
&nbsp; &nbsp; &nbsp; &nbsp; RX packets 980 &nbsp;bytes 66000 (64.4 KiB)
Step 2: Connect the antenna 1750007990-01 to the SMA (F) connector on
+
&nbsp; &nbsp; &nbsp; &nbsp; RX errors 0 &nbsp;dropped 0 &nbsp;overruns 0 &nbsp;frame 0
9680015491
+
&nbsp; &nbsp; &nbsp; &nbsp; TX packets 980 &nbsp;bytes 66000 (64.4 KiB)
and connect the IPEX connector to MT1 on EWM-C117FL06E module.
+
&nbsp; &nbsp; &nbsp; &nbsp; TX errors 0 &nbsp;dropped 0 overruns 0 &nbsp;carrier 0 &nbsp;collisions 0
Step 3: Connect the Mini USB cable from 9680015491 to USB 2.0 Type A port on
 
ROM-DB5901.
 
Step 4: Power on and execute the pppd command to connect to the network.
 
 
</pre>
 
</pre>
  
[[File:4GTest2021-09-09 133204.jpg|RTENOTITLE]]
+
'''Command:Ping&nbsp;192.168.127.100'''
 
+
<pre>root@linaro-alip:~# ping 192.168.127.100
[[File:4GTest12021-09-09 133648.jpg|RTENOTITLE]]
+
PING <span style="color:#FF0000;">192.168.127.100</span> (192.168.127.100) 56(84) bytes of data.
 
+
64 bytes from 192.168.127.100: icmp_seq=1 ttl=64 time=0.200 ms
=== '''GPIO使用方法(GPIO Operating Method)''' ===
+
64 bytes from 192.168.127.100: icmp_seq=2 ttl=64 time=0.161 ms
 
+
64 bytes from 192.168.127.100: icmp_seq=3 ttl=64 time=0.147 ms
[[File:GPIOpin2021-09-11 143437.jpg|RTENOTITLE]]
+
^C
 
+
--- <span style="color:#FF0000;">192.168.127.100</span> ping statistics ---
 
+
3 packets transmitted, 3 received, 0% packet loss, time 2ms
<pre>Loop-back Test (Take GPIO4 and GPIO5 as examples) 
+
rtt min/avg/max/mdev = 0.147/0.169/0.200/0.024 ms</pre>
 
 
Step 1: Connect GPIO4 and GPIO5
 
Step 2: Export GPIO interface
 
 
 
root@imx8qxprom5620a1&nbsp;: ~# echo 456 > /sys/class/gpio/export
 
root@imx8qxprom5620a1&nbsp;: ~# echo 452 > /sys/class/gpio/export
 
 
 
Step 3: Set direction
 
 
 
root@imx8qxprom5620a1&nbsp;: ~# echo out > /sys/class/gpio/gpio1/direction
 
root@imx8qxprom5620a1&nbsp;: ~# echo in > /sys/class/gpio/gpio2/direction
 
 
 
Step 4: Read value and set output value then check
 
 
 
root@imx8qxprom5620a1&nbsp;: ~# cat /sys/class/gpio/gpio2/value
 
0r
 
oot@imx8qxprom5620a1&nbsp;: ~# echo 1 > /sys/class/gpio/gpio1/value
 
root@imx8qxprom5620a1&nbsp;: ~# cat /sys/class/gpio/gpio2/value
 
1</pre>
 
 
 
=== '''串口使用方法(Serial Port Operating&nbsp;Method)''' ===
 
 
 
RS-232 Test&nbsp;
 
 
 
SW7 Setting (SW7設置)&nbsp;
 
 
 
[[File:SW6&7settingn.jpeg|RTENOTITLE]]
 
 
 
=== '''蓝牙使用方法(BlueTooth Operating&nbsp;Method)''' ===
 
<pre>Command&nbsp;:
 
 
 
$ hciconfig hci0 up
 
$ bluetoothctl
 
$ discoverable on
 
$ pairable on
 
$ scan on
 
[NEW] FC:18:3C:8D:75:F4 myphone
 
$ scan off
 
$ pair FC:18:3C:8D:75:F4
 
$ connect FC:18:3C:8D:75:F4</pre>
 
 
 
[[File:BTTest2021-09-09 132449.jpg|RTENOTITLE]]
 
 
 
=== '''&nbsp; 遠程訪問及文件傳輸(Remote Access and File Transimmion)''' ===
 
 
 
'''&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 查看主板IP位址&nbsp;(&nbsp;Chech IP Address ):'''​
 
<pre>        Command&nbsp;: ifconfig</pre>
 
 
 
[[File:Eth0ssh 2021-09-10 143210.jpg|RTENOTITLE]]
 
 
 
==== Windows下SSH访问及文件传输 ====
 
 
 
SSH Remote Log into Device&nbsp;
 
 
 
*SSH远程登录,以putty选择putty.exe(或者使用Xshell、SecureCRT等类似软件)
 
*需要设置远程设备的IP、通讯端口(默认22)、通讯方式,登录后验证用户名密码
 
 
 
 
 
 
 
[[File:SSHsettingdetail.png|RTENOTITLE]]
 
 
 
[[File:SSHSetting2021-09-10 143631.jpg|RTENOTITLE]]
 
 
 
 
 
 
 
[[File:Sshsetting12021-09-10 143743n.jpg|RTENOTITLE]]
 
 
 
[[File:SSHLogin 2021-09-10 143913n.jpg|RTENOTITLE]]
 
 
 
== '''通用方法(General Method)''' ==
 
 
 
=== &nbsp; '''&nbsp; &nbsp; 查看CPU温度(Check CPU Temperature)''' ===
 
<pre>    root@imx8qxprom5620a1:/# cat /sys/devices/virtual/thermal/thermal_zone0/temp 44600
 
 
 
    # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° >>> 45°</pre>
 
 
 
=== '''&nbsp; &nbsp; &nbsp;&nbsp;查看CPU频率(Check CPU Frequency)''' ===
 
<pre>          cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
 
          >> 900000
 
          cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq   
 
          >> 1200000</pre>
 
  
=== '''&nbsp; &nbsp; &nbsp;&nbsp;查看内存容量(Check Memory&nbsp;Capacity)''' ===
+
=== '''設置RTC (RTC Setting)&nbsp;''' ===
<pre>root@imx8qxprom5620a1:/# busybox free -m
+
<pre>root@linaro-alip:~# sudo su
            total      used      free    shared    buffers    cached
+
root@linaro-alip:~# date
Mem:       1794920    516080    1278840      17252      9852        80292
+
Tue Oct 26 08:16:04 UTC 2021
-/+ buffers/cache:     425936    1368984
+
root@linaro-alip:~# date -s "2022-9-1 13:00:00"
Swap:           0          0          0
+
Thu Sep &nbsp;1 13:00:00 UTC 2022
 +
root@linaro-alip:~# date
 +
Thu Sep &nbsp;1 13:00:10 UTC 2022
 +
root@linaro-alip:~#hwclock -w
 +
root@linaro-alip:~# hwclock
 +
Thu Sep &nbsp;1 13:01:07 2022 &nbsp;0.000000 seconds
 
</pre>
 
</pre>
  
=== '''&nbsp; &nbsp; &nbsp;&nbsp;查看存储容量(Check Storage Capacity)''' ===
+
== '''Debian BSP編譯方法(Debian BSP Compile Method)''' ==
<pre style="margin-left: 40px;">root@imx8qxprom5620a1:/# busybox df -h
 
Filesystem                Size      Used Available Use% Mounted on
 
/dev/root                13.4G      1.7G    11.1G  13% /
 
devtmpfs                395.8M      4.0K    395.8M  0% /dev
 
tmpfs                  876.4M        0    876.4M  0% /dev/shm
 
tmpfs                  876.4M    16.5M    859.9M  2% /run
 
tmpfs                  876.4M        0    876.4M  0% /sys/fs/cgroup
 
tmpfs                  876.4M      4.0K    876.4M  0% /tmp
 
tmpfs                  876.4M    280.0K    876.2M  0% /var/volatile
 
/dev/mmcblk0p2          13.6G      1.7G    11.3G  13% /run/media/mmcblk0p2
 
/dev/mmcblk0p1          63.9M    23.4M    40.5M  37% /run/media/mmcblk0p1
 
/dev/mmcblk1p1          63.9M    23.4M    40.5M  37% /run/media/mmcblk1p1
 
tmpfs                  175.3M    88.0K    175.2M  0% /run/user/0
 
root@imx8qxprom5620a1:/#</pre>
 
  
=== '''&nbsp; &nbsp; &nbsp; 網路Ping測試(Ping Network Testing)''' ===
+
=== '''[[RSB-4680_Linux_BSP_build_and_update_image.|Linux BSP build and update image]]''' ===
<pre>    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</pre>
 
  
=== '''&nbsp; &nbsp; &nbsp; 設置RTC (RTC Setting)&nbsp;''' ===
+
{| border="0" cellpadding="10" cellspacing="0" style="width:100%;"
<pre>    root@imx8qxprom5620a1:/# systemctl stop ntpdate.service
+
|-
    root@imx8qxprom5620a1:/# date 090816072021 && hwclock -w && date
+
| <iframe height="230" key="advonline" level="campaign" path="en/aim-linux_community/" width="100%"></iframe>
            Wed Sep  8 16:07:00 UTC 2021
+
|}
            Wed Sep  8 16:07:00 UTC 2021
 
    root@imx8qxprom5620a1:/# date
 
            Wed Sep  8 16:07:06 UTC 2021
 
    root@imx8qxprom5620a1:/#'''</pre>
 
 
 
'''&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'''
 
 
 
== '''Linux&nbsp;BSP編譯方法(Android BSP Compile Method)''' ==
 
 
 
=== [http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBVA_User_Guide '''Yocto 3.0'''] ===
 

Latest revision as of 08:05, 18 January 2024

產品介紹(Product Presentation)

產品特性(Product Features)

  • Rockchip ARM Cortex-A17 RK3288 Quad Core, up to 1.6GHz
  • Onboard 2GB DDR3L memory and 8GB eMMC
  • HDMI 3840x2160 at 60Hz, VGA 1920x1200 at 60Hz, Dual Channel 18/24/30 bit LVDS
  • Support 4K H.264/H.265 Video decoder
  • 6 UART, 6 USB2.0, 1 GbE, 8 GPIO, 1 MIPI CSI, 1 SPI
  • M.2 for WIFI/BT support, mini-PCIe for 3G/4G support
  • Support Linux and Android

产品官网链接(Product official website link)

RSB-4680 - 研华 (advantech.com.cn)

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

接口布局圖 Board Dimension Layout 

RTENOTITLE

RTENOTITLE

RTENOTITLE

Connector List

BAT RTC Battery Connector
CN2 Audio
CN3 GPIO
CN4 18/24/30 bit Dual-Channel LVDS
LVDS_BL LVDS Backlight Control
CN5 Power Button & LED
CN7 Recover
CN16 12V DC Jack
CN20 Internal USB Pin Header
USB34 Dual Type A USB Connector
OTG Micro USB Connector
CN21 SPI
CN22 I2C
COM Internal RS232 (COM6 & COM7 with 12V/5V Power)
COM13 Internal RS232 (COM1 & COM3)
COM4 External COM (With RS232 &RS-485)
DEBUG COM2 or Console
HDMI HDMI
LAN LAN
M.2 M.2
MINIPCIE MINIPCIE
SD Micro SD
SIM1 Standard SIM
SW2 Reset Button
VGA VGA

接口引脚定義 (Pin definitions)

 机械尺寸  (Mechanical Characteristics)

RTENOTITLE

RTENOTITLE

 

 


快速入门 (Quick Start)

系統下载 (OS Download)

       Debian 9.8

Platform Product Image Version Release Date Release Version Release notes Image Download BSP Download Tag Comment
RK3288 RSB-4680 DIV21045 2021/08/10 Alpha Release_Note Baidu      Password:a887

Dropbox

RK3288DIV21045.xml  
DIV21041 2020-04-21 Beta Release Note Baidu    Password:a887 RK3288DIV21041.xml  

       Debian 10

Image Version

Product

Date

Release

Release Note

Binary OS Image Name

DIV230009

RSB-4680

2021-04-13

Beta

Release Note

4680A3AIM20DIV230009_2021-04-13.img.tgz

Debian 燒錄方法 (Debiand Flash eMMC Method)

1. Update through Android Tool

2. Usering bootup_sd_disk made_by SDDiskTool

NOTE : 

This way only support Linux(Debian9) upgrade to Linux(Debian9) 、 Android6.0 upgrade to Android6.0 or Android8.1 upgrade to Android8.1.

If the device is in Android, you want to upgrade to Linux(Debian9), please use Android Tool.

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

User Guide


通用方法(General Method)

查看CPU温度(Check CPU Temperature)

root@linaro-alip:/# cat /sys/class/thermal/thermal_zone0/temp
42769

查看CPU频率(Check CPU Frequency)

cat /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq 
600000
cat /sys/devices/system/cpu/cpufreq/policy4/scaling_cur_freq    
900000

查看GPU温度(Check GPU Temperature)

root@linaro-alip:/# cat /sys/class/thermal/thermal_zone1/temp
43042

查看GPU频率(Check GPU Frequency)

root@linaro-alip:/# cat /sys/class/devfreq/ffa30000.gpu/cur_freq
200000000

查看DDR频率(Check DDR Frequency)

root@linaro-alip:/# cat /sys/class/devfreq/dmc/cur_freq
0

查看存储容量(Check Storage Capacity)

root@linaro-alip:/# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       3.9G  2.5G  1.3G  67% /
devtmpfs        991M  8.0K  991M   1% /dev
tmpfs          1000M     0 1000M   0% /dev/shm
tmpfs          1000M  8.9M  991M   1% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs          1000M     0 1000M   0% /sys/fs/cgroup
/dev/mmcblk1p9  3.1G  3.3M  3.1G   1% /userdata
/dev/mmcblk1p7   63M   13M   48M  21% /oem
tmpfs           200M  8.0K  200M   1% /run/user/1000
tmpfs           200M     0  200M   0% /run/user/0

网路Ping測試(Ping Network Testing)

Command:ifconfig

root@linaro-alip:~# ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255
        ether 02:42:9d:3a:25:6f  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.127.100  netmask 255.255.255.0  broadcast 192.168.127.255
        inet6 fe80::3269:bcb5:eaa7:b6b7  prefixlen 64  scopeid 0x20<link>
        ether c4:00:ad:41:6d:fb  txqueuelen 1000  (Ethernet)
        RX packets 175  bytes 16715 (16.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 109  bytes 7172 (7.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 44

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 980  bytes 66000 (64.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 980  bytes 66000 (64.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Command:Ping 192.168.127.100

root@linaro-alip:~# ping 192.168.127.100
PING <span style="color:#FF0000;">192.168.127.100</span> (192.168.127.100) 56(84) bytes of data.
64 bytes from 192.168.127.100: icmp_seq=1 ttl=64 time=0.200 ms
64 bytes from 192.168.127.100: icmp_seq=2 ttl=64 time=0.161 ms
64 bytes from 192.168.127.100: icmp_seq=3 ttl=64 time=0.147 ms
^C
--- <span style="color:#FF0000;">192.168.127.100</span> ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2ms
rtt min/avg/max/mdev = 0.147/0.169/0.200/0.024 ms

設置RTC (RTC Setting) 

root@linaro-alip:~# sudo su
root@linaro-alip:~# date
Tue Oct 26 08:16:04 UTC 2021
root@linaro-alip:~# date -s "2022-9-1 13:00:00"
Thu Sep  1 13:00:00 UTC 2022
root@linaro-alip:~# date
Thu Sep  1 13:00:10 UTC 2022
root@linaro-alip:~#hwclock -w
root@linaro-alip:~# hwclock
Thu Sep  1 13:01:07 2022  0.000000 seconds

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

Linux BSP build and update image