[flashrom] Compiling from source on Chromebook:GalliumOS - can't get libusb?

Nico Huber nico.h at gmx.de
Wed Nov 8 16:31:39 CET 2017


On 08.11.2017 16:11, Anders Nelson wrote:
> Ohhh my god you're right - when I call the program as ./flashrom it runs
> now!
> 
> I am still getting an error though it's new:
> 
> ===
> 
> chrx at chrx:~/Github/flashrom$ ./flashrom -p ft2232_spi
> flashrom v0.9.9-86-ge1a960e on Linux 4.9.4-galliumos-braswell (x86_64)
> flashrom is free software, get the source code at https://flashrom.org
> 
> Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
> Unable to open FTDI device: -3 (device not found).
> Error: Programmer initialization failed.

I guess, you have to specify the model (likely 2232H in your case). See
the manpage `man ./flashrom.8`. If that doesn't work, you can check the
output of `lsusb` if your board uses a special USB device id that we
might have to add to flashrom.

> 
> ===
> 
> 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?

Unlikely.

Nico




More information about the flashrom mailing list