From: Yogesh Chaudhari <mr.yogesh@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Robin Gareus <robin@gareus.org>,
rt-users <linux-rt-users@vger.kernel.org>,
Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>,
Peter Zijlstra <peterz@infradead.org>,
Frank Rowand <frank.rowand@am.sony.com>,
Philippe Reynes <philippe.reynes@isismpp.fr>,
Mark Knecht <markknecht@gmail.com>,
Steven Rostedt <rostedt@goodmis.org>,
Sven-Thorsten Dietrich <sdietrich@novell.com>,
Clark Williams <williams@redhat.com>,
Darren Hart <dvhltc@us.ibm.com>,
Will Schmidt <will_schmidt@vnet.ibm.com>,
Jon Masters <jcm@redhat.com>, John Kacur <jkacur@redhat.com>,
Ingo Molnar <mingo@elte.hu>, Jan Blunck <jblunck@suse.de>,
Gregory Haskins <ghaskins@novell.com>,
linuxppc-dev <linuxppc-dev@ozlabs.org>
Subject: Re: Ethernet issues with lite5200 board from linux-2.6.31
Date: Thu, 3 Dec 2009 09:44:04 +0530 [thread overview]
Message-ID: <d1f76ba30912022014y1f688827qe8145a7d40de5321@mail.gmail.com> (raw)
In-Reply-To: <fa686aa40911300759h153b3300uc54b5d1871bfc839@mail.gmail.com>
2009/11/30 Grant Likely <grant.likely@secretlab.ca>:
> On Mon, Nov 30, 2009 at 2:50 AM, Yogesh Chaudhari <mr.yogesh@gmail.com> wrote:
>> Hello,
>> I am running linux kernel with rt patch on embedded board
>> based on lite5200 eval board. From linux-2.6.31 release, in which the
>> mdio patch has gone inside, the fec ethernet does not come up on this
>> 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 this
>> 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 {
>> reg = <1>;
>> };
>>
>> Ethernet comes up on board with this change
>> phy0: ethernet-phy@1 {
>> reg = <0>;
>> };
>
> Some PHYs treat address 0 as the 'broadcast' address. You need to
> fill in this field (and modify the ethernet-phy@<address> node name)
> to reflect the address that your phy is actually at.
>
> g.
>
I have tried the same with the latest kernel both with and without
rt, but with the same end result. I have checked that the mpc52xx fec
driver was changed from 2.6.31 version but I am not able to point
where this error is coming up from and how changing the reg value in
dts (which is not required till previous versions) is solving this.
prev parent reply other threads:[~2009-12-03 4:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <d1f76ba30911300038w272578dfx9adb116bde493e00@mail.gmail.com>
2009-11-30 9:50 ` Ethernet issues with lite5200 board from linux-2.6.31 Yogesh Chaudhari
2009-11-30 14:23 ` Steven Rostedt
2009-12-01 5:48 ` Yogesh Chaudhari
2009-11-30 15:59 ` Grant Likely
2009-12-01 5:48 ` Yogesh Chaudhari
2009-12-03 4:14 ` Yogesh Chaudhari [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d1f76ba30912022014y1f688827qe8145a7d40de5321@mail.gmail.com \
--to=mr.yogesh@gmail.com \
--cc=dvhltc@us.ibm.com \
--cc=frank.rowand@am.sony.com \
--cc=ghaskins@novell.com \
--cc=jblunck@suse.de \
--cc=jcm@redhat.com \
--cc=jkacur@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=markknecht@gmail.com \
--cc=mingo@elte.hu \
--cc=nando@ccrma.stanford.edu \
--cc=peterz@infradead.org \
--cc=philippe.reynes@isismpp.fr \
--cc=robin@gareus.org \
--cc=rostedt@goodmis.org \
--cc=sdietrich@novell.com \
--cc=will_schmidt@vnet.ibm.com \
--cc=williams@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).