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

From ESS-WIKI
Jump to: navigation, search
Line 126: Line 126:
 
=== '''乙太網路使用方法(Ethernent Testing Method)''' ===
 
=== '''乙太網路使用方法(Ethernent Testing Method)''' ===
  
{| border="1" cellpadding="1" cellspacing="1" style="" width:500px;"<br"=""
+
'''Command : ifconfig '''
|-
+
<pre>root@linaro-alip:~# ifconfig
| '''Command&nbsp;: ifconfig&nbsp;''' <pre>root@linaro-alip:~# ifconfig<br/> docker0: flags=4099<UP,BROADCAST,MULTICAST> &nbsp;mtu 1500<br/> &nbsp; &nbsp; &nbsp; &nbsp; inet 172.17.0.1 &nbsp;netmask 255.255.0.0 &nbsp;broadcast 172.17.255.255<br/> &nbsp; &nbsp; &nbsp; &nbsp; ether 02:42:83:27:77:c0 &nbsp;txqueuelen 0 &nbsp;(Ethernet)<br/> &nbsp; &nbsp; &nbsp; &nbsp; RX packets 0 &nbsp;bytes 0 (0.0 B)<br/> &nbsp; &nbsp; &nbsp; &nbsp; RX errors 0 &nbsp;dropped 0 &nbsp;overruns 0 &nbsp;frame 0<br/> &nbsp; &nbsp; &nbsp; &nbsp; TX packets 0 &nbsp;bytes 0 (0.0 B)<br/> &nbsp; &nbsp; &nbsp; &nbsp; TX errors 0 &nbsp;dropped 0 overruns 0 &nbsp;carrier 0 &nbsp;collisions 0
+
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:83:27:77:c0 &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<br/> &nbsp; &nbsp; &nbsp; &nbsp; inet 192.168.127.101 &nbsp;netmask 255.255.255.0 &nbsp;broadcast 192.168.127.255<br/> &nbsp; &nbsp; &nbsp; &nbsp; inet6 fe80::e405:b000:5963:d697 &nbsp;prefixlen 64 &nbsp;scopeid 0x20<link><br/> &nbsp; &nbsp; &nbsp; &nbsp; ether c6:ff:6c:34:9d:7d &nbsp;txqueuelen 1000 &nbsp;(Ethernet)<br/> &nbsp; &nbsp; &nbsp; &nbsp; RX packets 23 &nbsp;bytes 7566 (7.3 KiB)<br/> &nbsp; &nbsp; &nbsp; &nbsp; RX errors 0 &nbsp;dropped 0 &nbsp;overruns 0 &nbsp;frame 0<br/> &nbsp; &nbsp; &nbsp; &nbsp; TX packets 45 &nbsp;bytes 5391 (5.2 KiB)<br/> &nbsp; &nbsp; &nbsp; &nbsp; TX errors 0 &nbsp;dropped 0 overruns 0 &nbsp;carrier 0 &nbsp;collisions 0<br/> &nbsp; &nbsp; &nbsp; &nbsp; device interrupt 24
+
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> &nbsp;mtu 1500
 +
&nbsp; &nbsp; &nbsp; &nbsp; inet 192.168.127.101 &nbsp;netmask 255.255.255.0 &nbsp;broadcast 192.168.127.255
 +
&nbsp; &nbsp; &nbsp; &nbsp; inet6 fe80::e405:b000:5963:d697 &nbsp;prefixlen 64 &nbsp;scopeid 0x20<link>
 +
&nbsp; &nbsp; &nbsp; &nbsp; ether c6:ff:6c:34:9d:7d &nbsp;txqueuelen 1000 &nbsp;(Ethernet)
 +
&nbsp; &nbsp; &nbsp; &nbsp; RX packets 23 &nbsp;bytes 7566 (7.3 KiB)
 +
&nbsp; &nbsp; &nbsp; &nbsp; RX errors 0 &nbsp;dropped 0 &nbsp;overruns 0 &nbsp;frame 0
 +
&nbsp; &nbsp; &nbsp; &nbsp; TX packets 45 &nbsp;bytes 5391 (5.2 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 24
  
eth1: flags=4099<UP,BROADCAST,MULTICAST> &nbsp;mtu 1500<br/> &nbsp; &nbsp; &nbsp; &nbsp; ether 96:a4:98:8d:52:09 &nbsp;txqueuelen 1000 &nbsp;(Ethernet)<br/> &nbsp; &nbsp; &nbsp; &nbsp; RX packets 0 &nbsp;bytes 0 (0.0 B)<br/> &nbsp; &nbsp; &nbsp; &nbsp; RX errors 0 &nbsp;dropped 0 &nbsp;overruns 0 &nbsp;frame 0<br/> &nbsp; &nbsp; &nbsp; &nbsp; TX packets 0 &nbsp;bytes 0 (0.0 B)<br/> &nbsp; &nbsp; &nbsp; &nbsp; TX errors 0 &nbsp;dropped 0 overruns 0 &nbsp;carrier 0 &nbsp;collisions 0
+
eth1: flags=4099<UP,BROADCAST,MULTICAST> &nbsp;mtu 1500
 +
&nbsp; &nbsp; &nbsp; &nbsp; ether 96:a4:98:8d:52:09 &nbsp;txqueuelen 1000 &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
  
lo: flags=73<UP,LOOPBACK,RUNNING> &nbsp;mtu 65536<br/> &nbsp; &nbsp; &nbsp; &nbsp; inet 127.0.0.1 &nbsp;netmask 255.0.0.0<br/> &nbsp; &nbsp; &nbsp; &nbsp; inet6&nbsp;::1 &nbsp;prefixlen 128 &nbsp;scopeid 0x10<host><br/> &nbsp; &nbsp; &nbsp; &nbsp; loop &nbsp;txqueuelen 1 &nbsp;(Local Loopback)<br/> &nbsp; &nbsp; &nbsp; &nbsp; RX packets 484 &nbsp;bytes 32428 (31.6 KiB)<br/> &nbsp; &nbsp; &nbsp; &nbsp; RX errors 0 &nbsp;dropped 0 &nbsp;overruns 0 &nbsp;frame 0<br/> &nbsp; &nbsp; &nbsp; &nbsp; TX packets 484 &nbsp;bytes 32428 (31.6 KiB)<br/> &nbsp; &nbsp; &nbsp; &nbsp; TX errors 0 &nbsp;dropped 0 overruns 0 &nbsp;carrier 0 &nbsp;collisions 0
+
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 484 &nbsp;bytes 32428 (31.6 KiB)
 +
&nbsp; &nbsp; &nbsp; &nbsp; RX errors 0 &nbsp;dropped 0 &nbsp;overruns 0 &nbsp;frame 0
 +
&nbsp; &nbsp; &nbsp; &nbsp; TX packets 484 &nbsp;bytes 32428 (31.6 KiB)
 +
&nbsp; &nbsp; &nbsp; &nbsp; TX errors 0 &nbsp;dropped 0 overruns 0 &nbsp;carrier 0 &nbsp;collisions 0
  
 
</pre>
 
</pre>
'''Command&nbsp;: ping 192.168.127.101''' <pre>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/> </pre>
+
 
=== &nbsp; '''&nbsp; &nbsp; 查看CPU温度(Check CPU Temperature)''' === <pre>root@linaro-alip:~# cat /sys/devices/virtual/thermal/thermal_zone0/temp &nbsp; 34444<br/> # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° >>> 37°<br/> </pre>
+
'''Command&nbsp;: ping 192.168.127.101'''
=== '''&nbsp; &nbsp; &nbsp;&nbsp;查看CPU频率(Check CPU Frequency)''' === <pre>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/> </pre>
+
<pre>root@linaro-alip:~# ping 192.168.127.101
=== '''&nbsp; &nbsp;&nbsp; 查看内存容量(Check Memory&nbsp;Capacity)''' === <pre>root@linaro-alip:~# busybox free -m<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; total &nbsp; &nbsp; &nbsp; &nbsp;used &nbsp; &nbsp; &nbsp; &nbsp;free &nbsp; &nbsp; &nbsp;shared &nbsp;buff/cache &nbsp; available<br/> Mem: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1961 &nbsp; &nbsp; &nbsp; &nbsp; 269 &nbsp; &nbsp; &nbsp; &nbsp;1454 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;18 &nbsp; &nbsp; &nbsp; &nbsp; 237 &nbsp; &nbsp; &nbsp; &nbsp;1696<br/> Swap: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0<br/> </pre>
+
PING 192.168.127.101 (192.168.127.101) 56(84) bytes of data.
=== '''&nbsp; &nbsp; &nbsp;&nbsp;查看存储容量(Check Storage Capacity)''' === <pre>root@linaro-alip:~# df -h<br/> Filesystem &nbsp; &nbsp; &nbsp; Size &nbsp;Used Avail Use% Mounted on<br/> /dev/root &nbsp; &nbsp; &nbsp; &nbsp;7.9G &nbsp;2.6G &nbsp;4.9G &nbsp;35% /<br/> devtmpfs &nbsp; &nbsp; &nbsp; &nbsp; 973M &nbsp;8.0K &nbsp;973M &nbsp; 1% /dev<br/> tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;981M &nbsp; &nbsp; 0 &nbsp;981M &nbsp; 0% /dev/shm<br/> tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;981M &nbsp;8.9M &nbsp;972M &nbsp; 1% /run<br/> tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5.0M &nbsp;4.0K &nbsp;5.0M &nbsp; 1% /run/lock<br/> tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;981M &nbsp; &nbsp; 0 &nbsp;981M &nbsp; 0% /sys/fs/cgroup<br/> /dev/mmcblk1p10 &nbsp;6.4G &nbsp;3.8M &nbsp;6.4G &nbsp; 1% /userdata<br/> /dev/mmcblk1p7 &nbsp; &nbsp;63M &nbsp; 13M &nbsp; 48M &nbsp;21% /oem<br/> tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;197M &nbsp;8.0K &nbsp;197M &nbsp; 1% /run/user/1000<br/> tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;197M &nbsp; &nbsp; 0 &nbsp;197M &nbsp; 0% /run/user/0<br/> root@linaro-alip:~#<br/> </pre>
+
64 bytes from 192.168.127.101: icmp_seq=1 ttl=64 time=0.221 ms
 +
64 bytes from 192.168.127.101: icmp_seq=2 ttl=64 time=0.135 ms
 +
64 bytes from 192.168.127.101: icmp_seq=3 ttl=64 time=0.134 ms
 +
64 bytes from 192.168.127.101: icmp_seq=4 ttl=64 time=0.137 ms
 +
64 bytes from 192.168.127.101: icmp_seq=5 ttl=64 time=0.137 ms
 +
^C
 +
--- 192.168.127.101 ping statistics ---
 +
5 packets transmitted, 5 received, 0% packet loss, time 5ms
 +
rtt min/avg/max/mdev = 0.134/0.152/0.221/0.037 ms
 +
root@linaro-alip:~#
 +
</pre>
 +
 
 +
=== &nbsp; '''&nbsp; &nbsp; 查看CPU温度(Check CPU Temperature)''' ===
 +
<pre>root@linaro-alip:~# cat /sys/devices/virtual/thermal/thermal_zone0/temp   34444
 +
# 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° >>> 37°
 +
</pre>
 +
 
 +
=== '''&nbsp; &nbsp; &nbsp;&nbsp;查看CPU频率(Check CPU Frequency)''' ===
 +
<pre>root@linaro-alip:~# cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
 +
408000
 +
root@linaro-alip:~# cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
 +
1416000
 +
</pre>
 +
 
 +
=== '''&nbsp; &nbsp;&nbsp; 查看内存容量(Check Memory&nbsp;Capacity)''' ===
 +
<pre>root@linaro-alip:~# busybox free -m
 +
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; total &nbsp; &nbsp; &nbsp; &nbsp;used &nbsp; &nbsp; &nbsp; &nbsp;free &nbsp; &nbsp; &nbsp;shared &nbsp;buff/cache &nbsp; available
 +
Mem: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1961 &nbsp; &nbsp; &nbsp; &nbsp; 269 &nbsp; &nbsp; &nbsp; &nbsp;1454 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;18 &nbsp; &nbsp; &nbsp; &nbsp; 237 &nbsp; &nbsp; &nbsp; &nbsp;1696
 +
Swap: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0
 +
</pre>
 +
 
 +
=== '''&nbsp; &nbsp; &nbsp;&nbsp;查看存储容量(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; &nbsp;7.9G &nbsp;2.6G &nbsp;4.9G &nbsp;35% /
 +
devtmpfs &nbsp; &nbsp; &nbsp; &nbsp; 973M &nbsp;8.0K &nbsp;973M &nbsp; 1% /dev
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;981M &nbsp; &nbsp; 0 &nbsp;981M &nbsp; 0% /dev/shm
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;981M &nbsp;8.9M &nbsp;972M &nbsp; 1% /run
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5.0M &nbsp;4.0K &nbsp;5.0M &nbsp; 1% /run/lock
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;981M &nbsp; &nbsp; 0 &nbsp;981M &nbsp; 0% /sys/fs/cgroup
 +
/dev/mmcblk1p10 &nbsp;6.4G &nbsp;3.8M &nbsp;6.4G &nbsp; 1% /userdata
 +
/dev/mmcblk1p7 &nbsp; &nbsp;63M &nbsp; 13M &nbsp; 48M &nbsp;21% /oem
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;197M &nbsp;8.0K &nbsp;197M &nbsp; 1% /run/user/1000
 +
tmpfs &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;197M &nbsp; &nbsp; 0 &nbsp;197M &nbsp; 0% /run/user/0
 +
root@linaro-alip:~#
 +
</pre>
  
 
=== '''設置RTC (RTC Setting)&nbsp;''' ===
 
=== '''設置RTC (RTC Setting)&nbsp;''' ===
  
 
&nbsp;
 
&nbsp;
&nbsp; <syntaxhighlight lang="1">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</syntaxhighlight>
+
<syntaxhighlight lang="1">root@linaro-alip:~# date
 +
Wed May 11 01:12:06 UTC 2022
 +
root@linaro-alip:~# date -s "2022-5-11 09:12:00"
 +
Wed May 11 09:12:00 UTC 2022
 +
root@linaro-alip:~# date
 +
Wed May 11 09:12:06 UTC 2022
 +
root@linaro-alip:~# hwclock -w
 +
root@linaro-alip:~# hwclock
 +
2022-05-11 09:12:17.266424+00:00</syntaxhighlight>
  
 
=== '''WiFi使用方法(WIFI Testing Method)''' ===
 
=== '''WiFi使用方法(WIFI Testing Method)''' ===

Revision as of 03:14, 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
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:83:27:77:c0  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.101  netmask 255.255.255.0  broadcast 192.168.127.255
        inet6 fe80::e405:b000:5963:d697  prefixlen 64  scopeid 0x20<link>
        ether c6:ff:6c:34:9d:7d  txqueuelen 1000  (Ethernet)
        RX packets 23  bytes 7566 (7.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 45  bytes 5391 (5.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 24

eth1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 96:a4:98:8d:52:09  txqueuelen 1000  (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

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 484  bytes 32428 (31.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 484  bytes 32428 (31.6 KiB)
        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
PING 192.168.127.101 (192.168.127.101) 56(84) bytes of data.
64 bytes from 192.168.127.101: icmp_seq=1 ttl=64 time=0.221 ms
64 bytes from 192.168.127.101: icmp_seq=2 ttl=64 time=0.135 ms
64 bytes from 192.168.127.101: icmp_seq=3 ttl=64 time=0.134 ms
64 bytes from 192.168.127.101: icmp_seq=4 ttl=64 time=0.137 ms
64 bytes from 192.168.127.101: icmp_seq=5 ttl=64 time=0.137 ms
^C
--- 192.168.127.101 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 5ms
rtt min/avg/max/mdev = 0.134/0.152/0.221/0.037 ms
root@linaro-alip:~#

      查看CPU温度(Check CPU Temperature)

root@linaro-alip:~# cat /sys/devices/virtual/thermal/thermal_zone0/temp   34444
# 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° >>> 37°

      查看CPU频率(Check CPU Frequency)

root@linaro-alip:~# cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
408000
root@linaro-alip:~# cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
1416000

     查看内存容量(Check Memory Capacity)

root@linaro-alip:~# busybox free -m
              total        used        free      shared  buff/cache   available
Mem:           1961         269        1454          18         237        1696
Swap:             0           0           0

      查看存储容量(Check Storage Capacity)

root@linaro-alip:~# df -h
Filesystem       Size  Used Avail Use% Mounted on
/dev/root        7.9G  2.6G  4.9G  35% /
devtmpfs         973M  8.0K  973M   1% /dev
tmpfs            981M     0  981M   0% /dev/shm
tmpfs            981M  8.9M  972M   1% /run
tmpfs            5.0M  4.0K  5.0M   1% /run/lock
tmpfs            981M     0  981M   0% /sys/fs/cgroup
/dev/mmcblk1p10  6.4G  3.8M  6.4G   1% /userdata
/dev/mmcblk1p7    63M   13M   48M  21% /oem
tmpfs            197M  8.0K  197M   1% /run/user/1000
tmpfs            197M     0  197M   0% /run/user/0
root@linaro-alip:~#

設置RTC (RTC Setting) 

 

root@linaro-alip:~# date
Wed May 11 01:12:06 UTC 2022
root@linaro-alip:~# date -s "2022-5-11 09:12:00"
Wed May 11 09:12:00 UTC 2022
root@linaro-alip:~# date
Wed May 11 09:12:06 UTC 2022
root@linaro-alip:~# hwclock -w
root@linaro-alip:~# hwclock
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

 

|- |   |}