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
Scholar mrbietola
Scholar
186 Views
Registered: ‎05-31-2012

Multiple phy on mdio uboot problem

Jump to solution

Hi, i succesfully run kernel with multiple phy on mdio (4 in my case), using the recommendation of the macb wiki page ethernet is working (even if i can't put all the interfaces in the same subnet don't know why)

I can't ping in uboot anyway, but i can read the mdio registers of all the phy.

What should i do?

In the device tree, the mdio is inside the ethernet controller that is connected to the mdio lines.

i haven't applied any patches, Vivado 2019.2

0 Kudos
1 Solution

Accepted Solutions
Scholar mrbietola
Scholar
31 Views
Registered: ‎05-31-2012

Re: Multiple phy on mdio uboot problem

Jump to solution

after struggling i found this AR# 72620 and now i can use 1 eth port, the others don't work

View solution in original post

0 Kudos
3 Replies
Scholar mrbietola
Scholar
104 Views
Registered: ‎05-31-2012

Re: Multiple phy on mdio uboot problem

Jump to solution

there is still need for a patch?

0 Kudos
Scholar mrbietola
Scholar
82 Views
Registered: ‎05-31-2012

Re: Multiple phy on mdio uboot problem

Jump to solution

Actually the device tree looks like this and it works in linux but not in u boot

&gem0 {
phy-handle = <&phy0>;
mdio {
		
	#address-cells = <1>;
	#size-cells = <0>;	
		
		phy0:phy@0 {
			device_type = "ethernet-phy";
			reg = <0>;
		};
		phy1:phy@1 {
			device_type = "ethernet-phy";
			reg = <1>;
		};
		phy2:phy@2 {
			device_type = "ethernet-phy";
			reg = <2>;
		};		
		phy3:phy@3 {
			device_type = "ethernet-phy";
			reg = <3>;
		};
	};

phy0 {
        reg = <0x0>;
    };

phy1 {
        reg = <0x1>;
    };

phy2 {
        reg = <0x2>;
    };

phy3 {
        reg = <0x3>;
    };

};

&gem1 {
phy-handle = <&phy1>;

};

&gem2 {
phy-handle = <&phy2>;

};

&gem3 {
phy-handle = <&phy3>;

};

What should i do to integrate/modificate to have 1 ethernet in u boot?

0 Kudos
Scholar mrbietola
Scholar
32 Views
Registered: ‎05-31-2012

Re: Multiple phy on mdio uboot problem

Jump to solution

after struggling i found this AR# 72620 and now i can use 1 eth port, the others don't work

View solution in original post

0 Kudos