[PATCH 0/8] improve nandtest command

Alexander Aring alex.aring at googlemail.com
Mon Oct 22 03:23:24 EDT 2012


Small Summary:
	- The old nandtest do a ecc statistic per eraseblock, it's better to
	  do this per page. I don't know how this works with subpages.
	
	- Add a progressbar instead of prints of current flash offset.

	- Rename command argument 'passes' to 'iterations', which makes more
	  sense.

	- use builtin function 'get_random_bytes' to generate random buffer.

	- use loff_t instead of off_t. To handle flash >4GB.

	- add another constraints check for writesize.

Alexander Aring (8):
  nandtest: stat ecc per page not per eraseblock
  nandtest: add progressbar instead of offset print
  nandtest: rename command argument p to i
  nandtest: change flash length variable type
  nandtest: use get_random_bytes instead of for loop
  nandtest: clean up code
  nandtest: use loff_t instead off_t
  nandtest: add another constraints check

 commands/nandtest.c | 190 ++++++++++++++++++++++++++++------------------------
 1 file changed, 103 insertions(+), 87 deletions(-)

-- 
1.7.12.4




More information about the barebox mailing list