summaryrefslogtreecommitdiffstats
path: root/flashrom.8.tmpl
diff options
context:
space:
mode:
authorJean THOMAS <virgule@jeanthomas.me>2022-10-11 17:54:30 +0200
committerFelix Singer <felixsinger@posteo.net>2022-10-15 18:17:38 +0000
commit001c87d9014b5b2dbb8adc9f64ab7023359a38b4 (patch)
tree3f9862342bc76f0c5ef0c5a916bb58c221224376 /flashrom.8.tmpl
parent5d3b95bbaccb2453aeeaf6092e3a9f295c829271 (diff)
downloadflashrom-001c87d9014b5b2dbb8adc9f64ab7023359a38b4.tar.gz
flashrom-001c87d9014b5b2dbb8adc9f64ab7023359a38b4.tar.bz2
flashrom-001c87d9014b5b2dbb8adc9f64ab7023359a38b4.zip
dirtyjtag: Add DirtyJTAG programmer
Add a new programmer driver for the DirtyJTAG project (a USB-JTAG firmware for STM32 MCUs). Successfully tested with DirtyJTAG 1.4 running on an Olimex STM32-H103 development board and a SST25VF020B SPI flash chip. Change-Id: Ic43e9a014ed7d04e429e73b30c9dcfdde1a78913 Signed-off-by: Jean THOMAS <virgule@jeanthomas.me> Reviewed-on: https://review.coreboot.org/c/flashrom/+/67878 Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'flashrom.8.tmpl')
-rw-r--r--flashrom.8.tmpl20
1 files changed, 19 insertions, 1 deletions
diff --git a/flashrom.8.tmpl b/flashrom.8.tmpl
index 557901196..e672869ce 100644
--- a/flashrom.8.tmpl
+++ b/flashrom.8.tmpl
@@ -431,6 +431,8 @@ bitbanging adapter)
.sp
.BR "* mediatek_i2c_spi" " (for SPI flash ROMs attached to some Mediatek display devices accessible over I2C)"
.sp
+.BR "* dirtyjtag_spi" " (for SPI flash ROMs attached to DirtyJTAG-compatible devices)"
+.sp
Some programmers have optional or mandatory parameters which are described
in detail in the
.B PROGRAMMER-SPECIFIC INFORMATION
@@ -1441,6 +1443,22 @@ can be
.BR 62.5k ", " 125k ", " 250k ", " 500k ", " 1M ", " 2M " or " 4M
(in Hz). The default is a frequency of 4 MHz.
.sp
+.BR "dirtyjtag_spi " programmer
+.IP
+An optional
+.B freq
+parameter specifies the frequency of the SPI bus.
+Syntax is
+.sp
+.B " flashrom \-p dirtyjtag_spi:spispeed=frequency"
+.sp
+where
+.B spispeed
+can be
+.BR any value in hertz, kilohertz or megahertz supported by the
+programmer. The default is a frequency of 100 KHz.
+.sp
+.SS
.SS
.BR "jlink_spi " programmer
.IP
@@ -1671,7 +1689,7 @@ needs no access permissions at all.
have to be run as superuser/root, and need additional raw access permission.
.sp
.BR serprog ", " buspirate_spi ", " dediprog ", " usbblaster_spi ", " ft2232_spi ", " pickit2_spi ", " \
-ch341a_spi " and " digilent_spi
+ch341a_spi ", " digilent_spi " and " dirtyjtag_spi
can be run as normal user on most operating systems if appropriate device
permissions are set.
.sp