[U-Boot] [PATCH] usb: Add new command to regress USB devices
Wolfgang Denk
wd at denx.de
Sun Mar 13 22:04:40 CET 2016
Dear Simon,
In message <CAPnjgZ2dAUaRODqssQhpv=2QWSSkQwLtXad0__EnbkuinbeZMg at mail.gmail.com> you wrote:
>
> We do have an 'sf test' command. I think it is useful, particularly if
> it measures speed as well.
I tend to agree with Hans - this should normally be implemented in a
script, or, if reallyneeed (but I can't ssee why this would be
necessary) in board specific code.
If added as a generic feature, then there should be options to select
which range of the device to use for testing. It may be interesting
to test specific areas (like at the assumed end of the device), or at
least to be able to respect existing partitions etc.
But still - I can't see why this would be needed - plain reading and
writing to the device or even to a file in a file system should
perform the same task.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"The whole problem with the world is that fools and fanatics are
always so certain of themselves, but wiser people so full of doubts."
- Bertrand Russell
More information about the U-Boot
mailing list