<div dir="ltr">Ohhh my god you're right - when I call the program as ./flashrom it runs now!<div><br></div><div>I am still getting an error though it's new:</div><div><br></div><div>===</div><div><br></div><div><div>chrx@chrx:~/Github/flashrom$ ./flashrom -p ft2232_spi</div><div>flashrom v0.9.9-86-ge1a960e on Linux 4.9.4-galliumos-braswell (x86_64)</div><div>flashrom is free software, get the source code at <a href="https://flashrom.org">https://flashrom.org</a></div><div><br></div><div>Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).</div><div>Unable to open FTDI device: -3 (device not found).</div><div>Error: Programmer initialization failed.</div></div><div><br></div><div>===</div><div><br></div><div>The FTDI device enumerates as /dev/ttyUSB0 and /dev/ttyUSB1... Is it necessary to add a rule to udev or something to get Flashrom to find it?</div><div><br></div><div>=]</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">--<br>Anders Nelson<br><br>+1 (517) 775-6129<br><br><a href="http://www.erogear.com" target="_blank">www.erogear.com</a></div></div>
<br><div class="gmail_quote">On Wed, Nov 8, 2017 at 10:03 AM, Nico Huber <span dir="ltr"><<a href="mailto:nico.h@gmx.de" target="_blank">nico.h@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Anders,<br>
<br>
On 07.11.2017 23:44, Anders Nelson wrote:<br>
> root@chrx:/home/chrx/Github/<wbr>flashrom# make clean<br>
<br>
Doing such things as root is very discouraged.<br>
<span class=""><br>
> Replacing all version templates with v0.9.9-86-ge1a960e.<br>
> rm -f flashrom flashrom.exe libflashrom.a *.o *.d flashrom.8<br>
> flashrom.8.html build_details.txt<br>
> make[1]: Entering directory<br>
> '/home/chrx/Github/flashrom/<wbr>util/ich_descriptors_tool'<br>
> rm -f ich_descriptors_tool ich_descriptors_tool.exe<br>
> rm -rf .dep .obj<br>
> make[1]: Leaving directory<br>
> '/home/chrx/Github/flashrom/<wbr>util/ich_descriptors_tool'<br>
><br>
> ===<br>
><br>
> [...build completes without error...]<br>
<br>
</span>Well, like Stefan said, this is the part that could have told me<br>
that libftdi is already installed.<br>
<span class=""><br>
><br>
> ===<br>
> root@chrx:/home/chrx/Github/<wbr>flashrom# flashrom -p ft2232_spi<br>
> flashrom v0.9.9-rc1-r1942 on Linux 4.9.4-galliumos-braswell (x86_64)<br>
> flashrom is free software, get the source code at <a href="https://flashrom.org" rel="noreferrer" target="_blank">https://flashrom.org</a><br>
><br>
> Error: Unknown programmer "ft2232_spi". Valid choices are:<br>
> internal, dummy, nic3com, nicrealtek, gfxnvidia, drkaiser, satasii, atavia,<br>
> it8212, serprog, buspirate_spi, dediprog, rayer_spi, pony_spi, nicintel,<br>
> nicintel_spi, nicintel_eeprom, ogp_spi, satamv, linux_spi, pickit2_spi,<br>
> ch341a_spi.<br>
> Please run "flashrom --help" for usage info.<br>
<br>
</span>I could have seen this earlier... you are not calling your self-built<br>
flashrom at all. You call the one pre-installed by GalliumOS. If you<br>
want to run a binary that is not in a directory in your $PATH envi-<br>
ronment variable, you have to prefix it with a path, e.g. `./flashrom<br>
-p ft2232_spi` if you want to run the flashrom in the current directory.<br>
<span class="HOEnZb"><font color="#888888"><br>
Nico<br>
</font></span></blockquote></div><br></div>