Description of problem: Flashrom is built without support for USB programmers. When trying to use FT4232H with an SPI ROM, flashrom returns an error. Version-Release number of selected component (if applicable): NA How reproducible: Always Steps to Reproduce: 1. Connect FTDI-based programmer (FT4234H for example) 2. Invoke flashrom to use the FTDI-based programmer 3. Actual results: $ flashrom -p ft2232_spi:type=4232H,port=A -w coreboot.rom --noverify [...] Error: Unknown programmer ft2232_spi:type=4232H,port=A. Please run "flashrom --help" for usage info. Expected results: $ ./flashrom -p ft2232_spi:type=4232H,port=A -w coreboot.rom --noverify flashrom v0.9.5.2-r1547 on Linux 3.4.4-3.fc17.x86_64 (x86_64) flashrom is free software, get the source code at http://www.flashrom.org Calibrating delay loop... OK. Found ST flash chip "M25P40" (512 kB, SPI) on ft2232_spi. Reading old flash chip contents... done. Erasing and writing flash chip... Erase/write done. Additional info: Clean flashrom build from svn works without a problem, so this looks to me like a Fedora specific problem.
Thanks for the report. I'll fix this asap. Unfortunately I don't have any "external" programmers so I can't really test it - that's why I missed this issue.
Thanks for responding on such short notice. Even if you don't have an external programmer, you can tell if flashrom was built with support for it. I can test the Fedora build once it hits updates-testing. When no programmer is connected: $ ./flashrom -p ft2232_spi:type=4232H,port=A -w coreboot.rom --noverify flashrom v0.9.5.2-r1547 on Linux 3.4.4-3.fc17.x86_64 (x86_64) flashrom is free software, get the source code at http://www.flashrom.org Calibrating delay loop... OK. Unable to open FTDI device: -3 (device not found) Error: Programmer initialization failed.
flashrom-0.9.5.2-4.svn1547.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/flashrom-0.9.5.2-4.svn1547.fc16
flashrom-0.9.5.2-4.svn1547.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/flashrom-0.9.5.2-4.svn1547.fc17
The new rpm works with USB-based FT4232. Thanks!
Package flashrom-0.9.5.2-4.svn1547.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing flashrom-0.9.5.2-4.svn1547.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-10520/flashrom-0.9.5.2-4.svn1547.fc17 then log in and leave karma (feedback).
flashrom-0.9.5.2-4.svn1547.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
flashrom-0.9.5.2-4.svn1547.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.