[U-Boot] [PATCH] Add CONFIG_GMAC_TX_DELAY=4 for OlinuXino Lime2
Michael Haas
haas at computerlinguist.org
Fri Mar 18 22:53:59 CET 2016
On 03/17/2016 11:52 AM, Hans de Goede wrote:
>
> 3) The phy settings, unfortunately I do not know of
> a way to dump these, so lets just forget about these
> and focus on the other 2.
>
You can dump these with 'mii read' in u-boot. I sat down with the
rtl8211eg data sheet and decided to look at 'PHYCR (PHY Specific Control
Register, Address 0x10)' and
'PHYSR (PHY Specific Status Register, Address 0x11)'.
There is no difference at 0x10 between working and broken. There are
some changed bits in reserved areas in 0x11:
Bad:
=> mii read 1 0x10
01EE
=> mii read 1 0x11
AD5C
# 1010 1101 0101 1100
Good:
=> mii read 1 0x10
01EE
=> mii read 1 0x11
BDDC
# 1011 1101 1101 1100
Good #2:
=> mii read 1 0x11
BD5C
# 1011 1101 0101 1100
I haven't yet looked at other registers.
Michael
More information about the U-Boot
mailing list