Hi Victor, On 09/24/2010 06:45 PM, Victor Rodriguez wrote: [...] > > So the EMAC is not working > > The code ( patch ) is the next: > > > #include <mach/mux.h> > > #define DA850_EVM_PHY_ID "0:00 << 7" >
I thought the syntax for this was "0:07" or "MDIOBus:PhyAddr", so you would want "0:07". You might also just try leaving soc_info->emac_pdata->phy_id to null and letting the MDIO bus scan and use whatever it finds, as an experiment. > /* I look for in the datasheet of the LAN chip and said that the PHY > ID Number is 0007 */ > Unless you are programming it via the SPI port, the phy address gets for that part gets bootstrapped when you assert the reset line on the chip. I assume u-Boot is doing that, but it may not be. When that is asserted, you need to check what you are doing (pulling up, down, driving) to the lines connected to the PHYADn pins on the chip. That's how I read 3.7.1 of the LAN8710A spec. You might be getting random addresses assigned if the reset isn't being done. -Mike _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
