[U-Boot-Users] Problems with new ethernet init on mpc8360

Jerry Van Baren gerald.vanbaren at ge.com
Tue Feb 26 21:30:16 CET 2008


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 <Joakim.Tjernlund at transmode.se>
> 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




More information about the U-Boot mailing list