Hi NXP Technical Team
1. The device information can be displayed, but cannot ping the network.
2. Using a direct connection method, the PC shows that the network is not recognized.
3. How should I investigate next?
&eqos {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_eqos>;
phy-mode = "rmii";
phy-handle = <ðphy0>;
status = "okay";
max-speed = <100>;
snps,rmii_refclk_ext;
mdio {
compatible = "fsl,imx-eqos";
#address-cells = <1>;
#size-cells = <0>;
ethphy0: ethernet-phy@1 {
compatible = "NatSemi DP83848";
reg = <1>;
eee-broken-1000t;
};
};
};
static int setup_eqos(void)
{
struct iomuxc_gpr_base_regs *gpr =
(struct iomuxc_gpr_base_regs *)IOMUXC_GPR_BASE_ADDR;
setup_iomux_eqos();
clrsetbits_le32(&gpr->gpr[1], IOMUXC_GPR_GPR1_GPR_ENET_QOS_INTF_SEL_MASK, BIT(18));
setbits_le32(&gpr->gpr[1], BIT(19)|BIT(20));
return set_clk_eqos(ENET_50MHZ);
}
u-boot=> ping 192.168.1.3
phy_connect
get_phy_id
phy_device_create
phy_id is 536894608
phy_config
genphy_config_aneg
result is 1
phy_startup
dp83848_startup
ethernet@30bf0000 Waiting for PHY auto negotiation to complete..... done
Using ethernet@30bf0000 device
ARP Retry count exceeded; starting again
ping failed; host 192.168.1.3 is not alive
Best Regards
Jason
Hi,
Thank you for your interest in NXP Semiconductor products,
This is replied in the following thread.
Regards