Change PHY type in sabresd project

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

Change PHY type in sabresd project

跳至解决方案
976 次查看
niklasmolin
Senior Contributor I

Hi.

I'm upgrading the linux image from branch Daisy to Jethro for our board, using Sabresd machine as reference.

But it seems like it can't find the PHY (Vitesse) on our board, getting message:

fec 2188000.ethernet eth0: no PHY, assuming direct connection to switch

and the PHY mask (when it searches for the PHY, is set to 0xFFFFFFFF (printed in function fec_enet_mii_probe)

In the Daisy branch version, it had no problem to detect the PHY.

Is there some changes I need for this in the device tree file or some other config file?

Thanks,

Niklas

标签 (3)
0 项奖励
1 解答
589 次查看
niklasmolin
Senior Contributor I

I finally had some time to go back and look at this again.

Find an issue in my device tree file.

Included phy = <&phy0>; when setting up the fec.

When I removed this, it scanned through all PHY's and found the PHY located on ID 0.

在原帖中查看解决方案

0 项奖励
3 回复数
590 次查看
niklasmolin
Senior Contributor I

I finally had some time to go back and look at this again.

Find an issue in my device tree file.

Included phy = <&phy0>; when setting up the fec.

When I removed this, it scanned through all PHY's and found the PHY located on ID 0.

0 项奖励
589 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Niklas

I believe no need to device tree changes. One can try to debug in linux or uboot,

adding printfs and comparing with working version. Also one can try to use

L3.14.38_6ul_LINUX_DOCS (REV L3.14.38_6ul)

GZ (3.4 MB) L3.14.38_6UL_LINUX_DOCS

http://www.freescale.com/products/arm-processors/i.mx-applications-processors-based-on-arm-cores/i.m...

Best regards

igor

0 项奖励
589 次查看
niklasmolin
Senior Contributor I

Hi Igor,

Thanks for the update.

I'll look at the information and see if I can get any more info.

Best regards,

Niklas

0 项奖励