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.

BBB AM335x eth1 如何与以太网交换芯片 交互? 一定需要MDIO接口连接PHY?不用MDIO,直接RGMII接口交互数据可以吗?



基于BBB开发板,eth1连接以太网交换芯片 RTL8368。

RTL8368通过读取EEPROM配置(速率、RGMII接口等配置)。即AM335X与RTL8368使用RGMII连接、交互数据。而没有使用MDIO对RTL8368进行读取、管理。

使用 ti-processor-sdk-linux-am335x-evm-05.02.00.10 ,修改了设备树,使能了 dual_emac 功能。

进入内核后,ifconfig -a 成功出现了 eth1。但无法正常工作,提示:

[  652.300004] net eth1: initializing cpsw version 1.12 (0)
[  652.309852] libphy: PHY 4a101000.mdio:01 not found
[  652.318907] net eth1: phy "4a101000.mdio:01" not found on slave 1, err -19