[flashrom] [PATCH] Hack libpci not to exit(1) during init if PCI does not work

Stefan Tauner stefan.tauner at student.tuwien.ac.at
Sun Jul 3 12:02:55 CEST 2011


On Sat, 02 Jul 2011 21:14:20 +0200
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net> wrote:

> To check if the hack works, run "flashrom -V" and respond to this mail
> with the output. You should get a message near the end which says that
> programmer initialization failed.

sudo ./flashrom -V
flashrom v0.9.3-r1362 on Linux 2.6.35-30-generic (x86_64), built with libpci 3.1.7, GCC 4.4.5, little endian
flashrom is free software, get the source code at http://www.flashrom.org

Calibrating delay loop... OS timer resolution is 1 usecs, 1445M loops per second, 10 myus = 10 us, 100 myus = 99 us, 1000 myus = 988 us, 10000 myus = 9931 us, 4 myus = 4 us, OK.
Initializing nicintel programmer
Error: No supported PCI device found.

(on ubuntu 10.10)

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




More information about the flashrom mailing list