Hello Nico
Thank you for your assistance and the useful hints at your link (https://flashrom.org/Downloads). After some struggles with the prerequisites, we were finally able to install it from source (with FTDI support), and our program is now working.
I don't have a lot of experience with package managers, but it seems to me that we had to recursively uninstall and reinstall an unreasonably large number of packages by hand in order to satisfy the exact version requirements for each prerequisite of flashrom. In fact we destroyed our ubuntu installation several times and had to restore from image before finding our way through the recursive mess of dependencies to a working solution.
I specifically want to mention that it was actually impossible without manipulating one of the packages' recursive dependencies: libudev-dev (required by direct dependency libpci-dev). We literally had to unpack libudev-dev_229-4ubuntu21.27_i386.deb, manually edit the dependency version for libudev1 in the control file, and then re-pack it as a .deb file (see "My guess is..." and " This works, and probably..." at https://askubuntu.com/questions/779300/cant-install-libudev-dev-on-ubuntu-16-04). It was simply impossible without manipulating this dependency. Is this normal? Or even safe? If yes on both questions, would it make sense to place a hint about this at https://flashrom.org/Downloads ?
In any case, thank you for providing this excellent software and the prompt support!
Cheers from Switzerland
Michael
-----Ursprüngliche Nachricht-----
Von: Nico Huber <nico.h@gmx.de>
Gesendet: Donnerstag, 8. Juli 2021 17:30
An: Michael Leukert - AMPEGON <Michael.Leukert@ampegon.com>; flashrom@flashrom.org
Betreff: Re: [flashrom] Unknown programmer "ft2232_spi"
Hello Michael,
On 05.07.21 18:54, Michael Leukert - AMPEGON wrote:
> Do you have any idea why our flashrom v0.9.9 won't accept ft2232_spi as a programmer?
flashrom's build process is quite flexible. It's very likely that this Ubuntu package was simply build without FTDI support.
>
> Surprisingly, even the man page claims that ft2232_spi is supported:
Alas, the manpage is not automatically adapted to the build options.
You can build flashrom from source, here are some hints[1]. Basically, after installing the mentioned prerequisites, you download the flashrom source
$ git clone https://review.coreboot.org/flashrom.git
and build it with
$ cd flashrom
$ make
If you want to install it, also
$ sudo make install
If you don't install it, you'll have to always specify the path to the program, e.g.
$ ./flashrom -p ...
or
$ ~/flashrom/flashrom -p ...
Hope that helps,
Nico
[1] https://flashrom.org/Download
_______________________________________________
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-leave@flashrom.org