Hi
i'm using dm816x custom B/D.
we are using ICPLUS's ip1001 phy(http://www.alldatasheet.co.kr/datasheet-pdf/pdf_kor/218736/ETC2/IP1001-DS-R06.html)
when i test gigabit hub custom b/d network does not working .
thus i coded according the the official guidelines that how to add a custom ethernet PHY(http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/128095.aspx)
but it's not working.
i coded following sequence.
1. Enable EMAC (so we can write to PHY registers via EMAC MDIO)
2. Disable PHY auto-negotiation and set it manually to 100 Mbit/s full duplex (EMAC_TXCLK gets the clock)
3. Restart EMAC so it gets reinitialized while the clock is running
and finally i test by ping command after boot up.
i disabled phy autonego and set 100M Full duplex .a
i checked phy EMAX_TXCLK output clock , 25Mh clock is outputed in the uboot, but atfer kernel boot there's nothing .
how can i workemac chip?
and i modified the kernel driver dananci_ema.c
static void eamc_set_phy_config(...)
{
...
#ifdef CONFIG_MACH_UD8168_DVR
if( phy->phy_id == 0x001CC914) || (phy->phy_id == 0x2430D91) ) {
/* raltek 8211DG and IP1001 specific: */
val &= ~BIT(9);
}
}