Difference between revisions of "RSB-4680 user guide"

From ESS-WIKI
Jump to: navigation, search
Line 399: Line 399:
 
== '''通用方法(General Method)''' ==
 
== '''通用方法(General Method)''' ==
  
*
+
*'''查看CPU温度(Check CPU Temperature)'''
=== '''查看CPU温度(Check CPU Temperature)''' ===
 
 
 
 
<pre>    root@imx8qxprom5620a1:/# cat /sys/devices/virtual/thermal/thermal_zone0/temp 44600
 
<pre>    root@imx8qxprom5620a1:/# cat /sys/devices/virtual/thermal/thermal_zone0/temp 44600
  
 
     # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° >>> 45°</pre>
 
     # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° >>> 45°</pre>
  
*
+
*'''查看CPU频率(Check CPU Frequency)'''
=== '''查看CPU频率(Check CPU Frequency)''' ===
 
 
 
 
<pre>          cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq  
 
<pre>          cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq  
 
           >> 900000
 
           >> 900000
Line 414: Line 410:
 
           >> 1200000</pre>
 
           >> 1200000</pre>
  
*
+
*'''查看内存容量(Check Memory&nbsp;Capacity)'''
=== '''查看内存容量(Check Memory&nbsp;Capacity)''' ===
 
 
 
 
<pre>root@imx8qxprom5620a1:/# busybox free -m
 
<pre>root@imx8qxprom5620a1:/# busybox free -m
 
             total      used      free    shared    buffers    cached
 
             total      used      free    shared    buffers    cached
Line 424: Line 418:
 
</pre>
 
</pre>
  
*
+
*'''查看存储容量(Check Storage Capacity)'''
=== '''查看存储容量(Check Storage Capacity)''' ===
 
 
 
 
<pre style="margin-left: 40px;">root@imx8qxprom5620a1:/# busybox df -h
 
<pre style="margin-left: 40px;">root@imx8qxprom5620a1:/# busybox df -h
 
Filesystem                Size      Used Available Use% Mounted on
 
Filesystem                Size      Used Available Use% Mounted on
Line 442: Line 434:
 
root@imx8qxprom5620a1:/#</pre>
 
root@imx8qxprom5620a1:/#</pre>
  
*
+
*'''网路Ping測試(Ping Network Testing)'''
=== '''网路Ping測試(Ping Network Testing)''' ===
 
 
 
  
 
'''Command:ifconfig'''
 
'''Command:ifconfig'''
Line 468: Line 458:
 
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 960 &nbsp;bytes 64320 (62.8 KiB)
Line 476: Line 466:
 
</pre>
 
</pre>
  
=== '''Command:Ping&nbsp; ''''''192.168.127.100''' ===
+
=== '''Command:Ping&nbsp;&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 487: Line 477:
 
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@imx8qxprom5620a1:/# systemctl stop ntpdate.service
 
     root@imx8qxprom5620a1:/# date 090816072021 && hwclock -w && date
 
     root@imx8qxprom5620a1:/# date 090816072021 && hwclock -w && date

Revision as of 06:37, 26 October 2021

資源特性(Features)

  • Rockchip ARM Cortex-A17 RK3288 Quad Core, 最高可达1.6GHz
  • 搭载 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)

RTENOTITLE

换一张订购信息图片

规格(Specifications)

接口布局和尺寸(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)

'Linux系统 (Linux OS)'   

Git BSP Tag Version

Product

 BSP/Image

Date

Alpha Release

Beta Release

MP Release

Release Note

Comment

Release Owner

RK3288LBV2100

RSB-4680

 2019-05-27

2019-05-27


 V

 

Release Note

1.for QA test
2.release for PM

Yunjin.Jiang

RK3288DIV21040 RSB-4680 2019-09-05
2019-09-05
V
Release Note
1.for QA test
2.release for PM
Yunjin.Jiang
RK3288DIV21041
RSB-4680
2020-04-21 2020-04-21

V
Release Note 1.for QA test
2.release for PM
Yunjin.Jiang

RK3288DIV21045

RSB-4680 2021-08-10 2021-08-10 V

Release Note 1.for QA test
2.release for PM
Yunjin.Jiang

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

Linux 燒錄方法 (Linux 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.

方法一: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 

RTENOTITLE

Step1: Double click DriverInstall.exe .

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

方法二:Update image through SD-Card 

Download SD DiskTool

https://github.com/ADVANTECH-Rockchip/linux_tools/tree/rk3288_linux_v2.0 

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

通用方法(General Method)

  • 查看CPU温度(Check CPU Temperature)
    root@imx8qxprom5620a1:/# cat /sys/devices/virtual/thermal/thermal_zone0/temp 44600

    # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° >>> 45°
  • 查看CPU频率(Check CPU Frequency)
           cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq 
           >> 900000
           cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq    
           >> 1200000
  • 查看内存容量(Check Memory Capacity)
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
  • 查看存储容量(Check Storage Capacity)
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:/#
  • 网路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

<span style="color:#FF0000;">eth0</span>: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet <span style="color:#FF0000;">192.168.127.100</span>  netmask <span style="color:#FF0000;">255.255.255.0</span>  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 33  bytes 3975 (3.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 32  bytes 2784 (2.7 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 960  bytes 64320 (62.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 960  bytes 64320 (62.8 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@imx8qxprom5620a1:/# systemctl stop ntpdate.service
     root@imx8qxprom5620a1:/# date 090816072021 && hwclock -w && date
             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:/#'''

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

Yocto 3.0