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

Nico Huber nico.h at gmx.de
Tue Oct 31 22:44:56 CET 2017


Hi Anders,

On 31.10.2017 01:18, Anders Nelson wrote:
> Hi guys,
> 
> I'm trying to compile the latest stable source on my Ubuntu-based GalliumOS
> system running on a recent x86_64 Chromebook.
> 
> I get the error:
> 
> ichspi.o: In function `ich_init_spi':
> ichspi.c:(.text+0x26b2): undefined reference to
> `read_ich_descriptors_via_fdo'

looking at the code, there seem to be different ways used to decide if
we build for x86. So some code for x86 gets built in but some other
piece is missing. As you only need FTDI support, you can just try to
build without the internal programmers (e.g. `make CONFIG_INTERNAL=no`).
If you know how to apply it, please also try the patch attached and
report back if it helps.

> 
> I've installed all the packages noted in the README even though I'm only
> interested in supporting the FTDI 2232H chip on the breakout board sold by
> SeeedStudio.
> 
> Any suggestions I can try to get this built? I'm relatively new to Linux so
> I apologize in advance for any gaps in knowledge.

Nothing to apologize for. That error is very unexpected.

Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ich_descriptors-amd64.patch
Type: text/x-patch
Size: 566 bytes
Desc: not available
URL: <http://mail.coreboot.org/pipermail/flashrom/attachments/20171031/c1ab36df/attachment.patch>


More information about the flashrom mailing list