LX2080

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

LX2080

585 Views
YY2410
Contributor III

During the LX2080 processor's uboot startup phase, it occasionally gets stuck at the following print position:
“Loading Environment from SPIFlash... SF: Detected mx25uw51245g with page size 256 Bytes, erase size 64 KiB, total 64 MiB
OK
EEPROM: Read failed.
In: serial_pl01x
Out: serial_pl01x
Err: serial_pl01x
Net: Could not get PHY for mdio@8b97000: addr 15”

It should be an MDIO initialization exception that directly causes the system to hang. I want to implement a timeout retry. How can this be done in the device tree?

Tags (2)
0 Kudos
Reply
1 Reply

527 Views
yipingwang
NXP TechSupport
NXP TechSupport

In u-boot dts file arch/arm/dts/fsl-lx2160a-rdb.dts, please modify "reg" value as the real PHY address on MDIO bus.

&emdio1 {
status = "okay";

cortina_phy: ethernet-phy@0 {
reg = <0x0>;//modify as you real PHY address.
};

rgmii_phy1: ethernet-phy@1 {
/* AR8035 PHY - "compatible" property not strictly needed */
compatible = "ethernet-phy-id004d.d072";
reg = <0x1>;//modify as you real PHY address.
};
/* Poll mode - no "interrupts" property defined */
};
rgmii_phy2: ethernet-phy@2 {
/* AR8035 PHY - "compatible" property not strictly needed */
compatible = "ethernet-phy-id004d.d072";
reg = <0x2>;//modify as you real PHY address.
};
/* Poll mode - no "interrupts" property defined */
};
aquantia_phy1: ethernet-phy@4 {
/* AQR107 PHY - "compatible" property not strictly needed */
compatible = "ethernet-phy-ieee802.3-c45";
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
reg = <0x4>;//modify as you real PHY address.
};
};
aquantia_phy2: ethernet-phy@5 {
/* AQR107 PHY - "compatible" property not strictly needed */
compatible = "ethernet-phy-ieee802.3-c45";
interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
reg = <0x5>;//modify as you real PHY address.
};

0 Kudos
Reply