From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: Ethernet issues with lite5200 board from linux-2.6.31 Date: Mon, 30 Nov 2009 08:59:08 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: LKML , rt-users , Ingo Molnar , Steven Rostedt , Peter Zijlstra , Carsten Emde , Clark Williams , Frank Rowand , Robin Gareus , Gregory Haskins , Philippe Reynes , Fernando Lopez-Lezcano , Will Schmidt , Darren Hart , Jan Blunck , Sven-Thorsten Dietrich , Jon Masters , Mark Knecht , John Kacur , linuxppc-dev To: Yogesh Chaudhari Return-path: Received: from mail-yx0-f187.google.com ([209.85.210.187]:35917 "EHLO mail-yx0-f187.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751570AbZK3P7W convert rfc822-to-8bit (ORCPT ); Mon, 30 Nov 2009 10:59:22 -0500 In-Reply-To: Sender: linux-rt-users-owner@vger.kernel.org List-ID: On Mon, Nov 30, 2009 at 2:50 AM, Yogesh Chaudhari = wrote: > Hello, > =A0 =A0 =A0 =A0 I am running linux kernel with rt patch on embedded b= oard > based on lite5200 eval board. From linux-2.6.31 release, in which the > mdio patch has gone inside, =A0the fec ethernet does not come up on t= his > board. I get the following message at startup: > mpc52xx MII bus: probed > mdio_bus f0003000: error probing PHY at address 1 > > > After the bootup if I try to do a ifconfig I get the message: > net eth2: of_phy_connect failed > > > If I change the value of reg in dts file (lite5200.dts) to 0 then thi= s > ethernet comes up. However upto this kernel version, this was not > required. > > Ethernet does not come up on board with original lite5200.dts file Is your board based on the Lite5200 or the Lite5200B? The phys are at different addresses on those two revisions of the board. There is a different .dts file for each board. > phy0: ethernet-phy@1 { > =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0reg= =3D <1>; > =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0}; > > Ethernet comes up on board with this change > phy0: ethernet-phy@1 { > =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0reg= =3D <0>; > =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0}; Some PHYs treat address 0 as the 'broadcast' address. You need to fill in this field (and modify the ethernet-phy@
node name) to reflect the address that your phy is actually at. g. -- To unsubscribe from this list: send the line "unsubscribe linux-rt-user= s" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html