[PATCH 0/8] improve nandtest command

Sascha Hauer s.hauer at pengutronix.de
Tue Oct 23 02:27:49 EDT 2012


On Mon, Oct 22, 2012 at 09:23:24AM +0200, Alexander Aring wrote:
> 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.

Applied, thanks

Sascha

> 
> 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
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list