Hi, Kyle Kienapfel schrieb:
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?
Look at the chip itself. If it reads RTL8139D (or newer), then flashing will NOT be possible.
If you use Linux, the "8139too" driver will tell you which chip you have. Just grep the output of "dmesg":
# dmesg |grep eth [ 4.533027] eth1: RealTek RTL8139 at 0xffffc200001e2400, 00:50:fc:94:db:05, IRQ 18 [ 4.533095] eth1: Identified 8139 chip type 'RTL-8100B/8139D'
This chip here is "RTL8139D" which does not have flash write.
Other chips w/o write may read as "RTL-8100", "RTL-8100B/8139D" or "RTL-8101".
-- Jörg Fischer
ps.