UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
2,725 Views
Registered: ‎03-23-2015

u-boot MDIO phyaddr -1

Hi all,

  I would like to know if there is any problem when u-boot reports 

 

"GEM: e000b000, phyaddr -1, interface rgmii-id"

 

 during bootup.  I do not see  "phyaddr -1" using Analog Device's version of u-boot pre-compiled image so I wonder if there is anything wrong.

 

  My phy is Marvell 88E1512, addr is 0b00000.  I probed the MDIO bus, PHY is detect correctly.  u-boot read reg 1 and 2 first and the data read out compares correctly with reset value.

 

regards,

 

Neo

0 Kudos
3 Replies
Moderator
Moderator
2,690 Views
Registered: ‎12-04-2016

Re: u-boot MDIO phyaddr -1

Hi 

 

Can you provide bit more details, like uboot version and the board that you are using?

 

 

Best Regards

Shabbir

0 Kudos
Adventurer
Adventurer
2,677 Views
Registered: ‎03-23-2015

Re: u-boot MDIO phyaddr -1

Hi Shabbir,

  I am using Petalinux 2016.2.  Custom board, schematic follow closely to PicoZed SDR.

 

Regards,

 

Neo

0 Kudos
Explorer
Explorer
2,660 Views
Registered: ‎10-14-2015

Re: u-boot MDIO phyaddr -1

I had the same issue, the cause was in the device tree that didn't report the phy settiings for gem0.

 

I have added this line in system-top.dts :

&gem0 {
	phy-handle = <&phy0>;
	phy-mode = "rgmii-id";
	status = "okay";
	mdio {
	status = "disable";
	};
	phy0: phy@7 {
	reg = <0x7>;
	};
};

this is valid if you are using the macb drivers: disable the mdio e put the phy node outside the mdio node. be aware of the register number, it could be different in your system

0 Kudos