From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Tue, 26 Feb 2008 15:30:16 -0500 Subject: [U-Boot-Users] Problems with new ethernet init on mpc8360 In-Reply-To: <01bd01c878b1$91e57e20$b5b07a60$@Tjernlund@transmode.se> References: <47C38DB9.70602@gmail.com> <20080226110753.cb622c37.kim.phillips@freescale.com> <47C45416.2030808@ge.com> <47C45AA9.4080002@ge.com> <47C45D2F.3040801@ge.com> <01bd01c878b1$91e57e20$b5b07a60$@Tjernlund@transmode.se> Message-ID: <47C476D8.7040905@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 Joakim Tjernlund wrote: [snip] > Maybe you suffer from something I noticed, sometimes the master for MDIO gets > out of sync. Try this patch and see if it helps, not sure if it still applies > but that should be easy to fix up. It applied cleanly with some line offsets, but didn't fix my problem. :-( > From 241d7e4f4fb26b2424311a6012c845bd97dfdafa Mon Sep 17 00:00:00 2001 > From: Joakim Tjernlund > Date: Tue, 18 Dec 2007 14:33:18 +0100 > Subject: [PATCH] Move call to qe_set_mii_clk_src() into uec_read_phy_reg() and > uec_write_phy_reg() to make sure MII master clock source is > correct. > > --- > drivers/qe/uec.c | 5 ----- > drivers/qe/uec_phy.c | 6 ++++++ > 2 files changed, 6 insertions(+), 5 deletions(-) Defining the netmask didn't help either. Since it works the first time, including bootp with a full tftp load (lots of packets), it implies the network is fine but someone is shutting down the network (improperly?) after the ping/tftp/bootp command completes and not starting it up again on the next network command. Thanks, gvb