From mboxrd@z Thu Jan 1 00:00:00 1970 From: Renaud Barbier Date: Wed, 09 Feb 2011 20:23:47 +0000 Subject: [U-Boot] P1022 eTSEC In-Reply-To: <4D52F758.6080906@ge.com> References: <4D514868.6060500@psyent.com> <20110209195611.9155914B9A37@gemini.denx.de> <4D52F758.6080906@ge.com> Message-ID: <4D52F7D3.6080406@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Correction: P1013 On 09/02/11 20:21, Renaud Barbier wrote: > 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. > > > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot -- Renaud Barbier 14, Links Place 3/2 great Michael House Edinburgh, EH67EN Tel: +44 131 561 3532