Hello All,
Have noticed in the errata document for TI8148(Centaurus),
"The device ROM code relies on the external PHY's Control Register (Register 0),specifically bits 0.6 [Speed Selection (MSB)] and 0.13 [Speed Selection (LSB)], to
determine the operating speed of the link.
If the external PHY does not update its link speed selection bits to reflect the current operating speed, the ROM code will incorrectly assume the PHY is operating at the speed indicated by the link speed selection bits and configure the device Ethernet MAC to the wrong speed."
So to verify this issue on TI8148-EVM from mistral, we are trying to read using "ethtool" these corresponding bit status.
but Ethtool is returning with "Cannot get register dump: Operation not permitted" for the operation,
"./ethtool -d eth0"
to do a register dump.
On further exploring the sources of ethtool, and kernel net device files, it seems it's because of capabilities of the driver it's not writing those register values.
So have 2 questions,
1. How to read the values of the PHY registers in AR8031?
2. if "ethtool eth0" returns speed values, how it constructs this value internally?
br
Vikas
2.
So I have a