Difference between revisions of "RK Platform Fast Test"
From ESS-WIKI
Yunjin.jiang (talk | contribs) |
Yunjin.jiang (talk | contribs) |
||
Line 60: | Line 60: | ||
== GPIO == | == GPIO == | ||
+ | Test script need two GPIOs, set one GPIO to output and the other to input. | ||
+ | |||
+ | Then set the output to 1, read whether the input is 1. | ||
+ | |||
+ | Then set the output to 0, read whether the input is 0. | ||
=== Preparation === | === Preparation === |
Revision as of 07:56, 26 May 2023
Preface
When sending samples to customer or test team (Lab、DQA etc) or releasing images, we need test all functions.
All functions are classified to three types:
- Full-automatic Test
- Semi-automatic Test
- Manual Test
Full-Automatic Test
Run test script and get the result automatically.
Support to test the following items:
- AIM Linux Applications
- AIM Linux Services
- AIM Timers
- Thermal
- NPU
- GPU
- VPU
- eMMC
- RTC
Preparation
- Insert network cable to DUT
- Open browser on DUT, then input "172.21.128.237"
- Login your account to connect to internet
Testing
Run the following command on DUT Terminal、ADB or Debug console:
/tools/test/adv/auto_test/auto_test.sh
Result
1. Failure
[ Failed ]: docker run hello-world; Please check net connection, or docker
2. Success
[ OK ]: docker run hello-world
Semi-Automatic Test
GPIO
Test script need two GPIOs, set one GPIO to output and the other to input.
Then set the output to 1, read whether the input is 1.
Then set the output to 0, read whether the input is 0.
Preparation
Testing
For example:
To test ROM-5880's GPIO0 and GPIO1
Run the following command on DUT Terminal、ADB or Debug console:
/tools/test/adv/gpio/gpio_test.sh 88 89
Result
UART
CAN
I2C PIN Header
SPI PIN Header
Manual Test
SD Card
SATA
PCIE
USB
watchdog
lan
wlan
bluetooth
4G/5G
Audio
Camera
Display
SW reboot
Reboot Button
Power Button