We are having problems bringing up the Ethernet connection on our DM365 design. We are using a LXT971 PHY, as we used on a previous DM6446 design. There is nothing else on the EMAC bus.
Our board designed is closely based on the DM365 EVM and we are using the U-Boot code based on this EMV board (make davinci_dm365_evm_config). The main difference is the LXT971 PHY, where the EVM uses a KS8001L, which uboot recognizes as a Generic PHY.
UBoot recognizes the LXT971 PHY and we are able to get link at 100M.
Connecting to a network, Ping works sporadically. However, we are never able to get a TCP/IP connection, such as TFTP or DHCP.
We then started running PHY loopback tests, both internal (phy register 0x0: 0x6100) and external (loop back plug). On small packet sizes, it mostly works. However, it will eventually fail. When testing 10MB loopback ( phy register 0x0: 0x4100) it won’t even create an active link.
We wrote a test that allows us to change the number of bytes in the packets. It will consistently work, up to 720 bytes. It will fail at 721.
We have tried this on four different boards and get "almost" the exact same results.
We saw a note about increasing the MII drive strength on the LXT971, but this had no impact.
HELP!