[RFC] Porting kernel MTD tests to user space

Richard Weinberger richard at nod.at
Mon Apr 25 15:13:21 PDT 2016


David was so kind and did an initial port of Linux's MTD tests to user space.
He took most tests as-is and massaged them to work in user space using libmtd.
In the long run the goal is giving up the kernel tests as much as possible
and improve the tests present in mtd-utils.

Feedback is very welcome!

Thanks,
//richard

[PATCH 1/8] mtd-utils: Fix return status in mtd_torture test function
[PATCH 2/8] mtd-utils: Add multi-block erase function
[PATCH 3/8] mtd-utils: Add flash torture test utility
[PATCH 4/8] mtd-utils: Add flash stress test Utility
[PATCH 5/8] mtd-utils: Add flash speed test Utility
[PATCH 6/8] mtd-utils: Add nand flash bit errors test
[PATCH 7/8] mtd-utils: Add flash read test utility
[PATCH 8/8] mtd-utils: Add nand page test utility

 .gitignore                  |   6 +
 Makefile                    |   7 +-
 include/libmtd.h            |  14 ++
 lib/libmtd.c                |  28 ++-
 misc-utils/flash_readtest.c | 263 ++++++++++++++++++++
 misc-utils/flash_speed.c    | 463 +++++++++++++++++++++++++++++++++++
 misc-utils/flash_stress.c   | 276 +++++++++++++++++++++
 misc-utils/flash_torture.c  | 240 ++++++++++++++++++
 nand-utils/nandbiterrs.c    | 497 +++++++++++++++++++++++++++++++++++++
 nand-utils/nandpagetest.c   | 579 ++++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 2362 insertions(+), 11 deletions(-)



More information about the linux-mtd mailing list