diff options
author | Nathan Laredo <nil@google.com> | 2012-12-24 22:07:36 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2012-12-24 22:07:36 +0000 |
commit | 7876f8474e71578341ef077dbb2c188e9ddcb303 (patch) | |
tree | e58203fe62b4e783fedcba3a3b2a119b716a0f8b /flashrom.8 | |
parent | 19e30aa6d73651899d6c3855df70f1e2c8171965 (diff) | |
download | flashrom-7876f8474e71578341ef077dbb2c188e9ddcb303.zip flashrom-7876f8474e71578341ef077dbb2c188e9ddcb303.tar.gz |
Add a "device" parameter for Dediprog
This patch adds a "device" parameter for Dediprog which enables use of
multiple dediprogs connected to a single machine. Very handy for test racks.
Example usage:
flashrom -p dediprog:device=0
flashrom -p dediprog:device=1
etc...
The patch was originally written by Nathan Laredo.
Thanks to David Hendricks for submitting it upstream.
Additional error handling, man page etc. by Stefan Tauner.
Corresponding to flashrom svn r1628.
Signed-off-by: Nathan Laredo <nil@google.com>
Signed-off-by: David Hendricks <dhendrix@google.com>
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'flashrom.8')
-rw-r--r-- | flashrom.8 | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,4 +1,4 @@ -.TH FLASHROM 8 "Feb 15, 2012" +.TH FLASHROM 8 "Dec, 2012" .SH NAME flashrom \- detect, read, write, verify and erase flash chips .SH SYNOPSIS @@ -651,6 +651,15 @@ where can be .BR 0V ", " 1.8V ", " 2.5V ", " 3.5V or the equivalent in mV. +.sp +An optional +.B device +parameter specifies which of multiple connected Dediprog devices should be used. +Please be aware that the order depends on libusb's usb_get_busses() function and that the numbering starts +at 0. +Usage example to select the second device: +.sp +.B " flashrom \-p dediprog:device=1" .SS .BR "rayer_spi " programmer The default I/O base address used for the parallel port is 0x378 and you can use |