Armada 3720 alike Board - no PHY devices found by mii info, no ping
Lev Olshvang
lev_o at rad.com
Sun Apr 7 17:52:52 CEST 2024
Hello list,
I work with a variant of Marvell Armada 3720 board.
Recently I upgrade Uboot version from 2017 to 2023.07.
As a result PING command failed
Original version of 2017 reports on mii info command
PCPE>> mii info
PHY 0x01: OUI = 0x5A985, Model = 0x2A, Rev = 0x06, 100baseT, HDX
Whilst my new 2023 can not find PHY devices
I made minimal changes to configuration and Device tree files.
Compilation passed, I loaded Uboot using Uart and it successfully reached PCPE prompt
So I tried to test network .
Ping correctly reports it uses eth1 at neta40000 as output interface (exactly as v2017 does),
but ping failed
I did not touch at all PHY and ethernet related definitions, leaving them exactly as it was.
Please advise what to look for.
I do not know how to send full DTS file to list, please instruct me.
Meanwhile I do copy-paste.
Here snipped of DTSI file
---------------------------------------------------------------------------------------------------------
comphy: comphy at 18300 {
compatible = "marvell,mvebu-comphy", "marvell,comphy-armada-3700";
reg = <0x18300 0x28>,
<0x1f300 0x3d000>;
mux-bitcount = <4>;
max-lanes = <3>;
};
--------------------------------------------------------------------------------------------
Here the relevant part of DTS file:
&comphy {
phy0 {
phy-type = <COMPHY_TYPE_SGMII1>;
phy-speed = <COMPHY_SPEED_1_25G>;
};
phy1 {
phy-type = <COMPHY_TYPE_PEX0>;
phy-speed = <COMPHY_SPEED_2_5G>;
};
phy2 {
phy-type = <COMPHY_TYPE_USB3_HOST0>;
phy-speed = <COMPHY_SPEED_5G>;
};
};
ð0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins>, <&smi_pins>;
phy-mode = "rgmii";
phy_addr = <0x2>;
fixed-link {
speed = <1000>;
full-duplex;
};
};
ð1 {
status = "okay";
phy-mode = "sgmii";
phy_addr = <0x1>;
fixed-link {
speed = <1000>;
full-duplex;
};
};
And here snippet of DTSI file :
More information about the U-Boot
mailing list