KSZ9031 phy not working on linux 3.10.17

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

KSZ9031 phy not working on linux 3.10.17

2,436件の閲覧回数
philipperey
Contributor I

Hi everyone,

At our work company, we recently made the design of a new board using a KSZ9031 for ethernet connection.

It is working OK in 10/100 mbits mode : I can ping an other host without any issue.

The problem appears when trying gigabit connection : the interface goes up and then down a few seconds later, like a yoyo.

I tried using the mi-tool utility to dump phy registers, but I'm getting an error : SIOCGMIIPHY on 'eth0' failed: No such device.

So the question is : what could be the issue if phy is working in 100mbits but not gigabit ?

We are using a kernel 3.10.17 and I implemented the device tree to support the phy.

I have no experience debugging ethernet phy hardware issues so any help / hint is appreciated.

Thx,

Phil

ラベル(3)
0 件の賞賛
1 返信

1,144件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Phil

one can look at drivers on

https://community.nxp.com/thread/311185

https://community.nxp.com/thread/321938

for RGMII one may need to adjust skew according to i.MX6 RGMII

datasheet requirements, KSZ9031 has skew pad registers

which may be used for tweaking timings.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛