[flashrom] arm, chromebook and pci.h

Stefan Tauner stefan.tauner at alumni.tuwien.ac.at
Sat Jan 10 09:53:27 CET 2015


On Fri, 9 Jan 2015 20:02:37 -0800
bruce m beach <brucembeach at gmail.com> wrote:

> When trying to compile flashrom-0.9.7 I get the following error:
> 
> fatal error: pci/pci.h: No such file or directory
> 
> Since I'm running a Samsung Exynos 5 Chromebook I don't have those
> libraries. (no pci bus). I can install them of course but am reluctant
> to do so. I am wondering:
> 
> Does flashrom really need the pci libraries in this case.
> Is the Makefile perhaps not getting the information that this is an arm Arch.

ARM systems can have PCI busses and the vanilla flashrom Makefile
requires respective libraries on default. This is because traditionally
flashrom was an x86 BIOS flashrom only.

> Is the Chromebook not supported by this version of flashrom

That's exactly the case... google has forked flashrom in chromiumos and
I strongly recommend using their version at the moment on those systems.

> and the truly horrible thought that is vaguely forming in the back of my mind:
> am I actually going to have to do some work to get this version of flashrom
> to work for me.

a *truly* horrible thought is the inevitable work to be done to
converge the two flashroms again but that should not be your
problem except if you want to. ;)

-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner




More information about the flashrom mailing list