| 895be894 | 24-Oct-2017 |
Shawn Lin <shawn.lin@rock-chips.com> |
rockchip: test: add modular test for eMMC on Rockchip platform
Write assigned data payload into eMMC and read back. Then verify the context by comparing the write_buffer with read_buffer one by one.
rockchip: test: add modular test for eMMC on Rockchip platform
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>
show more ...
|
| 95ce385a | 24-Apr-2017 |
Simon Glass <sjg@chromium.org> |
dm: core: Add uclass_first/next_device_check()
Sometimes it is useful to iterate through all devices in a uclass and skip over those which do not work correctly (e.g fail to probe). Add two new func
dm: core: Add uclass_first/next_device_check()
Sometimes it is useful to iterate through all devices in a uclass and skip over those which do not work correctly (e.g fail to probe). Add two new functions to provide this feature.
The caller must check the return value each time to make sure that the device is valid. But the device pointer is always returned.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 4f414d39 | 07-Jun-2017 |
Simon Glass <sjg@chromium.org> |
test: bus: Add a check that dev is not NULL
We know that uclass_get_device() and device_find_child_by_of_offset() do not return NULL for dev when they succeeds but coverity does not. Add an extra ch
test: bus: Add a check that dev is not NULL
We know that uclass_get_device() and device_find_child_by_of_offset() do not return NULL for dev when they succeeds but coverity does not. Add an extra check to hopefully keep it happy.
Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 163246) Fixes: 0753bc2 (dm: Simple Watchdog uclass)
show more ...
|
| ac206a0f | 19-May-2017 |
Simon Glass <sjg@chromium.org> |
dm: phy: Update tests to use ut_asserteq()
Use ut_asserteq() to test equality since this gives a better error message on failure. Also make a few of the tests more specific.
Signed-off-by: Simon Gl
dm: phy: Update tests to use ut_asserteq()
Use ut_asserteq() to test equality since this gives a better error message on failure. Also make a few of the tests more specific.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 6fb2f579 | 19-May-2017 |
Simon Glass <sjg@chromium.org> |
dm: core: Run tests with both livetree and flat tree
Some tests require either livetree or flat tree. Add flags to allow the tests to specify this. Adjust the test runner to run with livetree (if su
dm: core: Run tests with both livetree and flat tree
Some tests require either livetree or flat tree. Add flags to allow the tests to specify this. Adjust the test runner to run with livetree (if supported) and then flat tree.
Some video tests are quite slow and running on flat tree adds little extra test value, so run these on livetree only.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|