From: Peter Pan <pppeterpppan@gmail.com>
To: "paul@conspiracy.net" <paulfax@conspiracy.net>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: I can not get my MII working on MPC8247 with Linux 2.6.32.6
Date: Wed, 31 Mar 2010 11:15:59 +0800 [thread overview]
Message-ID: <48abf2c21003302015m4c123d65hbee4525a1213b91d@mail.gmail.com> (raw)
In-Reply-To: <4BB2BB24.6080003@conspiracy.net>
I tried to skip the turn around bit check in source, but the mii bus
still get the 0xffffffff PHYIDs.
I will check if there is any pull ups on mdio line.
Thank you.
2010/3/31 paul@conspiracy.net <paulfax@conspiracy.net>:
> I had the same issue on a board. =A0The original was config was a 8247
> with 2.6.27 and changed the CPU card in the system to 8567 & 2.6.32.
> The old code did not check the turn around bit. =A0Can't remember the
> exact fix but as I remember if there are no pull ups on the mdio line
> the turn around bit will not be in the correct state (it just opens the
> line not not driving it to 1). =A0Will try to ask the hw guy if he
> remembers when he comes in tomorrow.
> Paul
>
> On 3/30/2010 8:46 PM, Peter Pan wrote:
>> Recently, I'm porting Linux 2.6.32.6 to our customized MPC8247 based
>> board. Everything is fine out except my ethernets. I uses
>> cpm2-scc-enet and cpm2-fcc-enet drivers.
>> My ethernet works fine in U-Boot with the same setting, and our
>> previous Linux 2.6.22 is also working, so there should be nothing
>> wrong with the hardware.
>> The boot log of the MII part is:
>>
>> CPM2 Bitbanged MII: probed
>> mdio_bus f0010d00: error probing PHY at address 0
>> mdio_bus f0010d00: error probing PHY at address 1
>>
>> I add some print, and find out that the MII bus can not be get the
>> turn around bit, and can not get the PHYIDs. That makes the PHY probe
>> failed.
>> Maybe it's because my wrongly typed dts file? My ethernet part of my
>> dts file is:
>> My MDIO pin is using PA23, MDC pin is using PA22.
>> _______________________________________________
>> Linuxppc-dev mailing list
>> Linuxppc-dev@lists.ozlabs.org
>> https://lists.ozlabs.org/listinfo/linuxppc-dev
>>
>
>
next prev parent reply other threads:[~2010-03-31 3:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-31 1:46 I can not get my MII working on MPC8247 with Linux 2.6.32.6 Peter Pan
[not found] ` <4BB2BB24.6080003@conspiracy.net>
2010-03-31 3:15 ` Peter Pan [this message]
2010-03-31 15:48 ` Scott Wood
2010-04-01 0:56 ` Peter Pan
[not found] ` <4BB60975.2010606@conspiracy.net>
2010-04-06 0:29 ` Peter Pan
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=48abf2c21003302015m4c123d65hbee4525a1213b91d@mail.gmail.com \
--to=pppeterpppan@gmail.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=paulfax@conspiracy.net \
/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).