Difference between revisions of "RK ALL RF Test"
Yunjin.jiang (talk | contribs) |
Yunjin.jiang (talk | contribs) |
||
Line 75: | Line 75: | ||
== WLAN == | == WLAN == | ||
+ | How to Configure WLAN module : <br> | ||
+ | https://ess-wiki.advantech.com.tw/view/RK_Platform_WIFI<br> | ||
+ | |||
+ | == wpa_supplicant == | ||
+ | Configurate wlan through <code>wpa_supplicant</code>.<br> | ||
+ | <code>Advantech for guest</code> is AP Host and <code>12345678</code> is its password. Change them according your condition. | ||
+ | <pre style="background:#eeeeee;border:2px solid #cccccc;padding:5px 10px;"> | ||
+ | # 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 | ||
+ | </pre> | ||
+ | |||
+ | == Firmware Version == | ||
+ | TBD |
Revision as of 05:42, 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
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.
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