Created
November 2, 2024 09:42
-
-
Save BrokenR3C0RD/e5741a64b92cbd1a1a9733c1fdd92b45 to your computer and use it in GitHub Desktop.
U-Boot failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=> mii info | |
"Synchronous Abort" handler, esr 0x96000044, far 0xda8775c50000004b | |
elr: 000000004a03a3cc lr : 000000004a03a3a4 (reloc) | |
elr: 00000000bff723cc lr : 00000000bff723a4 | |
x0 : da8775c500000003 x1 : 0000000000000031 | |
x2 : 0000000000000003 x3 : 0000000000000003 | |
x4 : 00000000bff72384 x5 : 00000000bbf1d250 | |
x6 : 0000000000000069 x7 : 00000000bbf26000 | |
x8 : 0000000000000000 x9 : 00000000ffffffd0 | |
x10: 000000000000000d x11: 0000000000000006 | |
x12: 00000000bbf12558 x13: 00000000bbf126c0 | |
x14: 0000000000000002 x15: 00000000bbf12124 | |
x16: 00000000bff4f084 x17: 0000000000000000 | |
x18: 00000000bbf17e00 x19: 0000000000020000 | |
x20: 0000000000000030 x21: 0000000000000003 | |
x22: 00000000bbf1d250 x23: 00000000bffbd9e6 | |
x24: 0000000000000000 x25: 0000000000000000 | |
x26: 0000000000000000 x27: 0000000000000000 | |
x28: 00000000bbf24c20 x29: 00000000bbf12270 | |
Code: 32000021 d5033fbf 91408013 f9481e60 (b9004801) | |
Resetting CPU ... | |
--- | |
(gdb) list *0x4a03a3cc | |
0x4a03a3cc is in sun8i_mdio_read (drivers/net/sun8i_emac.c:203). | |
198 mii_cmd |= MDIO_CMD_MII_CLK_CSR_DIV_128 << | |
199 MDIO_CMD_MII_CLK_CSR_SHIFT; | |
200 | |
201 mii_cmd |= MDIO_CMD_MII_BUSY; | |
202 | |
203 writel(mii_cmd, priv->mac_reg + EMAC_MII_CMD); | |
204 | |
205 ret = wait_for_bit_le32(priv->mac_reg + EMAC_MII_CMD, | |
206 MDIO_CMD_MII_BUSY, false, | |
207 CFG_MDIO_TIMEOUT, true); | |
--- | |
emac: ethernet@5020000 { | |
compatible = "allwinner,sun50i-a64-emac"; | |
syscon = <&syscon>; | |
reg = <0x05020000 0x10000>; | |
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; | |
interrupt-names = "macirq"; | |
resets = <&ccu RST_BUS_EMAC>; | |
reset-names = "stmmaceth"; | |
clocks = <&ccu CLK_BUS_EMAC>; | |
clock-names = "stmmaceth"; | |
status = "disabled"; | |
mdio: mdio { | |
compatible = "snps,dwmac-mdio"; | |
#address-cells = <1>; | |
#size-cells = <0>; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment