Thanks Scott,<br>I do boot from U-BOOT, via Ethernet, but I'd never set the MDIO/MDC in U-BOOT. Actually, looking at the u-boot 's MPC8260ADS.h now, it is still setting the default 8272ADS boards' PC18/19 for MDC/MDIO - and my unit is using PD23/29.<br>I guess U-BOOT is probably working (for me) since it probably defaults to the defaults of PHY and maybe not checking for PHY errors???<br><br>I guess, it is probably worthwhile having the MDIO/MDC pins also set up explicitly in mpc8272_ads_pins as opposed to relying on the boot loader.<br><br><br><br><br><br><br><br><b><i>Scott Wood <scottwood@freescale.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> NM wrote:<br>> My problem is solved now after probing the lines, MDC was not showing <br>> any activity.<br>> So, after explicitly setting the PD23 (MDC) to : OUTPUT/GPIO in <br>> mpc8272_ads_pins and it worked in<br>>
<br>> I'd previously thought about that, but I was sure that this was being <br>> taken care of, but now that I'm thinking of it, I'm questioning my belief. <br>> I think in the fs_enet/mii-bitbang.c: mdio_dir(..) it is supposed to <br>> take care of this.<br><br>No, the mdc pin is static; only bits which need to be changed <br>dynamically are dealt with in mii-bitbang.c. Either the firmware or the <br>platform code should set up static pins.<br><br>> But why I had to explictly set it initially beats me. <br>> I wonder how this works in standard distribution.<br><br>It's probably set up by u-boot normally, at least if you boot from ethernet.<br><br>-Scott<br></blockquote><br><p> 
<hr size=1>
Looking for the perfect gift?<a href="http://www.flickr.com/gift/"><b> Give the gift of Flickr!</b></a>