fixed phy

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

fixed phy

跳至解决方案
4,541 次查看
woutervh
Contributor IV

Hello all,

I have an IMX53 board (own design) connected to a marvell switch through RMII, It has no SMI/MDIO bus. (The marvell switch functions well without configuring)

But I don't seem to manage to get it working in the kernel (2.6.35 from freescale BSP). I found out that there exists a "fixed phy" driver for these purposes, but when I enable it, I get:

Fixed MDIO initialized!

FEC Ethernet Driver

------------[ cut here ]------------

WARNING: at fs/sysfs/dir.c:451 sysfs_add_one+0x64/0x84()

sysfs: cannot create duplicate filename '/class/mdio_bus/0'

Modules linked in:


And things don't work. Somebody has an Idea on how to fix this?

I already tried to replace the name "0" in fixed.c to "fixed-0" and then it goes further, but no eth0 found later on...

1 解答
2,992 次查看
woutervh
Contributor IV

Hello

The fix was: change the id of the fixed bus to "fixed-0", and then add a phy to this fixed-0 bus

在原帖中查看解决方案

3 回复数
2,993 次查看
woutervh
Contributor IV

Hello

The fix was: change the id of the fixed bus to "fixed-0", and then add a phy to this fixed-0 bus

2,992 次查看
ToxicAvenger
Contributor III

Hello,

I have similar problem.

How to add a phy to this fixed-0 bus?

Best regards,

Toxic

0 项奖励
回复
2,993 次查看
JasonLiu
NXP Employee
NXP Employee

Could you please see the thread I discussed before and see any help for you:

Bug #655641 “mii_bus fails to register on imx51” : Bugs : Linaro Linux

0 项奖励
回复