This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM816x Vitesse VSC8641XKO PHY on custom board

We use a custom board with a Vitesse VSC8641XKO PHY and GMII-Interface.

In u-boot the PHY seems to be detected ...

Net:   Detected MACID:0:18:31:82:f0:30
DaVinci EMAC

,but a ping doesnt work and the board dont come back to the u-boot-console.

In Linux we have the same behavior. PHY detectet as generic ...

davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
davinci_mdio davinci_mdio.0: detected phy mask fffffffe
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
davinci_mdio davinci_mdio.0: resetting idled controller
net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:00, id=70431)
ADDRCONF(NETDEV_UP): eth0: link is not ready
IP-Config: Complete:
     device=eth0, addr=10.0.0.3, mask=255.255.255.0, gw=255.255.255.255,
     host=10.0.0.3, domain=, nis-domain=(none),
     bootserver=10.0.0.1, rootserver=10.0.0.1, rootpath=
PHY: 0:00 - Link is Up - 1000/Full
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
ipv6: exports duplicate symbol inet6_unregister_protosw (owned by kernel)
Configuring network interfaces... done.

but doesnt work.

PING 10.0.0.1 (10.0.0.1): 56 data bytes

--- 10.0.0.1 ping statistics ---
19 packets transmitted, 0 packets received, 100% packet loss

We use EZSDK 5.05.02 with PSP 4.04.00.01. What else did we have to configure (besides the PHY ID), that it works in u-boot and linux?

  • Hello,

    We have special guidelines to follow when using different (from the DM816x EVM) ethernet PHY:

    http://processors.wiki.ti.com/index.php/TI81xx_PSP_Porting_Guide#Ethernet_Driver_-_Adding_Custom_Ethernet_Phy

    Check also these threads:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/231135.aspx

    http://e2e.ti.com/support/embedded/linux/f/354/t/166886.aspx

    Regards,

    Pavel