Files
meta-sunxi/recipes-kernel/linux/linux-mainline_6.6.85.bbappend
Mark Choi 4a9f1caf6d Fix EMAC Probiing error for orangepi one plus
U-boot probe emac correctly but, kernel does not.

There were two issues.

1. U-boot specified compatible for RTL8211 in dts, but kernel.
 -. https://patchwork.ozlabs.org/project/uboot/patch/20230711003957.658805-2-retpolanne@posteo.net/#3148293

2. Kernel require reset pin for it and controlling.
 -. Add reset pin gpio PD14 and its delays.

[    5.478245] dwmac-sun8i 5020000.ethernet: IRQ eth_wake_irq not found
[    5.520814] dwmac-sun8i 5020000.ethernet: IRQ eth_lpi not found
[    5.538568] dwmac-sun8i 5020000.ethernet: PTP uses main clock
[    5.544627] dwmac-sun8i 5020000.ethernet: Current syscon value is not the default 50846 (expect 50000)
[    5.667069] dwmac-sun8i 5020000.ethernet: No HW DMA feature register supported
[    5.674399] dwmac-sun8i 5020000.ethernet: RX Checksum Offload Engine supported
[    5.674410] dwmac-sun8i 5020000.ethernet: COE Type 2
[    5.674417] dwmac-sun8i 5020000.ethernet: TX Checksum insertion supported
[    5.674424] dwmac-sun8i 5020000.ethernet: Normal descriptors
[    5.674430] dwmac-sun8i 5020000.ethernet: Chain mode enabled
[    5.676599] mdio_bus stmmac-0: MDIO device at address 1 is missing.
[    5.813179] dwmac-sun8i 5020000.ethernet: EMAC reset timeout
[    5.818898] dwmac-sun8i 5020000.ethernet eth0: stmmac_dvr_remove: removing driver
[    5.850571] dwmac-sun8i: probe of 5020000.ethernet failed with error -110

Signed-off-by: Mark Choi <afewgoodman.choi@gmail.com>
2026-02-24 14:43:36 +09:00

6 lines
281 B
Plaintext

SRC_URI:append:orange-pi-one-plus = " file://axp20x.cfg"
SRC_URI:append:orange-pi-one-plus = " file://patches/0001-dts-allwinner-Orangepi-one-plus-Fixed-pmic-error.patch"
SRC_URI:append:orange-pi-one-plus = " file://patches/0002-dts-orange-pi-one-plus-Add-Enable-Ethernet.patch"