summaryrefslogtreecommitdiffstats
path: root/util/z60_flashrom.rules
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2011-10-14 20:33:14 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2011-10-14 20:33:14 +0000
commit836b26a423c5dad86646bc6bc24560d444181405 (patch)
treea682fd11ab2f4aa6cb256187a565a5361359ec02 /util/z60_flashrom.rules
parent8c35745fcf3ed6eb2769beda0c8b941df07f6175 (diff)
downloadflashrom-836b26a423c5dad86646bc6bc24560d444181405.tar.gz
flashrom-836b26a423c5dad86646bc6bc24560d444181405.tar.bz2
flashrom-836b26a423c5dad86646bc6bc24560d444181405.zip
TIAO/DIYGADGET USB Multi-Protocol Adapter (TUMPA) support
Thanks to TIAO/DIYGADGET for sponsoring a test device! This is an FTDI FT2232H based device which provides an easily accessible JTAG, SPI, I2C, serial breakout. The SPI part can be used to flash SPI flash chips using flashrom. http://www.diygadget.com/tiao-usb-multi-protocol-adapter-jtag-spi-i2c-serial.html http://www.tiaowiki.com/w/TIAO_USB_Multi_Protocol_Adapter_User%27s_Manual#SPI_Connector_1 There are two SPI connectors (pin headers) on the board: SPI1, which is connected to the FT2232H's A interface, and SPI2, which is connected to the chip's B interface. Both can be used to flash SPI chips: flashrom -p ft2232_spi:type=tumpa,port=A flashrom -p ft2232_spi:type=tumpa,port=B The default interface is A, so for SPI1 you can also just write: flashrom -p ft2232_spi:type=tumpa I tested all operations on both interfaces, everything works fine. Corresponding to flashrom svn r1451. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'util/z60_flashrom.rules')
-rw-r--r--util/z60_flashrom.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/z60_flashrom.rules b/util/z60_flashrom.rules
index c2989681d..2b4ab6db9 100644
--- a/util/z60_flashrom.rules
+++ b/util/z60_flashrom.rules
@@ -72,4 +72,8 @@ ATTRS{idVendor}=="15ba", ATTRS{idProduct}=="0004", MODE="664", GROUP="plugdev"
# http://olimex.com/dev/arm-usb-tiny-h.html
ATTRS{idVendor}=="15ba", ATTRS{idProduct}=="002a", MODE="664", GROUP="plugdev"
+# TIAO/DIYGADGET USB Multi-Protocol Adapter (TUMPA)
+# http://www.diygadget.com/tiao-usb-multi-protocol-adapter-jtag-spi-i2c-serial.html
+ATTRS{idVendor}=="0403", ATTRS{idProduct}=="8a98", MODE="664", GROUP="plugdev"
+
LABEL="flashrom_rules_end"