[flashrom] [PATCH] Hack libpci not to exit(1) during init if PCI does not work
Carl-Daniel Hailfinger
c-d.hailfinger.devel.2006 at gmx.net
Sun Jul 3 15:17:01 CEST 2011
Am 03.07.2011 12:02 schrieb Stefan Tauner:
> 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.
>
Good, that means it still works as designed on machines with PCI. The
error message I mentioned should only appear on non-PCI hosts.
Regards,
Carl-Daniel
--
http://www.hailfinger.org/
More information about the flashrom
mailing list