From: Joakim Tjernlund Date: Sun, 25 Nov 2007 15:53:27 +0100 Subject: [U-Boot-Users] MPC83xx Ethernet bug In-Reply-To: <012301c82c64$0b401540$5267a8c0@Jocke> References: <1195487484.439.6.camel@gentoo-jocke.transmode.se><995B09A8299C2C44B59866F6391D2635D331C9@zch01exm21.fsl.freescale.net> <1195545118.3234.4.camel@gentoo-jocke.transmode.se><011c01c82c57$e8e863a0$5267a8c0@Jocke><47446014.8040806@qstreams.com> <012301c82c64$0b401540$5267a8c0@Jocke> Message-ID: <029b01c82f72$eff6df50$5267a8c0@Jocke> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > > -----Original Message----- > > From: Ben Warren [mailto:bwarren at qstreams.com] > > Sent: den 21 november 2007 17:43 > > To: Joakim Tjernlund > > Cc: 'Liu Dave'; 'U-BOOT' > > Subject: Re: [U-Boot-Users] MPC83xx Ethernet bug > > > > Joakim Tjernlund wrote: > > > Ping? > > > > > > Jocke > > > > > > > > ACK. Another reason it would be nice to have a PHY library > > that handles > > fixed connections. Stay tuned... > > Yes, got plenty of fixed PHYs, even a mix of real PHYs and > fixed PHYs on > the same board. > > [SNIP] > > > >>>> In: serial > > >>>> Out: serial > > >>>> Err: serial > > >>>> Net: read wrong value : mii_id 3,mii_reg 2, base e0102320 > > >>>> read wrong value : mii_id 3,mii_reg 3, base e0102320 > > >>>> UEC: PHY is Generic MII (ffffffff) > > >>>> read wrong value : mii_id 3,mii_reg 1, base e0102320 > > >>>> read wrong value : mii_id 3,mii_reg 5, base e0102320 > > >>>> FSL UEC0: Full Duplex > > >>>> FSL UEC0: Speed 100BT > > >>>> FSL UEC0: Link is up > > >>>> read wrong value : mii_id 4,mii_reg 2, base e0103320 > > >>>> read wrong value : mii_id 4,mii_reg 3, base e0103320 > > >>>> UEC: PHY is Generic MII (ffffffff) > > >>>> read wrong value : mii_id 4,mii_reg 1, base e0103320 > > >>>> read wrong value : mii_id 4,mii_reg 1, base e0103320 > > >>>> read wrong value : mii_id 4,mii_reg 5, base e0103320 > > >>>> FSL UEC1: Full Duplex > > >>>> FSL UEC1: Speed 100BT > > >>>> FSL UEC1: Link is up > > >>>> FSL UEC0, FSL UEC1 > > >>>> read wrong value : mii_id 3,mii_reg 1, base e0102320 > > >>>> > > >>>> => > > >>>> > > I don't know why the calls to init_phy() and phy_change() are in > > uec_initialize() instead of uec_init(). Moving them should at least > > prevent this stuff at boot-up. > > Me neither, that is why I am bugging the Freescale guys who put it > there :). Moving it before next release would be a good thing. Dave, have you had a chance to look into this? Jocke