path: root/flashrom.8
diff options
authorCarl-Daniel Hailfinger <>2009-11-24 18:27:10 +0000
committerCarl-Daniel Hailfinger <>2009-11-24 18:27:10 +0000
commitd5b28fae1da48233753a19d3fa007c204786ec8c (patch)
tree55b9f4704024f1e845fc1c8df44a2b1bd97d6884 /flashrom.8
parentd70b09ca13f118af02078e5fcd336b9f83c7565a (diff)
Add the ability to set Bus Pirate SPI speed via the command line
Example usage: flashrom -p buspiratespi:spispeed=2.6MHz,dev=/dev/foo flashrom -p buspiratespi:dev=/dev/foo,spispeed=2.6M Refactor programmer option parsing (this allows cleanups in other programmers as well). Increase SPI read size from 8 to 12 bytes (current single-transaction limit of the Bus Pirate raw SPI protocol). Add Bus Pirate to the list of programmers supporting 4 byte RDID. Add Bus Pirate syntax to the man page. Tested-by: Sean Nelson <> Corresponding to flashrom svn r776. Signed-off-by: Carl-Daniel Hailfinger <> Acked-by: Sean Nelson <>
Diffstat (limited to 'flashrom.8')
1 files changed, 12 insertions, 0 deletions
diff --git a/flashrom.8 b/flashrom.8
index 3986f75..011840c 100644
--- a/flashrom.8
+++ b/flashrom.8
@@ -152,6 +152,8 @@ Specify the programmer device. Currently supported are:
.BR "* serprog" " (for flash ROMs attached to Urja's AVR programmer)"
+.BR "* buspiratespi" " (for flash ROMs attached to a Bus Pirate)"
The dummy programmer has an optional parameter specifying the bus types it
should support. For that you have to use the
.B "flashrom -p dummy:type"
@@ -219,6 +221,16 @@ syntax and for IP, you have to use
instead. More information about serprog is available in serprog-protocol.txt in
the source distribution.
+The buspiratespi programmer has a required dev parameter specifying the Bus
+Pirate device node and an optional spispeed parameter specifying the frequency
+of the SPI bus. The parameter delimiter is a comma. Syntax is
+.B "flashrom -p buspiratespi:dev=/dev/device,spispeed=frequency"
+.B frequency
+can be any of
+.B 30k 125k 250k 1M 2M 2.6M 4M 8M
+(in Hz).
Support for some programmers can be disabled at compile time.
.B "flashrom -h"
lists all supported programmers.
OpenPOWER on IntegriCloud