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.

kernel 无法驱动PHY 芯片



环境: CCSv6, Custom K2l board, Marvell PHY 88E1543

问题: kernel 无法驱动PHY 芯片,但是uboot和裸板都可以将网络跑起来。


我们的板子是自制的K2l board,在调试的过程中可以成功启动uboot 和 linux kernel。 但是kernel 却始终无法驱动PHY芯片。我们使用的是Marvell 88e1543
(对应于Demo 板卡的88E1512)。没有修改过k2l_net.dts,也就是说使用的依然是evm板的配置。

我们的uboot 通过使用general的davinci_eth_phy_write/read 函数已经可以驱动phy。说明phy 硬件工作正常。

kernel 在起来后会报如下错误:

mdio_bus 26200f00.mdio: cannot get PHY at address 0

调试发现 get_phy_id 函数 始终返回 EIO(-5 ) 错误。

请问专家有没有任何移植PHY的建议?需要在kernel上修改哪些东西?