IMXQXP Ethernet not getting ping at 1000Mbps

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMXQXP Ethernet not getting ping at 1000Mbps

243 Views
_asif_muhammed_
Contributor III

Hi,

I have configured ethernet on IMX8QXP based custom board.I am able to get eth0 interface and am able to get ping properly at 100Mbps. But when I tried with 1000Mbps, I am not able to get ping. 

The eth phy I am using is Micrel KSZ9021RNI

The following is my dtb configuration

&fec1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fec1>;
phy-mode = "rgmii";
// phy-mode = "rmii";

phy-handle = <&ethphy0>;
fsl,magic-packet;
nvmem-cells = <&fec_mac0>;
nvmem-cell-names = "mac-address";
// rx-internal-delay-ps = <2000>;
status = "okay";

mdio {
#address-cells = <1>;
#size-cells = <0>;

ethphy0: ethernet-phy@2 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <0>;
//qca,disable-smarteee;
// vddio-supply = <&vddio0>;
// max-speed = <1000> ;
// vddio0: vddio-regulator {
// regulator-min-microvolt = <1800000>;
// regulator-max-microvolt = <1800000>;
// };
};
};
};

dmesg output is as follows:

fec 5b040000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx

The output of ethtool is as follows:

root@root:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 1000baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
master-slave cfg: preferred slave
master-slave status: master
Port: Twisted Pair
PHYAD: 0
Transceiver: external
MDI-X: Unknown
Supports Wake-on: g
Wake-on: d
Link detected: yes

I am using Linux bsp imx_5.15.71_2.2.0.

@AldoG Do you have any insight to this issue. Please revert if you need any more info.

Tags (3)
0 Kudos
2 Replies

210 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

From the logs you have shared everything looks fine, have you looked into the signal integritty?
If everything is working correctly for low speed you configuration is correct, I would say that increasing drive strength help in some cases.

Best regards/Saludos,
Aldo.

0 Kudos

205 Views
_asif_muhammed_
Contributor III
Ok Aldo, I will try doing that and get back to you with the results
0 Kudos