[U-Boot] P1022 eTSEC
Renaud Barbier
renaud.barbier at ge.com
Wed Feb 9 21:21:44 CET 2011
We have a system with a P1022 connected to a 5461S in SGMII mode.
In order to make it work in SGMII mode, I set TBI ANA to 0x4001 as per
AN3869. Note that those bit are described as reserved in the P1022 doc
that I have.
I was then able to transfer data at 100/1000 (10 not tested).
As per AN3869 a value of 0x1a0 is for 1000BASE-X.
Looking at the tsec driver (drivers/net/tsec.c), one can see:
#define TBIANA_SETTINGS ( \
TBIANA_ASYMMETRIC_PAUSE \
| TBIANA_SYMMETRIC_PAUSE \
| TBIANA_FULL_DUPLEX \
)
==> 0x1a0
if (regs->ecntrl & ECNTRL_SGMII_MODE)
tsec_configure_serdes(priv);
That would mean the TBI ANA is not set correctly when SGMII
is reported.
Please can you verify this.
Cheers.
More information about the U-Boot
mailing list