7:6 RESERVED RO –
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
7:6 RESERVED RO –
Dk,
Can you describe a methodology to perform a PHY registery dump?
ethtool –d indicates that our phy is not supported…
Thanks!
Michael,
The PHY registers themselves can be accessed directly via the MDIOUSERACCESSn registers in AM335x. Please take a look at section 14.4.5 of the TRM for details on this functionality.
MACCONTROL Registers. Do the MAC and PHY agree on the link parameters (speed, duplex, etc)?
After looking into the PHY registers we found that the PHY itself is only advertising 10Mbit support as part of auto-negotiation.
In the PHY Basic Status Register, we can see that auto-negotiation is enabled (bit 3) and completed successfully (bit 5), but in the PHY Auto Negotiation Advertisement register bits 7 and 8 are clear indicating to the MAC that 100Mbit is not supported. This is very likely the root cause of the failure to negotiate 100Mb. Please note that these bits are set by the PHY MODE[2:0] configuration straps.
Update:
Since these boot strap pins are set to 111 or All-Capable/Auto-negotiate it is apparent the it is actually the PHY that is actually determining that it cannot run at 100Mbs. Please see the attached PDF for a break down of the PHY settings with their measured values.
You can try to force the PHY into 100Mbs mode by settings the MODE[2:0] to 011, however this may result in a larger amount of packet loss.