EPC-R4680 user guide

From ESS-WIKI
Revision as of 03:43, 11 May 2022 by Phill.liu (talk | contribs)
Jump to: navigation, search

資源特性(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

訂購資訊(Ordering Information)

 RTENOTITLE 

 

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

接口布局圖 Board Dimension Layout 

 RTENOTITLE 

 

 RTENOTITLE   RTENOTITLE 

Connector List

<tbody>
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
</tbody>

接口引脚定義 (Pin definitions)

  • <a href="%E7%94%B5%E6%B1%A0%E6%89%A3%EF%BC%88RTC%EF%BC%89">电池扣(RTC)</a>
  • <a href="%E4%B8%B2%E5%8F%A3%EF%BC%88RS232%20DB%2CRS232%2F485%2CInternal%20RS232%EF%BC%89">串口(RS232_DB,RS232/485,Internal RS232)</a>
  • <a href="%E6%98%BE%E7%A4%BA%E6%8E%A5%E5%8F%A3%EF%BC%88LVDS%2CLVDS%20Balight%2CHDMI%EF%BC%89">显示接口(LVDS,LVDS_Balight,HDMI,VGA)</a>
  • <a href="LAN%E6%8E%A5%E5%8F%A3%28LAN%29">LAN接口(LAN)</a>
  • <a href="USB%E6%8E%A5%E5%8F%A3%EF%BC%88USB3-4%2COTG%EF%BC%89">USB接口(USB34,USB Pin header,OTG)</a>
  • <a href="%E9%9F%B3%E9%A2%91%E6%8E%A5%E5%8F%A3%EF%BC%88Audio%EF%BC%89">音频接口(Audio)</a>
  • <a href="Mico%20SD%26SIM%20Card">Mico SD&SIM Card</a>
  • <a href="%E7%94%B5%E6%BA%90%E5%8F%8A%E6%8C%87%E7%A4%BA%E7%81%AF%E5%92%8C%E5%BC%80%E5%85%B3%E6%9C%BA%E5%A4%8D%E4%BD%8D%E6%8C%89%E9%92%AE%EF%BC%88DC%20Power%E3%80%81LED%E3%80%81Power%20Button">电源及指示灯和开关机复位按钮(DC Power,Power Button&LED,Recover,Reset Button</a><a href="USB%E6%8E%A5%E5%8F%A3%EF%BC%88USB3-4%2COTG%EF%BC%89">)</a>  
  • <a href="GPIO%E6%8E%A5%E5%8F%A3">GPIO接口</a>
  • <a href="MINI%20PCIE%E6%8E%A5%E5%8F%A3">MINI PCIE接口</a>
  • <a href="M.2%E6%8E%A5%E5%8F%A3">M.2接口</a>
  • <a href="SPI%EF%BC%8CI2C%E6%8E%A5%E5%8F%A3">SPI,I2C接口</a>
  • <a href="Jumper%20List">Jumper List</a>

 机械尺寸  (Mechanical Characteristics)

 RTENOTITLE 

 RTENOTITLE 


快速入门 (Quick Start)

     系统下载 (OS Download)

<tbody>

Git BSP Tag Version

Product

 BSP/Image

Date

Alpha Release

Beta Release

MP Release

Release Note

Comment

Release Owner

RK3288LBV2100

RSB-4680

<a alt="https://www.dropbox.com/sh/bymsb6fnt08vu2e/AAChgrKV5h9lNw-gV9gbBt4ra/2019-05-27?dl=0&subfolder_nav_tracking=1" href="https://www.dropbox.com/sh/bymsb6fnt08vu2e/AAChgrKV5h9lNw-gV9gbBt4ra/2019-05-27?dl=0&subfolder_nav_tracking=1" title="https://www.dropbox.com/sh/bymsb6fnt08vu2e/AAChgrKV5h9lNw-gV9gbBt4ra/2019-05-27?dl=0&subfolder_nav_tracking=1"> 2019-05-27</a>

2019-05-27

 

 V

 

<a alt="http://ess-wiki.advantech.com.tw/view/File:RK3288_Debian_ReleaseNote_V2100.xlsx" href="http://ess-wiki.advantech.com.tw/view/File:RK3288_Debian_ReleaseNote_V2100.xlsx" title="http://ess-wiki.advantech.com.tw/view/File:RK3288_Debian_ReleaseNote_V2100.xlsx">Release Note</a>

1.for QA test
2.release for PM

Yunjin.Jiang

RK3288DIV21040 RSB-4680 <a alt="https://www.dropbox.com/sh/bymsb6fnt08vu2e/AADODDaZj6Ywk8BZyGB-2ynLa/2019-09-05?dl=0&subfolder_nav_tracking=1" href="https://www.dropbox.com/sh/bymsb6fnt08vu2e/AADODDaZj6Ywk8BZyGB-2ynLa/2019-09-05?dl=0&subfolder_nav_tracking=1" title="https://www.dropbox.com/sh/bymsb6fnt08vu2e/AADODDaZj6Ywk8BZyGB-2ynLa/2019-09-05?dl=0&subfolder_nav_tracking=1">2019-09-05</a> 2019-09-05   V   <a alt="http://ess-wiki.advantech.com.tw/view/File:RK3288_Debian_ReleaseNote_V2100.xlsx" href="http://ess-wiki.advantech.com.tw/view/File:RK3288_Debian_ReleaseNote_V2100.xlsx" title="http://ess-wiki.advantech.com.tw/view/File:RK3288_Debian_ReleaseNote_V2100.xlsx">Release Note</a> 1.for QA test
2.release for PM
Yunjin.Jiang
RK3288DIV21041 RSB-4680 2020-04-21 2020-04-21   V   <a alt="http://ess-wiki.advantech.com.tw/view/File:RK3288_Debian_ReleaseNote_V21041.xlsx" href="http://ess-wiki.advantech.com.tw/view/File:RK3288_Debian_ReleaseNote_V21041.xlsx" title="http://ess-wiki.advantech.com.tw/view/File:RK3288_Debian_ReleaseNote_V21041.xlsx">Release Note</a> 1.for QA test
2.release for PM
Yunjin.Jiang

RK3288DIV21045

RSB-4680 2021-08-10 2021-08-10 V     <a alt="http://ess-wiki.advantech.com.tw/wiki/images/1/16/RSB4680_A3_Release_Notes_DIV21045_20210810.pdf" href="http://ess-wiki.advantech.com.tw/wiki/images/1/16/RSB4680_A3_Release_Notes_DIV21045_20210810.pdf" title="http://ess-wiki.advantech.com.tw/wiki/images/1/16/RSB4680_A3_Release_Notes_DIV21045_20210810.pdf">Release Note</a> 1.for QA test
2.release for PM
Yunjin.Jiang
</tbody>
<tbody>

Image Version

Product

Date

Release

Release Note

Binary OS Image Name

DIV230009

RSB-4680

2021-04-13

Beta

<a alt="http://ess-wiki.advantech.com.tw/wiki/images/c/c5/RSB-4680_Debian10_Release_note_2021-04-13.pdf" href="http://ess-wiki.advantech.com.tw/wiki/images/c/c5/RSB-4680_Debian10_Release_note_2021-04-13.pdf" title="http://ess-wiki.advantech.com.tw/wiki/images/c/c5/RSB-4680_Debian10_Release_note_2021-04-13.pdf">Release Note</a>

4680A3AIM20DIV230009_2021-04-13.img.tgz

</tbody>
<tbody>
Android version

Git BSP Tag Version

Product

CPU

Date

Release

Release Note

Download Path

FW Tool

Comment

Release Owner

Android 6.0.1 rkABV1000 RSB-4680 RK3288 2018-7-10 Alpha   <a alt="https://pan.baidu.com/s/1CEvGJVwyx42LkXmEfePJBg" href="https://pan.baidu.com/s/1CEvGJVwyx42LkXmEfePJBg" title="https://pan.baidu.com/s/1CEvGJVwyx42LkXmEfePJBg">Binary OS Image</a>

<a alt="https://pan.baidu.com/s/1rqvPb0mrnHeZ__IQN_88lg" href="https://pan.baidu.com/s/1rqvPb0mrnHeZ__IQN_88lg" title="https://pan.baidu.com/s/1rqvPb0mrnHeZ__IQN_88lg">FW Tool</a>

 

 

Android 6.0.1 rkABV2100 RSB-4680 RK3288 2018-9-11 MP          
Android 6.0.1 rkABV2500 RSB-4680 RK3288 2019-5-17 Alpha          
Android 6.0.1 rkABV2600 RSB-4680 RK3288 2019-11-18 MP         zengwei
Android 6.0.1 rkABV2800 RSB-4680 RK3288 2021-04-12 MP <a href="Media%3ARSB-4680.pdf">Release Note</a>        
                 
                     
                     
Android8.1 rkABV0001 RSB-4680 RK3288 2019-07-04 Alpha  

<a alt="https://pan.baidu.com/s/1wAuWQ4xlJ0CUrwRuhEcZww" href="https://pan.baidu.com/s/1wAuWQ4xlJ0CUrwRuhEcZww" title="https://pan.baidu.com/s/1wAuWQ4xlJ0CUrwRuhEcZww">Binary OS Image</a>

Code:frj0

<a alt="https://pan.baidu.com/s/1WyyT98UDp4KSXyIqD5p5yA" href="https://pan.baidu.com/s/1WyyT98UDp4KSXyIqD5p5yA" title="https://pan.baidu.com/s/1WyyT98UDp4KSXyIqD5p5yA">FW Tool</a>

Code:s7k3

  zengwei
Android8.1

O8_AIV1100

 

RSB-4680 RK3288 2019-12-19 Alpha         zengwei
Android8.1 O8_AIV1200 RSB-4680 RK3288 2020-03-04 Alpha         zengwei
</tbody>

Linux & Android 燒錄方法 (Linux & Android Flash eMMC Method)

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.

方法一(Method 1):Update through Android Tool

 Step0:  Need to use Micro USB to connect with RSB-4680 OTG port, and other Type-A USB to connect with your PC 

<img _fck_mw_filename="MicroUSB 4680.png" _fck_mw_origimgheight="334" _fck_mw_origimgwidth="478" alt="RTENOTITLE" src="/wiki/images/4/44/MicroUSB_4680.png" style="vertical-align:middle;" title="RTENOTITLE" />

Step1: Double click DriverInstall.exe .

<img _fck_mw_filename="RK3288 Debian9 AndroidTool DriverAssitant v4.6.jpg" _fck_mw_origimgheight="288" _fck_mw_origimgwidth="624" alt="RTENOTITLE" src="/wiki/images/2/25/RK3288_Debian9_AndroidTool_DriverAssitant_v4.6.jpg" style="vertical-align:middle;" title="RTENOTITLE" />

Step2:  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 of CN19 to Enable eMMC.

RSB-4680 Connector Layout : 

 RTENOTITLE 


RSB-4680 CN19 PIN define : 

 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 :

sudo reboot loader

Click "Advantech Function" , then "Enter MASHROM" button to enter MASHROM mode .

 RTENOTITLE 


Step3: Select the image path . 

 RTENOTITLE 

 

Step4 : Click update button to upgrade images .

 RTENOTITLE 


Step5 : When“下載完成(Download finish )” , please unplug the Micro USB with RSB-4680 , then turn off and turn on the power again .

 RTENOTITLE 


Step6 : Please remove the Micro USB and the poewer , then reboot the device , you will see the Debian Desktop. 

 RTENOTITLE 


方法二(Method 2):Update image through SD-Card 

Download SD DiskTool

<a alt="https://github.com/ADVANTECH-Rockchip/linux_tools/tree/rk3288_linux_v2.0" href="https://github.com/ADVANTECH-Rockchip/linux_tools/tree/rk3288_linux_v2.0" title="https://github.com/ADVANTECH-Rockchip/linux_tools/tree/rk3288_linux_v2.0">https://github.com/ADVANTECH-Rockchip/linux_tools/tree/rk3288_linux_v2.0</a> 

Step 1 : Put images to AndroidTool/rockdev/image, Make sure path is correct.


 RTENOTITLE 

Step 2 : Double click rk3328-mkupdate.bat in AndroidTool/rockdev/ .

If there is no error, you will find update.img in AndroidTool/rockdev/ .

Generate SD card

Step 1 : Insert SD card to PC, Double click SD_Firmware_Tool.exe in SDDiskTool .

Step 2 : Choose SD card .

 RTENOTITLE 


Step 3 : Choose update.img .

 RTENOTITLE 

Step 4 : Create SD card .

 RTENOTITLE 


NOTE : 

The capacity of SD card is at least 4GB.

Upgrade image from SD card

Step 1 : Insert SD card to device .

Step 2 : Power up or reboot device, it will boot from SD card to auto upgrade images .

Step 3 : When upgrade is finish, you will get "Doing Actions succeeded,please remove sdcard......" on screen or debug console .

 RTENOTITLE 

Step 4 : Remove SD card, the device will auto reboot .

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

User Guide

  • <a href="Linux%20BSP%20build%20and%20update%20image.">Linux BSP build and update image.</a>
  • <a href="Environment%20set%20up.">Environment_set_up.</a>
  • <a href="How%20to%20do.">How_to_do.</a>
  • <a href="RK3288%20qt5Creater.">RK3288_qt5Creater.</a>
  • <a href="Qt5Creater%20toolchain%20Qt%205.11.3">qt5Creater_toolchain_Qt_5.11.3</a>
  • <a href="How%20to%20flash%20the%20Debian%20image%20into%20RSB-4680">How_to flash_the_Debian_image_into_RSB-4680</a>

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

User Guide

  • <a href="IoTGateway%2FBSP%2FAndroid%2FApplicationDevelopGuide">Application Develop Guide</a>

Android 6.0.1 

  • <a href="IoTGateway%2FBSP%2FAndroid%2FAndroid%20BSP%20User%20Guide%206.0.1%20for%20rk">IoTGateway/BSP/Android/Android BSP User Guide 6.0.1 for rk</a>

Android 8.1.0

  • <a href="IoTGateway%2FBSP%2FAndroid%2FAndroid%20BSP%20User%20Guide%208.1.0%20for%20rk">IoTGateway/BSP/Android/Android BSP User Guide 8.1.0 for rk</a>

通用方法(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 &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

网路Ping測試(Ping Network Testing)

Command:ifconfig

root@linaro-alip:~# ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST> &nbsp;mtu 1500
&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

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

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; 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; 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; 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

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 &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