Difference between revisions of "Android BSP User Guide for rk3399 series"

From ESS-WIKI
Jump to: navigation, search
(Created page with " <br/> == '''資源特性(Features)''' == *Rockchip RK3399 ARM Dual Cortex-A72 and Quad Cortex-A53 1.8 GHz <br/> *Onboard 2GB LPDDR4 memory and 16GB eMMC <br/> *Dua...")
 
Line 1: Line 1:
  
<br/> == '''資源特性(Features)''' ==
+
== '''資源特性(Features)''' ==
  
 
*Rockchip RK3399 ARM Dual Cortex-A72 and Quad Cortex-A53 1.8 GHz&nbsp;<br/> *Onboard 2GB LPDDR4 memory and 16GB eMMC&nbsp;<br/> *Dual HDMI(4K 60fps + 1080P), 1 x eDP, 1 x dual channel LVDS, 1 x MIPI CSI&nbsp;<br/> *Supports 4K H.264/H.265 video decoder&nbsp;<br/> *6 x serial, 1 x USB3.0, 4 x USB2.0 ,1 x USB OTG, 2 x GbE, 1 x SPI, 1 x I2C, 5 x GPIOs&nbsp;<br/> *M.2 for WIFI/BT support, mini-PCIe for 3G/4G support&nbsp;<br/> *Supports Debian9/10 and Android7.1/10.0&nbsp;  
 
*Rockchip RK3399 ARM Dual Cortex-A72 and Quad Cortex-A53 1.8 GHz&nbsp;<br/> *Onboard 2GB LPDDR4 memory and 16GB eMMC&nbsp;<br/> *Dual HDMI(4K 60fps + 1080P), 1 x eDP, 1 x dual channel LVDS, 1 x MIPI CSI&nbsp;<br/> *Supports 4K H.264/H.265 video decoder&nbsp;<br/> *6 x serial, 1 x USB3.0, 4 x USB2.0 ,1 x USB OTG, 2 x GbE, 1 x SPI, 1 x I2C, 5 x GPIOs&nbsp;<br/> *M.2 for WIFI/BT support, mini-PCIe for 3G/4G support&nbsp;<br/> *Supports Debian9/10 and Android7.1/10.0&nbsp;  

Revision as of 03:12, 5 August 2022

資源特性(Features)

  • Rockchip RK3399 ARM Dual Cortex-A72 and Quad Cortex-A53 1.8 GHz 
    *Onboard 2GB LPDDR4 memory and 16GB eMMC 
    *Dual HDMI(4K 60fps + 1080P), 1 x eDP, 1 x dual channel LVDS, 1 x MIPI CSI 
    *Supports 4K H.264/H.265 video decoder 
    *6 x serial, 1 x USB3.0, 4 x USB2.0 ,1 x USB OTG, 2 x GbE, 1 x SPI, 1 x I2C, 5 x GPIOs 
    *M.2 for WIFI/BT support, mini-PCIe for 3G/4G support 
    *Supports Debian9/10 and Android7.1/10.0 

訂購資訊(Ordering Information)

RTENOTITLE

Packing List

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

接口布局圖 Board Dimension Layout 

RTENOTITLE

 

RTENOTITLE

 

RTENOTITLE RTENOTITLE

 Connector List

接口引脚定義 (Pin definitions)

机械尺寸  (Mechanical Characteristics)

RTENOTITLE

 

快速入门 (Quick Start)

系统下载 (OS Download)

Android 7 :

Baidu link for Debian9 Password:dn35

 
Product
 
Date
 
Release
 
Release Note
 
Binary OS Image Name
 
RSB-4710
 
 
 
[]
 
RSB4710A2android.img.tgz

Android 10:

Baidu link for Debian10 Password:nvpp
Dropbox link for Debian10

 
Product
 
Date
 
Release
 
Release Note
 
Binary OS Image Name
 
RSB-4710
 
2021-04-14
 
Beta
 
Release Note
 
RSB4710A2AIM20DIV251012_2021-04-14.img.tgz

 

 

Android 燒錄方法 (Android Flash eMMC Method) 

There are three ways to update images:

1._Using_AndroidToool.

There is no limitation by this way.

2._Using_storage(such sd_or_USB_disk)with_update.zip_in_it.

There are some limitations:

(1)The device must be able to boot up to Android system.

(2)Only update images from the same os,  eg : 

        Android6.0 upgrade to Android6.0 or Android7.1 upgrade to Android7.1.

(3)Using update.zip to upgrade. (see more detail in "Create OTA zip" on how to create update.zip)

3._Using_bootup_sd_disk made_by SDDiskTool.

(1)Only update images from the same os,  eg : 

         Android6.0 upgrade to Android6.0 or Android7.1 upgrade to Android7.1.

(2)Using update.img to upgrade.

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

User Guide

RISC series(RSB-3710/RSB-4710/ROM-5780)

DS-100 

通用方法(General Method)

乙太網路使用方法(Ethernent Testing Method)

Command : ifconfig 
root@linaro-alip:~# ifconfig<br/> docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500<br/>         inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255<br/>         ether 02:42:83:27:77:c0  txqueuelen 0  (Ethernet)<br/>         RX packets 0  bytes 0 (0.0 B)<br/>         RX errors 0  dropped 0  overruns 0  frame 0<br/>         TX packets 0  bytes 0 (0.0 B)<br/>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500<br/>         inet 192.168.127.101  netmask 255.255.255.0  broadcast 192.168.127.255<br/>         inet6 fe80::e405:b000:5963:d697  prefixlen 64  scopeid 0x20<link><br/>         ether c6:ff:6c:34:9d:7d  txqueuelen 1000  (Ethernet)<br/>         RX packets 23  bytes 7566 (7.3 KiB)<br/>         RX errors 0  dropped 0  overruns 0  frame 0<br/>         TX packets 45  bytes 5391 (5.2 KiB)<br/>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0<br/>         device interrupt 24

eth1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500<br/>         ether 96:a4:98:8d:52:09  txqueuelen 1000  (Ethernet)<br/>         RX packets 0  bytes 0 (0.0 B)<br/>         RX errors 0  dropped 0  overruns 0  frame 0<br/>         TX packets 0  bytes 0 (0.0 B)<br/>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

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

Command : ping 192.168.127.101
root@linaro-alip:~# ping 192.168.127.101<br/> PING 192.168.127.101 (192.168.127.101) 56(84) bytes of data.<br/> 64 bytes from 192.168.127.101: icmp_seq=1 ttl=64 time=0.221 ms<br/> 64 bytes from 192.168.127.101: icmp_seq=2 ttl=64 time=0.135 ms<br/> 64 bytes from 192.168.127.101: icmp_seq=3 ttl=64 time=0.134 ms<br/> 64 bytes from 192.168.127.101: icmp_seq=4 ttl=64 time=0.137 ms<br/> 64 bytes from 192.168.127.101: icmp_seq=5 ttl=64 time=0.137 ms<br/> ^C<br/> --- 192.168.127.101 ping statistics ---<br/> 5 packets transmitted, 5 received, 0% packet loss, time 5ms<br/> rtt min/avg/max/mdev = 0.134/0.152/0.221/0.037 ms<br/> root@linaro-alip:~#<br/> 
===       查看CPU温度(Check CPU Temperature) ===
root@linaro-alip:~# cat /sys/devices/virtual/thermal/thermal_zone0/temp   34444<br/> # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° >>> 37°<br/> 
===       查看CPU频率(Check CPU Frequency) ===
root@linaro-alip:~# cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq<br/> 408000<br/> root@linaro-alip:~# cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq<br/> 1416000<br/> 
===      查看内存容量(Check Memory Capacity) ===
root@linaro-alip:~# busybox free -m<br/>               total        used        free      shared  buff/cache   available<br/> Mem:           1961         269        1454          18         237        1696<br/> Swap:             0           0           0<br/> 
===       查看存储容量(Check Storage Capacity) ===
root@linaro-alip:~# df -h<br/> Filesystem       Size  Used Avail Use% Mounted on<br/> /dev/root        7.9G  2.6G  4.9G  35% /<br/> devtmpfs         973M  8.0K  973M   1% /dev<br/> tmpfs            981M     0  981M   0% /dev/shm<br/> tmpfs            981M  8.9M  972M   1% /run<br/> tmpfs            5.0M  4.0K  5.0M   1% /run/lock<br/> tmpfs            981M     0  981M   0% /sys/fs/cgroup<br/> /dev/mmcblk1p10  6.4G  3.8M  6.4G   1% /userdata<br/> /dev/mmcblk1p7    63M   13M   48M  21% /oem<br/> tmpfs            197M  8.0K  197M   1% /run/user/1000<br/> tmpfs            197M     0  197M   0% /run/user/0<br/> root@linaro-alip:~#<br/> 

設置RTC (RTC Setting) 

 

 
root@linaro-alip:~# date<br/> Wed May 11 01:12:06 UTC 2022<br/> root@linaro-alip:~# date -s "2022-5-11 09:12:00"<br/> Wed May 11 09:12:00 UTC 2022<br/> root@linaro-alip:~# date<br/> Wed May 11 09:12:06 UTC 2022<br/> root@linaro-alip:~# hwclock -w<br/> root@linaro-alip:~# hwclock<br/> 2022-05-11 09:12:17.266424+00:00

WiFi使用方法(WIFI Testing Method)

1.Click Settings

2.Turn on Wi-Fi

3.Choose ESSID (for example, Advantech for guest)

4.Input the password

5.Wi-Fi connected

4G使用方法(4G Testing Method)

蓝牙使用方法(BlueTooth Operating Method)

音訊使用方法(BlueTooth Operating Method)

I2C 測試( I2C Test method) 

看門狗測試 (Watch Dog Test method) 

攝像頭測試(Camera Test method) 

遠程訪問及文件傳輸(Remote Access and File Transimmion)

How to build Android 7 BSP (Android 7 BSP 編譯)

http://ess-wiki.advantech.com.tw/view/Android_BSP_User_Guide_for_rk3399_series_7.1.2

How to build Android 10 BSP (Android 10 BSP 編譯)

http://ess-wiki.advantech.com.tw/view/Android_BSP_User_Guide_for_rk3399_series_10.0