[meta-xilinx] U-boot not recognizing correct Ethernet PHY ADDR

Syed Syed SYEDS at xilinx.com
Wed Nov 22 07:06:41 PST 2017


>In particular, the PHY Address I'm trying to get u-boot to use is 0x7 but it seems intent on using 0xE. I'm not sure I know how to force it to use the right one, or make it auto-detect correctly.

>I initially tried to override the default device tree by changing "CONFIG_DEFAULT_DEVICE_TREE" to point to the one I added in my layer -- but this causes bitbake to crash with a compilation failure, thinking that because u-boot uses a copy of the device tree for the bootloader, that the default xilinx one is pointing to 0xE.
Even if the default phy address passed to the u-boot is incorrect, there is an auto-detect of phy address in the code. See relevant code here: https://raw.githubusercontent.com/Xilinx/u-boot-xlnx/edc84517d690783b5352278e2369a8cc7b392f60/drivers/net/zynq_gem.c/phy_detection().
It seems your fsbl is not initializing GEM properly, probably a gpio pin. See here: https://forums.xilinx.com/t5/Embedded-Linux/Zynq-7010-u-boot-PHY-is-not-detected/td-p/804993

-syed


More information about the meta-xilinx mailing list