linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* AW: Re: Updating plb_temac to version 3.00.a on XILINX ml403 board
@ 2006-12-05 15:30 Thomas Denzinger
  2006-12-05 17:24 ` Michael Galassi
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Denzinger @ 2006-12-05 15:30 UTC (permalink / raw)
  To: mgalassi; +Cc: linuxppc-embedded

Thank you Michael and also Ming for your help!

I modified my design according Michael's files and compiled everything. But with my 2.4.20 MontaVista-Kernel and the XILINX BSP-software 'No PHY detected. Assuming a PHY at address 0.' errormessage is printed out and because of that a wrong speed (10Mbits) is set. 
I have to find out now why the PHY is not detected. I assume that only the GMII interface is used for that. Am I right?

Thomas

>>I have a plb_temac-design based on XAPP902 demodesign running. It's 
>>based on plb_temac version 2.00.a and hard_temac version 1.00.a.
>>I tried to update to version 3.00 manually, because of incompatibility 
>>for automatic update.
>>Up to now without success.
>>Can somebody help me with a  copy of .mhs and .ucf files, where the 
>>interface to the PHY and the PPC is correct?
>
>They're largish so I put copies of the ones I used with the ml403 on my
>web server, look for:
>
>http://www.xyz.com/system.ucf
>http://www.xyz.com/system.mhs
>
>I didn't clean out other unrelated changes.
>
>-michael



-- 
Thomas Denzinger
LesaMetric GmbH 
Hauptstrasse 46
35649 Bischoffen

Tel.: 06444/931928
Fax : 06444/931912

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: AW: Re: Updating plb_temac to version 3.00.a on XILINX ml403 board
  2006-12-05 15:30 AW: Re: Updating plb_temac to version 3.00.a on XILINX ml403 board Thomas Denzinger
@ 2006-12-05 17:24 ` Michael Galassi
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Galassi @ 2006-12-05 17:24 UTC (permalink / raw)
  To: Thomas Denzinger; +Cc: linuxppc-embedded


>Thank you Michael and also Ming for your help!

>I modified my design according Michael's files and compiled
>everything. But with my 2.4.20 MontaVista-Kernel and the XILINX
>BSP-software 'No PHY detected. Assuming a PHY at address 0.'
>errormessage is printed out and because of that a wrong speed (10Mbits)
>is set.
>I have to find out now why the PHY is not detected. I assume that only
>the GMII interface is used for that. Am I right?

I'm using MontaVista's 2.6.10 variant so I have no experience with
2.4.20, however the the Xilinx provided 2.6 code did not correctly talk
to the phy on the ml403 so at boot time it would try to negotiate the
speed and drop it to 100, then 10Mbit as you noted.  Fortunately the
Marvell phy on the ml403 negotiates fine on its own so I was able to
comment that code out.  Since in our real design we have a Broadcom
switch hooked up to the temacs' we don't actually care about dealing
with the phy.

This applies to the 2.6 Xilinx code, there may be some similarity in the
2.4 code.  The file .../drivers/net/xilinx_temac/adapter.c contains a
routine called set_mac_speed() which does much of its work #ifdefed to
XILINX_PLB_TEMAC_3_00A_ML403_PHY_SUPPORT.  I moved the whole routine out
of the way and replaced it with hard-coded "lp->cur_speed = 1000;".
Your milage will obviously differ since you're running with 2.4 but this
may give you a hint as to where to start looking.

-michael

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-05 17:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-05 15:30 AW: Re: Updating plb_temac to version 3.00.a on XILINX ml403 board Thomas Denzinger
2006-12-05 17:24 ` Michael Galassi

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).