On Thu, May 27, 2010 at 07:21:33PM -0700, Kyle Kienapfel wrote:
Is probing the flash/eeprom something thats not done yet for rtl8139's?
root@grayskull:~# flashrom -p nicrealtek flashrom v0.9.2-r1015 on Linux 2.6.17 (i686), built with libpci 3.0.0, GCC 4.4.3, little endian flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK. Found "Realtek RTL8139/8139C/8139C+" (10ec:8139, BDF 02:0a.0). No EEPROM/flash device found. Note: flashrom can never write if the flash chip isn't found automatically.
I ran an strace on flashrom and just before it says theres no flash device it reads /sys/bus/pci/devices/0000:02:0a.0/config is this the contents of the eeprom where the bootrom size is configured?
forcing a read works flashrom -p nicrealtek -f -r file -c SST29EE010
Can you post the output of "flashrom -p nicrealtek -VVVV" please?
Have you checked that the file you read via forcing really contains data that makes sense (i.e. it's not just all-0xff or all-0x00)?
Uwe.