Difference between revisions of "RK ALL RF Test"
Yunjin.jiang (talk | contribs) |
Yunjin.jiang (talk | contribs) |
||
Line 59: | Line 59: | ||
=== Firmware Version === | === Firmware Version === | ||
+ | ==== Quectel EC20/EC25 ==== | ||
How to get Firmware Version for EC20.<br> | How to get Firmware Version for EC20.<br> | ||
Take <code>ttyUSB6</code> as AT port, change it according your DUT. | Take <code>ttyUSB6</code> as AT port, change it according your DUT. | ||
Line 73: | Line 74: | ||
<code>EC20CEFRGR06A04M4G</code> is firmware verion. | <code>EC20CEFRGR06A04M4G</code> is firmware verion. | ||
+ | |||
+ | ==== Fibocom NL668 ==== | ||
+ | TBD | ||
== WLAN == | == WLAN == |
Revision as of 06:16, 10 April 2024
Contents
Applications
The following applications have been installed:
wpa_supplicant
chromium
minicom
iperf3
Performance Mode
Configurate CPU GPU NPU and DDR
Configurate CPU
GPU
NPU
and DDR
to performance mode at the same time:
# echo performance | tee $(find /sys/ -name *governor) #
Configurate CPU only
# echo performance | tee $(find /sys/devices/system/cpu/cpufreq/policy* -name *governor) #
U-Disk
U-Disk
will be mounted at /run/media/sda1
automatically./run/media/sda1
is most common condition, it may be /run/media/sdb1
/run/media/sdc1
.
Plug out U-Disk
, see which one is disappeared, and then to plug in U-Disk
again.
LTE
How to Configure 4G/5G module :
https://ess-wiki.advantech.com.tw/view/RK_Platform_4G
AT Port
How to find AT Port:
Method 1:
# mmcli -m 0 | grep ttyUSB | ports: cdc-wdm0 (qmi), ttyUSB4 (qcdm), ttyUSB5 (gps), | ttyUSB6 (at), ttyUSB7 (at), wwan0 (net)
ttyUSB6
and ttyUSB7
are for the ports for AT command.
Method 2:
# dmesg | grep ttyUSB [ 5.574612] usb 3-1: cp210x converter now attached to ttyUSB0 [ 5.586590] usb 3-1: cp210x converter now attached to ttyUSB1 [ 5.598584] usb 3-1: cp210x converter now attached to ttyUSB2 [ 5.610583] usb 3-1: cp210x converter now attached to ttyUSB3 [ 18.535820] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB4 [ 18.542643] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB5 [ 18.548504] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB6 [ 18.553115] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB7
ttyUSB4
to ttyUSB7
are ports for GSM modem.
And ttyUSB6
(the second port counted backwords) is the port for AT command.
Firmware Version
Quectel EC20/EC25
How to get Firmware Version for EC20.
Take ttyUSB6
as AT port, change it according your DUT.
# stty -F /dev/ttyUSB6 9600 # cat /dev/ttyUSB6 & # echo -e "ATI\r\n" > /dev/ttyUSB6 Quectel EC20F Revision: EC20CEFRGR06A04M4G OK
EC20CEFRGR06A04M4G
is firmware verion.
Fibocom NL668
TBD
WLAN
How to Configure WLAN module :
https://ess-wiki.advantech.com.tw/view/RK_Platform_WIFI
wpa_supplicant
Configurate wlan through wpa_supplicant
.
Advantech for guest
is AP Host and 12345678
is its password. Change them according your condition.
# systemctl stop NetworkManager # ifconfig wlan0 up # iwlist wlan0 scan | grep ESSID # wpa_passphrase "Advantech for guest" 12345678 > /tmp/wpa.conf # wpa_supplicant -d -B -i wlan0 -c /tmp/wpa.conf -Dnl80211 # udhcpc -i wlan0
Firmware Version
TBD
SDIO Infomation
The sysfs interface provides detailed information on each mmc device:
# cat /sys/kernel/debug/mmc3/ios clock: 50000000 Hz vdd: 21 (3.3 ~ 3.4 V) bus mode: 2 (push-pull) chip select: 0 (don't care) power mode: 2 (on) bus width: 2 (4 bits) timing spec: 2 (sd high-speed) signal voltage: 0 (3.30 V) driver type: 0 (driver type B)