所使用的板子是 Kickpi K2B V2 版本, 官方给的linux是5.4, 使用sunxi-gmac驱动, 我编译最新的使用
原理图如图
uboot使用2025.01,设备树使用 sun50i-h618-transpeed-8k618-t.dts
kernel使用6.16.7, 设备树使用 sun50i-h618-longanpi-3h.dts
缩略日志`dmesg | grep -E "(eth)|(phy)|(mac)"''
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.273703] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests (id=vbus)
[ 4.152273] dwmac-sun8i 5020000.ethernet: IRQ eth_wake_irq not found
[ 4.158766] dwmac-sun8i 5020000.ethernet: IRQ eth_lpi not found
[ 4.164703] dwmac-sun8i 5020000.ethernet: IRQ sfty not found
[ 4.170612] dwmac-sun8i 5020000.ethernet: PTP uses main clock
[ 4.176385] dwmac-sun8i 5020000.ethernet: Current syscon value is not the default 58000 (expect 0)
[ 4.185631] dwmac-sun8i 5020000.ethernet: No HW DMA feature register supported
[ 4.192869] dwmac-sun8i 5020000.ethernet: RX Checksum Offload Engine supported
[ 4.200164] dwmac-sun8i 5020000.ethernet: COE Type 2
[ 4.205139] dwmac-sun8i 5020000.ethernet: TX Checksum insertion supported
[ 4.211935] dwmac-sun8i 5020000.ethernet: Normal descriptors
[ 4.217600] dwmac-sun8i 5020000.ethernet: Chain mode enabled
[ 4.224032] mdio_bus stmmac-0: MDIO device at address 1 is missing.
[ 4.331250] dwmac-sun8i 5020000.ethernet: EMAC reset timeout
[ 4.336923] dwmac-sun8i 5020000.ethernet eth0: stmmac_dvr_remove: removing driver
[ 4.368039] dwmac-sun8i 5020000.ethernet: probe with driver dwmac-sun8i failed with error -110
完整日志
minicom.txt