The 'rktest all v2/3' do not really pass arg to sub cmd, always set argc
for 'rktest all *' cmd to 1 for sub commands.
Change-Id: I2d69ad25aaca074f52bfd2e69be4c33bc41186df
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Not test display and misc for upstream U-Boot, replace local APIs with
upstream APIs.
Use CONFIG_RKIMG_BOOTLOADER to identify the rockchip local U-Boot.
Change-Id: I65b69eca8262d8aa0cb621c90d4ff1f2756368ba
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
The LAVA system need message from log to show the test result.
"<LAVA_SIGNAL_*>" for start, end, test case result key;
"<LAVA_TEST_RUNNER>: exiting" for test complete key
Change-Id: I13522bf82da69f105f439853fa5c4b32c9f3d1ff
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
=> rktest
Command: rktest [module] [args...]
- module: timer|key|emmc|rknand|regulator|eth|ir|brom|vendor
- args: depends on module, try 'rktest [module]' for test or more help
- Enabled modules:
- timer: test timer and interrupt
- brom: enter bootrom download mode
- key: test board keys
- emmc: test emmc read/write speed
- rknand: test rknand read/write speed
- regulator: test regulator volatge set and show regulator status
- vendor: test vendor storage partition read/write
Change-Id: I1f58dd65f7ffb229970cb86cb2f568cbca933336
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Enter bootrom download mode by command: rktest brom_dnl
Change-Id: I6120a885e5514a57c81fd469ce27a2472009c4fd
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
1. test current regulator state matches fdt config or not;
2. test accuracy and correctness of voltage adjustment;
3. the test command: "rktest regulator".
Change-Id: I184ce36d4da7648a3c3052edbafb37f37c3a29be
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Write assigned data payload into eMMC and read back. Then
verify the context by comparing the write_buffer with read_buffer
one by one.
=> rktest emmc 20000
***********************************************************
Rockchip Board Module [emmc] Test start.
***********************************************************
MMC write: dev # 0, block # 4096, count 20000 ... 20000 blocks written: OK
eMMC write: size 9MB, used 313ms, speed 31MB/s
MMC read: dev # 0, block # 4096, count 20000 ... 20000 blocks read: OK
eMMC read: size 9MB, used 234ms, speed 42MB/s
-----------------------------------------------------------
Rockchip Board Module [emmc] Test end <PASS>.. Total: 4.389s
-----------------------------------------------------------
Change-Id: Ia8e6e559a41e8b52169326d3cd408ac7d5a02e97
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>