Difference between revisions of "RSB-4680 user guide"

From ESS-WIKI
Jump to: navigation, search
(快速入门 (Quick Start))
 
(48 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
  
<span style="color:#B22222;">'''换一张订购信息图片'''</span>
+
=== '''产品官网链接(Product official website link)''' ===
  
== '''规格(Specifications)''' ==
+
[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 27: Line 26:
 
[[File:RSB-4680connector3.png|RTENOTITLE]]
 
[[File:RSB-4680connector3.png|RTENOTITLE]]
  
== '''Connector List''' ==
+
=== '''Connector List''' ===
  
{| border="1" cellspacing="1" cellpadding="1" style="width:500px;"
+
{| border="1" cellpadding="1" cellspacing="1" style="width:500px;"
 
|-
 
|-
 
| style="width: 106px;" | BAT
 
| style="width: 106px;" | BAT
Line 71: Line 70:
 
|-
 
|-
 
| style="width: 106px;" | COM
 
| style="width: 106px;" | COM
| style="width: 381px;" | Internal RS232 (COM6 & COM7 with 12V/5V Power)<br/>
+
| style="width: 381px;" | Internal RS232 (COM6 & COM7 with 12V/5V Power)
 
|-
 
|-
| style="width: 106px;" | COM13<br/>
+
| style="width: 106px;" | COM13
| style="width: 381px;" | Internal RS232 (COM1 & COM3)<br/>
+
| style="width: 381px;" | Internal RS232 (COM1 & COM3)
 
|-
 
|-
| style="width: 106px;" | COM4<br/>
+
| style="width: 106px;" | COM4
| style="width: 381px;" | External COM (With RS232 &RS-485)<br/>
+
| style="width: 381px;" | External COM (With RS232 &RS-485)
 
|-
 
|-
| style="width: 106px;" | DEBUG<br/>
+
| style="width: 106px;" | DEBUG
| style="width: 381px;" | COM2 or Console<br/>
+
| style="width: 381px;" | COM2 or Console
 
|-
 
|-
| style="width: 106px;" | HDMI<br/>
+
| style="width: 106px;" | HDMI
| style="width: 381px;" | HDMI<br/>
+
| style="width: 381px;" | HDMI
 
|-
 
|-
| style="width: 106px;" | LAN<br/>
+
| style="width: 106px;" | LAN
| style="width: 381px;" | LAN<br/>
+
| style="width: 381px;" | LAN
 
|-
 
|-
| style="width: 106px;" | M.2<br/>
+
| style="width: 106px;" | M.2
| style="width: 381px;" | M.2<br/>
+
| style="width: 381px;" | M.2
 
|-
 
|-
| style="width: 106px;" | MINIPCIE<br/>
+
| style="width: 106px;" | MINIPCIE
| style="width: 381px;" | MINIPCIE<br/>
+
| style="width: 381px;" | MINIPCIE
 
|-
 
|-
| style="width: 106px;" | SD<br/>
+
| style="width: 106px;" | SD
| style="width: 381px;" | Micro SD<br/>
+
| style="width: 381px;" | Micro SD
 
|-
 
|-
| style="width: 106px;" | SIM1<br/>
+
| style="width: 106px;" | SIM1
| style="width: 381px;" | Standard SIM<br/>
+
| style="width: 381px;" | Standard SIM
 
|-
 
|-
| style="width: 106px;" | SW2<br/>
+
| style="width: 106px;" | SW2
| style="width: 381px;" | Reset Button<br/>
+
| style="width: 381px;" | Reset Button
 
|-
 
|-
| style="width: 106px;" | VGA<br/>
+
| style="width: 106px;" | VGA
| style="width: 381px;" | VGA<br/>
+
| style="width: 381px;" | VGA
 
|}
 
|}
  
 
=== '''接口引脚定義 (Pin definitions)''' ===
 
=== '''接口引脚定義 (Pin definitions)''' ===
  
*[[电池扣(RTC)|电池扣(RTC)]]
+
*[[电池扣(RTC)|电池扣(RTC)]]  
*[[串口(RS232_DB,RS232/485,Internal_RS232)|串口(RS232_DB,RS232/485,Internal RS232)]]
+
*[[串口(RS232_DB,RS232/485,Internal_RS232)|串口(RS232_DB,RS232/485,Internal RS232)]]  
*[[显示接口(LVDS,LVDS_Balight,HDMI)|显示接口(LVDS,LVDS_Balight,HDMI,VGA)]]
+
*[[显示接口(LVDS,LVDS_Balight,HDMI)|显示接口(LVDS,LVDS_Balight,HDMI,VGA)]]  
*[[LAN接口(LAN)|LAN接口(LAN)]]
+
*[[LAN接口(LAN)|LAN接口(LAN)]]  
*[[USB接口(USB3-4,OTG)|USB接口(USB34,USB Pin header,OTG)]]
+
*[[USB接口(USB3-4,OTG)|USB接口(USB34,USB Pin header,OTG)]]  
*[[音频接口(Audio)|音频接口(Audio)]]
+
*[[音频接口(Audio)|音频接口(Audio)]]  
*[[Mico_SD&SIM_Card|Mico SD&SIM Card]]
+
*[[Mico_SD&SIM_Card|Mico SD&SIM Card]]  
*[[电源及指示灯和开关机复位按钮(DC_Power、LED、Power_Button|电源及指示灯和开关机复位按钮(DC Power,Power Button&LED,Recover,Reset Button]][[USB接口(USB3-4,OTG)|)]]&nbsp;&nbsp;
+
*[[电源及指示灯和开关机复位按钮(DC_Power、LED、Power_Button|电源及指示灯和开关机复位按钮(DC Power,Power Button&LED,Recover,Reset Button]][[USB接口(USB3-4,OTG)|)]]&nbsp;&nbsp;  
*[[GPIO接口|GPIO接口]]
+
*[[GPIO接口|GPIO接口]]  
*[[MINI_PCIE接口|MINI PCIE接口]]
+
*[[MINI_PCIE接口|MINI PCIE接口]]  
*[[M.2接口|M.2接口]]
+
*[[M.2接口|M.2接口]]  
*[[SPI,I2C接口|SPI,I2C接口]]
+
*[[SPI,I2C接口|SPI,I2C接口]]  
*[[Jumper_List|Jumper List]]
+
*[[Jumper_List|Jumper List]]  
  
 
=== '''&nbsp;机械尺寸&nbsp; ('''Mechanical Characteristics) ===
 
=== '''&nbsp;机械尺寸&nbsp; ('''Mechanical Characteristics) ===
Line 129: Line 128:
 
[[File:Board Dimension Layout (Top Side)2.png|RTENOTITLE]]
 
[[File:Board Dimension Layout (Top Side)2.png|RTENOTITLE]]
  
== '''快速入门 (Quick Start)''' ==
+
&nbsp;
  
=== '''系统下载 (OS Download)''' ===
+
&nbsp;
  
'''Linux系统 (Linux OS)''''''&nbsp; &nbsp;'''
 
  
*'''Debian 9'''
+
== '''快速入门 (Quick Start)''' ==
*[https://pan.baidu.com/s/1SH2TTLNAQhliF3RNq1bHVw Pan.Baidu_Link_for_RK3288]&nbsp; Password&nbsp;:&nbsp;4jvr
 
  
{| cellspacing="0" cellpadding="0" border="1"
+
=== '''系統下载 (OS Download)''' ===
|-
 
|
 
'''Git BSP Tag Version'''
 
  
|
+
&nbsp; &nbsp; &nbsp; &nbsp;'''Debian 9.8'''
'''Product'''
 
  
| &nbsp;'''BSP/Image'''
+
*[https://pan.baidu.com/s/1SH2TTLNAQhliF3RNq1bHVw Pan.Baidu_Link_for_RK3288]&nbsp; Password&nbsp;:&nbsp;4jvr
|
 
'''Date'''
 
  
|
+
*[https://www.dropbox.com/sh/bymsb6fnt08vu2e/AAAH9tHhnCKM4Go8Advdeqdga?dl=0 Dropbox Link for RK3288]
'''Alpha Release'''
 
 
 
|
 
'''Beta Release'''
 
 
 
|
 
'''MP Release'''
 
 
 
|
 
'''Release Note'''
 
 
 
|
 
'''Comment'''
 
 
 
|
 
'''Release Owner'''
 
  
 +
{| border="2"
 +
|-
 +
| '''Platform'''
 +
| '''Product'''
 +
| '''Image Version'''
 +
| '''Release Date'''
 +
| '''Release Version'''
 +
| '''Release notes'''
 +
| '''Image Download'''
 +
| '''BSP Download Tag'''
 +
| '''Comment'''
 
|-
 
|-
|  
+
| 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://pan.baidu.com/s/1M0lMNso9e2YsHCMR7H-L3w Baidu]&nbsp;&nbsp; &nbsp; &nbsp;Password:a887
 +
[https://www.dropbox.com/sh/w55jv11t0hu6019/AAAEPM_5f4t9PLrNYd5Op-AQa?dl=0 Dropbox]
  
| [https://www.dropbox.com/sh/bymsb6fnt08vu2e/AAChgrKV5h9lNw-gV9gbBt4ra/2019-05-27?dl=0&subfolder_nav_tracking=1 &nbsp;2019-05-27]
+
| RK3288DIV21045.xml
|
+
| &nbsp;
2019-05-27
 
 
 
|
 
 
 
 
 
|
 
&nbsp;V
 
 
 
|  
 
&nbsp;
 
 
 
|
 
[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
 
 
 
|-
 
| RK3288DIV21040
 
| 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/>
+
| DIV21041
| 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
  
 
|}
 
|}
  
== '''Linux&nbsp;燒錄方法 (Linux Flash eMMC Method)''' ==
+
=== '''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]]'''
  
 
'''<span style="color:#FF0000;">NOTE&nbsp;:&nbsp;</span>'''
 
'''<span style="color:#FF0000;">NOTE&nbsp;:&nbsp;</span>'''
Line 283: Line 232:
  
 
If the device is in Android, you want to upgrade to&nbsp;Linux(Debian9), please use Android Tool.
 
If the device is in Android, you want to upgrade to&nbsp;Linux(Debian9), please use Android Tool.
 
== '''<span style="color:#FF0000;">方法一:</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 .
 
 
There are two ways to enter MASKROM .
 
 
'''1. Hardware way to enter MASKROM'''
 
 
(1)Connect PIN2-PIN1 of CN19 to Disable eMMC,reboot device to enter MASKROM mode.
 
 
(2)After device enter into MASKROM mode,then connect PIN2-PIN3&nbsp;of CN19 to Enable eMMC.
 
 
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]]
 
 
'''Step5&nbsp;:'''&nbsp;When“下載完成(Download finish )” , please unplug the Micro USB with RSB-4680 , then turn off and turn on the power again .
 
 
[[File:Finished 4680.png|RTENOTITLE]]
 
 
'''Step6&nbsp;:&nbsp;'''Please remove the Micro USB and the poewer , then&nbsp;reboot the device , you will see the Debian Desktop.&nbsp;
 
 
[[File:Debian 4680.jpg|RTENOTITLE]]
 
 
== '''<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|RTENOTITLE]]
 
 
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|RTENOTITLE]]
 
 
Step 3&nbsp;: Choose update.img .
 
 
[[File:Chooseupdateimage.jpg|RTENOTITLE]]
 
 
Step 4&nbsp;: Create SD card .
 
 
[[File:Create sd.jpg|RTENOTITLE]]
 
 
'''NOTE&nbsp;:&nbsp;'''
 
 
The capacity of SD card is at least 4GB.
 
 
== Upgrade image from SD card ==
 
 
Step 1&nbsp;:&nbsp;Insert SD card to device .
 
 
Step 2&nbsp;: Power up or reboot device, it will boot from SD card to auto upgrade images .
 
 
Step 3&nbsp;: When upgrade is finish, you will get "Doing Actions succeeded,please remove sdcard......" on screen or debug console .
 
 
[[File:RK3288 Debian9 sdupdate screen information.jpg|RTENOTITLE]]
 
 
Step 4&nbsp;: Remove SD card, the device will auto reboot .
 
  
 
== '''Linux系统的基本使用(Linux&nbsp;System Basic Operating Method)''' ==
 
== '''Linux系统的基本使用(Linux&nbsp;System Basic Operating Method)''' ==
Line 390: Line 237:
 
=== '''User Guide''' ===
 
=== '''User Guide''' ===
  
*[[Linux_BSP_build_and_update_image.|Linux BSP build and update image.]]
+
*[[RSB-4680_How_to_debug.|How to debug.]]  
*[[Environment_set_up.|Environment_set_up.]]
+
*[[RSB-4680_How_to_use_GPIO.|How to use GPIO.]]  
*[[How_to_do.|How_to_do.]]
+
*[[RSB-4680_How_to_use_UART.|How to use UART.]]  
*[[RK3288_qt5Creater.|RK3288_qt5Creater.]]
+
*[[RSB-4680_How_to_Config_4G-module.|How to Config 4G-module.]]  
*[[Qt5Creater_toolchain_Qt_5.11.3|qt5Creater_toolchain_Qt_5.11.3]]
+
*[[RSB-4680_How_to_Config_Multi-Display.|How to Config Multi-Display.]]
*[[How_to_flash_the_Debian_image_into_RSB-4680|How_to flash_the_Debian_image_into_RSB-4680]]
+
*[[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]]  
 +
 
  
 
== '''通用方法(General Method)''' ==
 
== '''通用方法(General Method)''' ==
  
*'''查看CPU温度(Check CPU Temperature)'''
+
=== '''查看CPU温度(Check CPU Temperature)''' ===
 
<pre>root@linaro-alip:/# cat /sys/class/thermal/thermal_zone0/temp
 
<pre>root@linaro-alip:/# cat /sys/class/thermal/thermal_zone0/temp
 
42769
 
42769
 
</pre>
 
</pre>
  
*'''查看CPU频率(Check CPU Frequency)'''
+
=== '''查看CPU频率(Check CPU Frequency)''' ===
<pre> cat /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq  
+
<pre>cat /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq  
600000
+
600000
  cat /sys/devices/system/cpu/cpufreq/policy4/scaling_cur_freq     
+
cat /sys/devices/system/cpu/cpufreq/policy4/scaling_cur_freq     
900000
+
900000
 
</pre>
 
</pre>
  
*'''查看GPU温度(Check GPU Temperature)'''
+
=== '''查看GPU温度(Check GPU Temperature)''' ===
 
<pre>root@linaro-alip:/# cat /sys/class/thermal/thermal_zone1/temp
 
<pre>root@linaro-alip:/# cat /sys/class/thermal/thermal_zone1/temp
 
43042</pre>
 
43042</pre>
  
*'''查看GPU频率(Check GPU Frequency)'''
+
=== '''查看GPU频率(Check GPU Frequency)''' ===
 
<pre>root@linaro-alip:/# cat /sys/class/devfreq/ffa30000.gpu/cur_freq
 
<pre>root@linaro-alip:/# cat /sys/class/devfreq/ffa30000.gpu/cur_freq
 
200000000
 
200000000
 
</pre>
 
</pre>
  
*'''查看DDR频率(Check DDR Frequency)'''
+
=== '''查看DDR频率(Check DDR Frequency)''' ===
 
<pre>root@linaro-alip:/# cat /sys/class/devfreq/dmc/cur_freq
 
<pre>root@linaro-alip:/# cat /sys/class/devfreq/dmc/cur_freq
 
0
 
0
 
</pre>
 
</pre>
  
*'''查看存储容量(Check Storage Capacity)'''
+
=== '''查看存储容量(Check Storage Capacity)''' ===
 
<pre>root@linaro-alip:/# df -h
 
<pre>root@linaro-alip:/# df -h
 
Filesystem &nbsp; &nbsp; &nbsp;Size &nbsp;Used Avail Use% Mounted on
 
Filesystem &nbsp; &nbsp; &nbsp;Size &nbsp;Used Avail Use% Mounted on
Line 440: Line 290:
 
</pre>
 
</pre>
  
*'''网路Ping測試(Ping Network Testing)'''
+
=== '''网路Ping測試(Ping Network Testing)''' ===
  
 
'''Command:ifconfig'''
 
'''Command:ifconfig'''
Line 453: Line 303:
  
 
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> &nbsp;mtu 1500
 
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> &nbsp;mtu 1500
&nbsp; &nbsp; &nbsp; &nbsp; inet <span style="color:#FF0000;">192.168.127.100</span> &nbsp;netmask <span style="color:#FF0000;">255.255.255.0</span> &nbsp;broadcast 192.168.127.255
+
&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; 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; ether c4:00:ad:41:6d:fb &nbsp;txqueuelen 1000 &nbsp;(Ethernet)
&nbsp; &nbsp; &nbsp; &nbsp; RX packets 33 &nbsp;bytes 3975 (3.8 KiB)
+
&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; RX errors 0 &nbsp;dropped 0 &nbsp;overruns 0 &nbsp;frame 0
&nbsp; &nbsp; &nbsp; &nbsp; TX packets 32 &nbsp;bytes 2784 (2.7 KiB)
+
&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; TX errors 0 &nbsp;dropped 0 overruns 0 &nbsp;carrier 0 &nbsp;collisions 0
 
&nbsp; &nbsp; &nbsp; &nbsp; device interrupt 44
 
&nbsp; &nbsp; &nbsp; &nbsp; device interrupt 44
Line 464: Line 314:
 
lo: flags=73<UP,LOOPBACK,RUNNING> &nbsp;mtu 65536
 
lo: flags=73<UP,LOOPBACK,RUNNING> &nbsp;mtu 65536
 
&nbsp; &nbsp; &nbsp; &nbsp; inet 127.0.0.1 &nbsp;netmask 255.0.0.0
 
&nbsp; &nbsp; &nbsp; &nbsp; inet 127.0.0.1 &nbsp;netmask 255.0.0.0
&nbsp; &nbsp; &nbsp; &nbsp; inet6 ::1 &nbsp;prefixlen 128 &nbsp;scopeid 0x10<host>
+
&nbsp; &nbsp; &nbsp; &nbsp; inet6&nbsp;::1 &nbsp;prefixlen 128 &nbsp;scopeid 0x10<host>
 
&nbsp; &nbsp; &nbsp; &nbsp; loop &nbsp;txqueuelen 1 &nbsp;(Local Loopback)
 
&nbsp; &nbsp; &nbsp; &nbsp; loop &nbsp;txqueuelen 1 &nbsp;(Local Loopback)
&nbsp; &nbsp; &nbsp; &nbsp; RX packets 960 &nbsp;bytes 64320 (62.8 KiB)
+
&nbsp; &nbsp; &nbsp; &nbsp; RX packets 980 &nbsp;bytes 66000 (64.4 KiB)
 
&nbsp; &nbsp; &nbsp; &nbsp; RX errors 0 &nbsp;dropped 0 &nbsp;overruns 0 &nbsp;frame 0
 
&nbsp; &nbsp; &nbsp; &nbsp; RX errors 0 &nbsp;dropped 0 &nbsp;overruns 0 &nbsp;frame 0
&nbsp; &nbsp; &nbsp; &nbsp; TX packets 960 &nbsp;bytes 64320 (62.8 KiB)
+
&nbsp; &nbsp; &nbsp; &nbsp; TX packets 980 &nbsp;bytes 66000 (64.4 KiB)
 
&nbsp; &nbsp; &nbsp; &nbsp; TX errors 0 &nbsp;dropped 0 overruns 0 &nbsp;carrier 0 &nbsp;collisions 0
 
&nbsp; &nbsp; &nbsp; &nbsp; TX errors 0 &nbsp;dropped 0 overruns 0 &nbsp;carrier 0 &nbsp;collisions 0
 
</pre>
 
</pre>
  
==== '''Command:Ping&nbsp;192.168.127.100''' ====
+
'''Command:Ping&nbsp;192.168.127.100'''
 
<pre>root@linaro-alip:~# ping 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.
 
PING <span style="color:#FF0000;">192.168.127.100</span> (192.168.127.100) 56(84) bytes of data.
Line 483: Line 333:
 
rtt min/avg/max/mdev = 0.147/0.169/0.200/0.024 ms</pre>
 
rtt min/avg/max/mdev = 0.147/0.169/0.200/0.024 ms</pre>
  
*'''設置RTC (RTC Setting)&nbsp;'''
+
=== '''設置RTC (RTC Setting)&nbsp;''' ===
<pre>     root@imx8qxprom5620a1:/# systemctl stop ntpdate.service
+
<pre>root@linaro-alip:~# sudo su
    root@imx8qxprom5620a1:/# date 090816072021 && hwclock -w && date
+
root@linaro-alip:~# date
            Wed Sep  8 16:07:00 UTC 2021
+
Tue Oct 26 08:16:04 UTC 2021
            Wed Sep 8 16:07:00 UTC 2021
+
root@linaro-alip:~# date -s "2022-9-1 13:00:00"
    root@imx8qxprom5620a1:/# date
+
Thu Sep &nbsp;1 13:00:00 UTC 2022
            Wed Sep 8 16:07:06 UTC 2021
+
root@linaro-alip:~# date
    root@imx8qxprom5620a1:/#'''
+
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>
  
== '''Linux&nbsp;BSP編譯方法(Android BSP Compile Method)''' ==
+
== '''Debian BSP編譯方法(Debian BSP Compile Method)''' ==
  
=== [http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBVA_User_Guide '''Yocto 3.0'''] ===
+
=== '''[[RSB-4680_Linux_BSP_build_and_update_image.|Linux BSP build and update image]]''' ===
 +
 
 +
{| border="0" cellpadding="10" cellspacing="0" style="width:100%;"
 +
|-
 +
| <iframe height="230" key="advonline" level="campaign" path="en/aim-linux_community/" width="100%"></iframe>
 +
|}

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