Could not get PHY for FSL_MDIO: addr 0

cancel
Showing results for 
Search instead for 
Did you mean: 

Could not get PHY for FSL_MDIO: addr 0

1,513 Views
sukruthrameshba
Contributor III

Hi,

I am using the Custom board.

Getting the above error message from the U-Boot.

PHYAD is set to 0 by default.

But it is not detecting the ethernet PHY in U-Boot.

Could someone help me to know the possible reason for this issue?

Regards,

Sukruth

0 Kudos
1 Reply

965 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello SUKRUTH RAMESH BABU,

Not sure which version u-boot you are using.

Please check the file include/configs/ls1021atwr.h, please configure eTSEC section according to your target board.

Especially the following about PHY addresses definition.

#define TSEC1_PHY_ADDR                  2
#define TSEC2_PHY_ADDR                  0
#define TSEC3_PHY_ADDR                  1

If this problem remains, please enable the debug option as the following to get more debug information.

Please define _DEBUG in drivers/net/phy/phy.c to print more debug information for PHY connection.

Please enable MII_DEBUG in common/miiphyutil.c to get more debug information.


Have a great day,
TIC

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

0 Kudos