Change PHY type in sabresd project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change PHY type in sabresd project

Jump to solution
956 Views
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

Labels (3)
0 Kudos
1 Solution
569 Views
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.

View solution in original post

0 Kudos
3 Replies
570 Views
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 Kudos
569 Views
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 Kudos
569 Views
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 Kudos