Difference between revisions of "RSB-4680 user guide"

From ESS-WIKI
Jump to: navigation, search
(快速入门 (Quick Start))
 
(92 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
  
== '''规格(Specifications)''' ==
+
=== '''产品官网链接(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 23: 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) ===
Line 44: 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'''
  
== '''快速入门 (Quick Start)''' ==
+
*[https://pan.baidu.com/s/1SH2TTLNAQhliF3RNq1bHVw Pan.Baidu_Link_for_RK3288]  Password : 4jvr
  
=== '''系统下载 (OS Download)''' ===
+
*[https://www.dropbox.com/sh/bymsb6fnt08vu2e/AAAH9tHhnCKM4Go8Advdeqdga?dl=0 Dropbox Link for RK3288]
  
'''Linux系统 (Linux OS)''''''   '''
+
{| border="2"
 
 
*'''Debian 9'''
 
*[https://pan.baidu.com/s/1SH2TTLNAQhliF3RNq1bHVw Pan.Baidu_Link_for_RK3288]  Password : 4jvr
 
 
 
{| cellspacing="0" cellpadding="0" border="1"
 
 
|-
 
|-
|  
+
| '''Platform'''
'''Git BSP Tag Version'''
+
| '''Product'''
 
+
| '''Image Version'''
|  
+
| '''Release Date'''
'''Product'''
+
| '''Release Version'''
 
+
| '''Release notes'''
|  '''BSP/Image'''
+
| '''Image Download'''
|  
+
| '''BSP Download Tag'''
'''Date'''
+
| '''Comment'''
 
 
|  
 
'''Alpha Release'''
 
 
 
|  
 
'''Beta Release'''
 
 
 
|  
 
'''MP Release'''
 
 
 
|  
 
'''Release Note'''
 
 
 
|  
 
'''Comment'''
 
 
 
|
 
'''Release Owner'''
 
 
 
 
|-
 
|-
|  
+
| colspan="1" rowspan="2" | RK3288
RK3288LBV2100
+
| colspan="1" rowspan="2" | RSB-4680
 
+
| DIV21045
|  
+
| 2021/08/10
RSB-4680
+
| Alpha
 
+
| [http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/RockChip/Linux_Debian_OS_Release_note/RSB-4680/DIV21045 Release_Note]
| [https://www.dropbox.com/sh/bymsb6fnt08vu2e/AAChgrKV5h9lNw-gV9gbBt4ra/2019-05-27?dl=0&subfolder_nav_tracking=1  2019-05-27]
+
| [https://pan.baidu.com/s/1M0lMNso9e2YsHCMR7H-L3w Baidu]      Password:a887
|
+
[https://www.dropbox.com/sh/w55jv11t0hu6019/AAAEPM_5f4t9PLrNYd5Op-AQa?dl=0 Dropbox]
2019-05-27
 
 
 
|
 
 
 
 
 
|
 
 V
 
 
 
|
 
 
 
 
 
|
 
[http://ess-wiki.advantech.com.tw/view/File:RK3288_Debian_ReleaseNote_V2100.xlsx Release Note]
 
 
 
| 1.for QA test<br/>2.release for PM
 
|
 
Yunjin.Jiang
 
  
 +
| RK3288DIV21045.xml
 +
| &nbsp;
 
|-
 
|-
| RK3288DIV21040
+
| DIV21041
| RSB-4680
 
| [https://www.dropbox.com/sh/bymsb6fnt08vu2e/AADODDaZj6Ywk8BZyGB-2ynLa/2019-09-05?dl=0&subfolder_nav_tracking=1 2019-09-05]<br/>
 
| 2019-09-05
 
| <br/>
 
| V
 
| <br/>
 
| [http://ess-wiki.advantech.com.tw/view/File:RK3288_Debian_ReleaseNote_V2100.xlsx Release Note]<br/>
 
| 1.for QA test<br/>2.release for PM<br/>
 
| Yunjin.Jiang<br/>
 
|-
 
| RK3288DIV21041<br/>
 
| RSB-4680<br/>
 
 
| 2020-04-21
 
| 2020-04-21
| 2020-04-21<br/>
+
| Beta
| <br/>
 
| V
 
| <br/>
 
 
| [http://ess-wiki.advantech.com.tw/view/File:RK3288_Debian_ReleaseNote_V21041.xlsx Release Note]
 
| [http://ess-wiki.advantech.com.tw/view/File:RK3288_Debian_ReleaseNote_V21041.xlsx Release Note]
| 1.for QA test<br/>2.release for PM<br/>
+
| [https://pan.baidu.com/s/1ACrI-M0eS6APWfmxMHbRDg?pwd=a887 Baidu]&nbsp; &nbsp; Password:a887
| Yunjin.Jiang<br/>
+
| RK3288DIV21041.xml
|-
+
| &nbsp;
|  
+
|}
RK3288DIV21045
 
  
| RSB-4680
+
'''&nbsp; &nbsp; &nbsp; &nbsp;Debian 10'''
| 2021-08-10
 
| 2021-08-10
 
| V
 
| <br/>
 
| <br/>
 
| [http://ess-wiki.advantech.com.tw/wiki/images/1/16/RSB4680_A3_Release_Notes_DIV21045_20210810.pdf Release Note]
 
| 1.for QA test<br/>2.release for PM<br/>
 
| Yunjin.Jiang
 
|}
 
  
*'''Debian 10'''
+
*[https://pan.baidu.com/s/1TgrhhblhawD4Vx5Q3sHC4Q Baidu link for Debian10]&nbsp;Password:iz74  
*[https://pan.baidu.com/s/1TgrhhblhawD4Vx5Q3sHC4Q Baidu link for Debian10]&nbsp;Password:iz74
 
  
{| cellspacing="0" cellpadding="0" border="1"
+
{| border="1" cellpadding="0" cellspacing="0" style="width: 897px;"
 
|-
 
|-
|  
+
| style="width: 100px;" |  
 
'''Image Version'''
 
'''Image Version'''
  
|  
+
| style="width: 84px;" |  
 
'''Product'''
 
'''Product'''
  
|  
+
| style="width: 114px;" |  
 
'''Date'''
 
'''Date'''
  
|  
+
| style="width: 73px;" |  
 
'''Release'''
 
'''Release'''
  
|  
+
| style="width: 158px;" |  
 
'''Release Note'''
 
'''Release Note'''
  
|  
+
| style="width: 356px;" |  
 
'''Binary OS Image Name'''
 
'''Binary OS Image Name'''
  
 
|-
 
|-
|  
+
| style="width: 100px;" |  
 
DIV230009
 
DIV230009
  
|  
+
| style="width: 84px;" |  
 
RSB-4680
 
RSB-4680
  
|  
+
| style="width: 114px;" |  
 
2021-04-13
 
2021-04-13
  
|  
+
| style="width: 73px;" |  
 
Beta
 
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]
 
[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
 
4680A3AIM20DIV230009_2021-04-13.img.tgz
  
 
|}
 
|}
  
== '''&nbsp;Linux&nbsp;燒錄方法 (Linux Flash eMMC Method)''' ==
+
=== '''Debian 燒錄方法 (Debiand Flash eMMC Method)''' ===
 
 
== '''<span style="color:#FF0000;">&nbsp;方法一:</span>Update through Android Tool''' ==
 
 
 
'''&nbsp;Step0:'''&nbsp; Need to use Micro USB to connect with RSB-4680 OTG port, and other Type-A USB to connect with your PC&nbsp;
 
 
 
[[File:MicroUSB 4680.png|RTENOTITLE]]
 
 
 
'''Step1:''' Double click DriverInstall.exe .
 
 
 
[[File:RK3288 Debian9 AndroidTool DriverAssitant v4.6.jpg|RTENOTITLE]]
 
  
'''Step2:'''&nbsp; Enter into MASKROM mode .
+
'''1.&nbsp;[[RSB_4680_Update_through_Android_Tool|Update through Android Tool]]'''
  
There are two ways to enter MASKROM .
+
'''2.&nbsp;[[RSB-4680_Usering_bootup_sd_disk_made_by_SDDiskTool|Usering bootup_sd_disk made_by SDDiskTool]]'''
  
'''1. Hardware way to enter MASKROM'''
+
'''<span style="color:#FF0000;">NOTE&nbsp;:&nbsp;</span>'''
  
(1)Connect PIN2-PIN1 of CN19 to Disable eMMC,reboot device to enter MASKROM mode.
+
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.
  
(2)After device enter into MASKROM mode,then connect PIN2-PIN3&nbsp;of CN19 to Enable eMMC.
+
If the device is in Android, you want to upgrade to&nbsp;Linux(Debian9), please use Android Tool.
 
 
RSB-4680&nbsp;Connector Layout&nbsp;:&nbsp;
 
 
 
[[File:RK3288 Debian9 AndroidTool connector CN19.jpg|RTENOTITLE]]
 
 
 
RSB-4680 CN19 PIN define&nbsp;:&nbsp;
 
 
 
[[File:RK3288 Debian9 AndroidTool CN19.jpg|RTENOTITLE]]
 
 
 
'''2. Software way to enter MASKROM'''
 
 
 
When the device boot up to debian, you can use Terminal or Debug port to input the following command&nbsp;:
 
 
 
sudo reboot loader
 
 
 
Click "Advantech Function" , then "Enter MASHROM" button to enter MASHROM mode .
 
 
 
[[File:RK3288 upgrade Loader MASHROM.png|RTENOTITLE]]
 
 
 
'''Step3: '''Select the image path .&nbsp;
 
 
 
[[File:RK3288 Debian9 AndroidTool select image.jpg|RTENOTITLE]]
 
 
 
 
 
 
 
'''Step4&nbsp;:&nbsp;'''Click update button to upgrade images .
 
 
 
[[File:RK3288 Debian9 AndroidTool update.jpg|RTENOTITLE]]
 
 
 
== '''<span style="color:#FF0000;">&nbsp;</span>'''<span style="color:#FF0000;">方法二:</span>'''''Update image through SD-Card&nbsp; ==
 
 
 
Download SD DiskTool
 
 
 
[https://github.com/ADVANTECH-Rockchip/linux_tools/tree/rk3288_linux_v2.0 https://github.com/ADVANTECH-Rockchip/linux_tools/tree/rk3288_linux_v2.0]&nbsp;
 
 
 
Step 1&nbsp;:&nbsp;Put images to AndroidTool/rockdev/image, Make sure path is correct.
 
 
 
[[File:Filepath.jpg]]
 
 
 
Step 2&nbsp;:&nbsp;Double click rk3328-mkupdate.bat in&nbsp;AndroidTool/rockdev/ .
 
 
 
If there is no error, you will find&nbsp;update.img&nbsp;in&nbsp;AndroidTool/rockdev/ .
 
 
 
== Generate SD card ==
 
 
 
Step 1&nbsp;: Insert SD card to PC,&nbsp;Double click&nbsp;SD_Firmware_Tool.exe in&nbsp;SDDiskTool .
 
 
 
Step 2&nbsp;: Choose SD card .
 
 
 
[[File:Choosesd.jpg]]
 
 
 
Step 3&nbsp;: Choose update.img .
 
 
 
[[File:Chooseupdateimage.jpg]]
 
 
 
Step 4&nbsp;: Create SD card .
 
 
 
[[File:Create sd.jpg]]
 
 
 
'''NOTE&nbsp;:&nbsp;'''
 
 
 
The capacity of SD card is at least 4GB.
 
  
 
== '''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
 +
Filesystem &nbsp; &nbsp; &nbsp;Size &nbsp;Used Avail Use% Mounted on
 +
/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>
  
=== '''WiFi使用方法(WIFI Testing Method)''' ===
+
=== '''网路Ping測試(Ping Network Testing)''' ===
<pre>Command&nbsp;:
 
  
# killall wpa_supplicant
+
'''Command:ifconfig'''
# ifconfig wlan0 up
+
<pre>root@linaro-alip:~# ifconfig
# wpa_passphrase "SSID" "PASSWORD" > /tmp/wpa.conf
+
docker0: flags=4099<UP,BROADCAST,MULTICAST> &nbsp;mtu 1500
# wpa_supplicant -BDwext -iwlan0 -c/tmp/wpa.conf
+
&nbsp; &nbsp; &nbsp; &nbsp; inet 172.17.0.1 &nbsp;netmask 255.255.0.0 &nbsp;broadcast 172.17.255.255
# udhcpc -b -i wlan0'''
+
&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
  
ping 8.8.8.8
+
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> &nbsp;mtu 1500
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
+
&nbsp; &nbsp; &nbsp; &nbsp; inet 192.168.127.100 &nbsp;netmask 255.255.255.0 &nbsp;broadcast 192.168.127.255
64 bytes from 8.8.8.8: icmp_seq=1 ttl=54 time=2.10 ms
+
&nbsp; &nbsp; &nbsp; &nbsp; inet6 fe80::3269:bcb5:eaa7:b6b7 &nbsp;prefixlen 64 &nbsp;scopeid 0x20<link>
64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=2.10 ms</pre>
+
&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
  
[[File:WifiTest 2021-09-09 132238.jpg|RTENOTITLE]]
+
lo: flags=73<UP,LOOPBACK,RUNNING> &nbsp;mtu 65536
 
+
&nbsp; &nbsp; &nbsp; &nbsp; inet 127.0.0.1 &nbsp;netmask 255.0.0.0
=== '''4G使用方法(4G Testing Method)''' ===
+
&nbsp; &nbsp; &nbsp; &nbsp; inet6&nbsp;::1 &nbsp;prefixlen 128 &nbsp;scopeid 0x10<host>
<pre>Command:
+
&nbsp; &nbsp; &nbsp; &nbsp; loop &nbsp;txqueuelen 1 &nbsp;(Local Loopback)
Test 4G: (EWM-C117FL06E - USB)
+
&nbsp; &nbsp; &nbsp; &nbsp; RX packets 980 &nbsp;bytes 66000 (64.4 KiB)
Step 1: Connect EWM-C117FL06E to Mini PCIE slot on 9680015491 and connect
+
&nbsp; &nbsp; &nbsp; &nbsp; RX errors 0 &nbsp;dropped 0 &nbsp;overruns 0 &nbsp;frame 0
the card to CN6 PCIe_D slot on ROM-DB5901.
+
&nbsp; &nbsp; &nbsp; &nbsp; TX 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; TX errors 0 &nbsp;dropped 0 overruns 0 &nbsp;carrier 0 &nbsp;collisions 0
9680015491
 
and connect the IPEX connector to MT1 on EWM-C117FL06E module.
 
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
 +
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</pre>
  
[[File:4GTest12021-09-09 133648.jpg|RTENOTITLE]]
+
=== '''設置RTC (RTC Setting)&nbsp;''' ===
 
+
<pre>root@linaro-alip:~# sudo su
=== '''GPIO使用方法(GPIO Operating Method)''' ===
+
root@linaro-alip:~# date
 
+
Tue Oct 26 08:16:04 UTC 2021
[[File:GPIOpin2021-09-11 143437.jpg|RTENOTITLE]]
+
root@linaro-alip:~# date -s "2022-9-1 13:00:00"
 
+
Thu Sep &nbsp;1 13:00:00 UTC 2022
 
+
root@linaro-alip:~# date
<pre>Loop-back Test (Take GPIO4 and GPIO5 as examples) 
+
Thu Sep &nbsp;1 13:00:10 UTC 2022
 
+
root@linaro-alip:~#hwclock -w
Step 1: Connect GPIO4 and GPIO5
+
root@linaro-alip:~# hwclock
Step 2: Export GPIO interface
+
Thu Sep &nbsp;1 13:01:07 2022 &nbsp;0.000000 seconds
 
 
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)''' ===
 
<pre>root@imx8qxprom5620a1:/# busybox free -m
 
            total      used      free    shared    buffers    cached
 
Mem:      1794920    516080    1278840      17252      9852        80292
 
-/+ buffers/cache:    425936    1368984
 
Swap:            0          0          0
 
 
</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