[tulip] tulip-diag eeprom writing - some questions
jlhagen@collins.rockwell.com
jlhagen@collins.rockwell.com
Thu, 13 Jul 2000 14:14:37 -0500
Hello,
I have several Znyx 346 (4 port) (21140) ethernet cards. One of these
cards seems to have meet an unfortunate accident and the eeprom contents
are reported as missing. I have other cards that report ok etc. Below is a
snippet of ' ./tulip-diag -ee ' for one good controller/card and one bad
controller/card. Tulip-diag will let me write the eeprom, but I need help
in this area. Can I simply copy one eeprom, change the station address (or
reuse it, this is a test system) and write it to the eeprom that it
reported as missing???? Some education on this process would be helpful.
Perhaps there is a FAQ running about that describes this process in detail.
I'm pretty gun shy about this and would like some help before I try this.
Thanks
John H.
Index #24: Found a Digital DS21140 Tulip adapter at 0x9480.
Port selection is 10mpbs-serial, half-duplex.
Transmit stopped, Receive stopped, half-duplex.
The Rx process state is 'Stopped'.
The Tx process state is 'Stopped'.
The transmit threshold is 72.
EEPROM size is 6.
PCI Subsystem IDs, vendor c000, device e095.
CardBus Information Structure at offset 0000abe1.
Ethernet MAC Station Address 00:C0:95:E0:E1:AB.
EEPROM transceiver/media description for the Digital DS21140 Tulip chip.
Leaf node at offset 30, default media type 0800 (Autosense).
CSR12 direction setting bits 0x03.
2 transceiver description blocks:
21140 Non-MII transceiver for media 0 (10baseT).
CSR12 control port setting 00, command 00 0x17.
Media detection by looking for a 1 on bit 3 of the CSR12 control port.
21140 Non-MII transceiver for media 3 (100baseTx).
CSR12 control port setting 00, command 0x40 0x87.
Media detection by looking for a 0 on bit 3 of the CSR12 control port.
EEPROM contents:
c000 e095 abe1 0000 0000 0000 0000 0000
004e 0101 c000 e095 abe1 1e00 0000 0800
0203 0000 0017 0003 4087 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 524a 0001 0e01 0001 5159 0072 6073
ID block CRC 0x4d (vs. 0x4e).
Full contents CRC 0x6073 (read as 0x6073).
Index #25: Found a Digital DS21140 Tulip adapter at 0x5800.
Port selection is 100mbps-SYM/PCS 100baseTx scrambler, full-duplex.
Transmit started, Receive started, full-duplex.
The Rx process state is 'Transferring Rx frame into memory'.
The Tx process state is 'Closing Tx descriptor'.
PCI bus error!: Unknown 7.
The transmit unit is set to store-and-forward.
Interrupt sources are pending! CSR5 is ffffffff.
Tx done indication.
Tx complete indication.
Tx out of buffers indication.
Transmit Jabber indication.
Link passed indication.
Tx FIFO Underflow indication.
Rx Done indication.
Receiver out of buffers indication.
Receiver stopped indication.
Receiver jabber indication.
Link changed indication.
Timer expired indication.
Link failed indication.
PCI bus error indication.
Early Rx indication.
EEPROM size is 8.
WARNING: The EEPROM is missing or erased!
This interface is missing the EEPROM.
This is likely the non-primary interface on a multiport board.
EEPROM contents:
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ffff ffff ffff ffff ffff ffff ffff ffff
ID block CRC 0xfa (vs. 0xff).
Full contents CRC 0x6a15 (read as 0xffff).