Updating plb_temac to version 3.00.a on XILINX ml403 board
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
Quoted 17 lines
Quoted 7 lines
I have a plb_temac-design based on XAPP902 demodesign running. It's based on
plb_temacversion 2.00.a andhard_temacversion 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.mhsI didn't clean out other unrelated changes.
-michael
Signature · 7 lines
Thomas Denzinger LesaMetric GmbH Hauptstrasse 46 35649 Bischoffen Tel.: 06444/931928 Fax : 06444/931912
Quoted 10 lines
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