On Thu, 02 Jun 2011 02:32:00 +0100 Pete Batard pbatard@gmail.com wrote:
The following patch adds support for the FT2232D based Olimex ARM-USB-TINY JTAG programmer [1].
I have successfully tested it against an ASUS motherboard, with a Winbond W25x80 (1MB) BIOS, and everything seemed to work as expected. Yet another great way for flashrom to shine in BIOS recovery!
The patch should be very straightforward, though it is possible you may want to use something else than "usbtiny" for the new type (flashrom -p ft2232_spi:type=usbtiny) in case you find it not explicit enough.
i think armusbtiny or arm-usb-tiny would be better. is the name without dashes used anywhere in the docs, software etc. supplied by olimex? if so please resend the patch with "armusbtiny", else its probably better to use the original name the vendor chose(?) as you know there is also a -h version available from olimex. you dont happen to know the ids i guess? :) also if it's not too much of a hassle, please also post a verbose log showing the device in action. apart from the parameter name it looks ok and ill commit it after the name change, thanks a lot for your work!
Please note that the External_flashers/programmers section of the Supported_hardware wiki [2] should probably also be updated to only mention FT2232/FT4232 (without the H), as we now have evidence that FT2232D/FT2232L are working just as well for SPI access.
i dont know the ft chips very well, but ill trust you on this one :)
Finally, since external users cannot edit the wiki, I am also attaching a proposed update for the FT2232SPI_Programmer wiki page [3], to go with the patch. A preview of what this edit should look like can be found here [4]. I also fixed a few other minor items on the page, such as the "still pending review" Amontec JTAGkey2 section.
very nice work! i'll update the wiki as soon as your patch is committed.