Test Guide
Ethernet Port Test
Ethernet Port 1
Configure the computer’s wired network card IP to 192.168.137.99
Use a network cable to connect the development board’s Ethernet port to the computer’s Ethernet port
Check the information of Ethernet Port 1 on the development board by entering the following command:
ifconfig eth0
Configure the IPv4 address for Ethernet Port 1 by entering the following command:
ifconfig eth0 192.168.137.18 netmask 255.255.255.0
Check the information of Ethernet Port 1 on the development board again to confirm whether the IPv4 address is successfully configured. If not, re - execute the operation starting from step 4. Enter the following command:
ifconfig eth0
Enter the following command to verify Ethernet Port 1:
ping -I eth0 192.168.137.99 -c 3
Ethernet Port 2
Configure the computer’s wired network card IP to 192.168.137.99
Use a network cable to connect the development board’s Ethernet port to the computer’s Ethernet port
Check the information of Ethernet Port 2 on the development board by entering the following command:
ifconfig eth1
Configure the IPv4 address for Ethernet Port 2 by entering the following command:
ifconfig eth1 192.168.137.22 netmask 255.255.255.0
Check the information of Ethernet Port 2 on the development board again to confirm whether the IPv4 address is successfully configured. If not, re - execute the operation starting from step 4. Enter the following command:
ifconfig eth1
Enter the following command to verify Ethernet Port 2:
ping -I eth1 192.168.137.99 -c 3
USB Test
Insert the USB flash drive into the USB interface of the base board, and the system will output information similar to the following
Pull the USB flash drive out of the base board, and the system will output information similar to the following
SD Interface Test
Install the TF card into the SD interface, and the development board will output the following information:
Pull out the TF card, and the output information is as follows:
Audio Playback Test
Connect headphones or speakers to the interface corresponding to the silkscreen
Enter the following command for testing:
aplay ./mytest.wav
Recording Test
Insert a headphone with a MIC into the interface corresponding to the silkscreen
Enter the following command to record for 4 seconds:
arecord -d 4 -f S16_LE record.wav
Play the recorded audio file by entering the following command:
aplay record.wav
M.2 Interface Test
Power off the development board, connect the M.2 interface hard disk, and then start the development board
Create a mount point and mount the hard disk by entering the following commands:
mkdir /nvme
mount /dev/nvme0n1p1 /nvme/
Check the mounting status by entering the following command:
df -h
If the mounting is successful, you can obtain output information similar to the following:
/dev/nvme0n1p1 499M 10M 490M 2% /nvme
Unmount the hard disk by entering the following command:
umount /nvme
UART Test
Short - circuit the J14 - 33 (UART3_TX_M1) and J14 - 35 (UART3_RX_M1) pins
Enter the following command for transceiving test:
./serial_test.out /dev/ttyS3 "myzr"
Infrared Test
Prepare an infrared remote control or an infrared remote control app on a mobile phone
Turn on the relevant print switch by entering the following commands:
echo 1 > /sys/module/rockchip_pwm_remotectl/parameters/code_print
echo 1 > /sys/module/rockchip_pwm_remotectl/parameters/dbg_level
Aim the remote control at the infrared interface and press any button
If the development board sees and returns the relevant button information, it means the infrared signal is successfully received.
Display Screen
Connect a screen with an HDMI interface to the HDMI interface on the development board and start the development board