]> www.infradead.org Git - mtd-utils.git/commit
nandtest: Introduce multiple reads & check iterations
authorEzequiel GarcĂ­a <ezequiel@vanguardiasur.com.ar>
Tue, 6 May 2014 15:07:49 +0000 (12:07 -0300)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 30 May 2014 23:35:07 +0000 (16:35 -0700)
commitb7455d847ab4f9eeeb6a729efc306bfda7bddc99
tree005c6707814786b76a389b6e846ea796a8fcc7e7
parent7d2839b8dede3ae368780364b4a07473d2303219
nandtest: Introduce multiple reads & check iterations

The current nandtest performs a simple test which consists of:

  1. erase block
  2. write data
  3. read and verify

In order to improve the nandtest strength, this commit adds a new parameter
to increase the number of "read and verify" iterations. In other words,
the test now consists of:

  1. erase block
  2. write data
  3. read and verify (N times)

This seem to apply more pressure on a NAND driver's ECC engine and has been
used to discover stability problems with an old OMAP2.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Acked-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
nandtest.c