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.

am335x,在uboot下设置了 PHY的近端环回,ping自己不通? 为啥?



拿手头上的 BBB 板子做试验,用 mdio 命令将phy 设置成近端环回,然后ping 板子自身,发现ping 不通;

在 cpsw_recv 和 cpsw_send 分别将接收到的报文和要发送的报文内容都打印出来;发现在ping的时候,335x 只发送了 arp 报文,没有接收到 phy 还回来的 报文;

而通过示波器测量 MAC 和 phy 之间的接收和发送管脚信号,发现在ping自己时,对于CPU侧来时,是有接收信号的。

为啥在 uboot 下 ,cpsw 的 驱动没收到报文呢?

各位大侠知道为啥吗?