Test Guide

Ethernet Port Test

Ethernet Port 1

Interface Silkscreen: U9
System Interface: eth0
Test Description: The test is performed by having the development board send ICMP packets to the PC.
Test Operations
  1. Configure the computer’s wired network card IP to 192.168.137.99

  2. Use a network cable to connect the development board’s Ethernet port to the computer’s Ethernet port

  3. Check the information of Ethernet Port 1 on the development board by entering the following command:

ifconfig eth0
  1. Configure the IPv4 address for Ethernet Port 1 by entering the following command:

ifconfig eth0 192.168.137.18 netmask 255.255.255.0
  1. 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
  1. Enter the following command to verify Ethernet Port 1:

ping -I eth0 192.168.137.99 -c 3
“0% packet loss” indicates that the test is passed

Ethernet Port 2

Interface Silkscreen: U5
System Interface: eth1
Test Description: The test is performed by having the development board send ICMP packets to the PC.
Test Operations
  1. Configure the computer’s wired network card IP to 192.168.137.99

  2. Use a network cable to connect the development board’s Ethernet port to the computer’s Ethernet port

  3. Check the information of Ethernet Port 2 on the development board by entering the following command:

ifconfig eth1
  1. Configure the IPv4 address for Ethernet Port 2 by entering the following command:

ifconfig eth1 192.168.137.22 netmask 255.255.255.0
  1. 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
  1. Enter the following command to verify Ethernet Port 2:

ping -I eth1 192.168.137.99 -c 3
“0% packet loss” indicates that the test is passed

USB Test

Interface Silkscreen: J1
Test Description: The test is performed by plugging and unplugging a USB storage device (USB flash drive).
Test Operations
  1. Insert the USB flash drive into the USB interface of the base board, and the system will output information similar to the following

  2. Pull the USB flash drive out of the base board, and the system will output information similar to the following

SD Interface Test

Interface Silkscreen: J12
Test Description: The test is performed by plugging and unplugging a TF card.
Test Operations
  1. Install the TF card into the SD interface, and the development board will output the following information:

  2. Pull out the TF card, and the output information is as follows:

Audio Playback Test

Interface Silkscreen: P1
Test Description: Play an audio file to verify the audio playback function of the development board.
Test Operations
  1. Connect headphones or speakers to the interface corresponding to the silkscreen

  2. Enter the following command for testing:

aplay ./mytest.wav
Sound output from the headphones or speakers indicates that the audio playback test is passed

Recording Test

Interface Silkscreen: P1
Test Description: Record and play the recorded file for testing.
Test Operations
  1. Insert a headphone with a MIC into the interface corresponding to the silkscreen

  2. Enter the following command to record for 4 seconds:

arecord -d 4 -f S16_LE record.wav
  1. Play the recorded audio file by entering the following command:

aplay record.wav
The recorded sound output from the headphones indicates that the recording test is passed

M.2 Interface Test

Interface Silkscreen: J7
Test Description: Check the mounting status after mounting the hard disk.
Test Operations
  1. Power off the development board, connect the M.2 interface hard disk, and then start the development board

  2. Create a mount point and mount the hard disk by entering the following commands:

mkdir /nvme
mount /dev/nvme0n1p1 /nvme/
  1. Check the mounting status by entering the following command:

df -h
  1. If the mounting is successful, you can obtain output information similar to the following:

/dev/nvme0n1p1  499M  10M  490M  2%  /nvme
  1. Unmount the hard disk by entering the following command:

umount /nvme

UART Test

Interface Silkscreen: J14
Test Description: The test is performed by means of UART self - sending and self - receiving.
Test Operations
  1. Short - circuit the J14 - 33 (UART3_TX_M1) and J14 - 35 (UART3_RX_M1) pins

  2. Enter the following command for transceiving test:

./serial_test.out /dev/ttyS3 "myzr"
After executing the test command, the output of information similar to the above indicates that the UART test is passed. Press ‘Ctrl + C’ to exit.

Infrared Test

Interface Silkscreen: IR1
Test Description: Receive infrared information and print out the corresponding data.
Test Operations
  1. Prepare an infrared remote control or an infrared remote control app on a mobile phone

  2. 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
  1. Aim the remote control at the infrared interface and press any button

  2. If the development board sees and returns the relevant button information, it means the infrared signal is successfully received.

Display Screen

Interface Silkscreen: J2
Test Description: Check whether the display screen of the development board displays normally when it is powered on and started.
Test Operations
  1. Connect a screen with an HDMI interface to the HDMI interface on the development board and start the development board

Normal display of the screen indicates that the test is passed