Carl-Daniel Hailfinger wrote:
Can you edit nicintel_spi.c and change #define MAX_REQUEST_LOOPS 10000 to #define MAX_REQUEST_LOOPS 1000000 One million loops should be slow enough.
Ok, so that makes it approx 1 second per device, total run time of 2m29s
root@p7fe-64:~/flashrom# ./flashrom -p nicintel_spi -V flashrom v0.9.2-r1186 on Linux 2.6.35-dt (x86_64), built with libpci 3.1.4, GCC 4.4.3, little endian Initializing nicintel_spi programmer Found "Intel 82540EM Gigabit Ethernet Controller" (8086:100e, BDF 06:02.0). Requested BAR is IO Mapping Intel Gigabit NIC w/ SPI flash, 0x1000 bytes at unaligned 0xfffffffc.
WTF?
that's not quite what I said, but along the right lines :)
The really interesting question is why the card died in the first place.
yep, however it's not done it again, so maybe just a fluke... I have a few of these cards, so maybe I'll try a different one just to be sure there's nothing odd going on with this one.
Rgds, Iain