Okay, so it requires the vendor driver. Enabled:
- orangepizero2w: fix ethernet using sunxi-gmac driver 路 MichaIng/build@fdd72c0 路 GitHub
- Armbian 路 MichaIng/DietPi@a80e28f 路 GitHub
Pressing thumbs that it compiles.
EDIT: That did not work, the driver was not (attempted to be) compiled. Let me check, maybe some dependency is missing.
EDIT2: The patch was not in the series.conf, i.e. was not applied
. Done with orangepizero2w: fix ethernet using sunxi-gmac driver 路 MichaIng/build@cf6f98e 路 GitHub, and build retriggered.
EDIT3: It is still not compiled. Reason is that CONFIG_MFD_AC200_SUNXI=m for some reason is not applied (a dependency of CONFIG_SUNXI_GMAC), i.e. it is defined in the defconf, but not in the result kernel config. However, it is defined in this patch, which is applied as CONFIG_MFD_AC200=m is effective, and the related driver module present in the kernel package: build/patch/kernel/archive/sunxi-6.18/patches.armbian/drv-mfd-ac200-add-support.patch at main 路 armbian/build 路 GitHub
CONFIG_PWM_SUNXI_ENHANCE=m and CONFIG_I2C=y are present, i.e. dependencies are satisfied. Hence no idea why CONFIG_MFD_AC200_SUNXI is not applied, so that CONFIG_SUNXI_GMAC cannot be applied either. I鈥檒l have another look.
EDIT4: Found it, somehow there are two related patches, a complete one with CONFIG_AC200_PHY_SUNXI, and one with CONFIG_AC200_PHY only:
- build/patch/kernel/archive/sunxi-6.18/patches.armbian/drv-mfd-ac200-add-support.patch at main 路 armbian/build 路 GitHub
- build/patch/kernel/archive/sunxi-6.18/patches.armbian/0202-drv-net-phy-ac200-ephy-add.patch at main 路 armbian/build 路 GitHub
And the latter was applied, causing the missing dependency. Added to our fix, and build retriggered: orangepizero2w: fix ethernet using sunxi-gmac driver 路 MichaIng/build@6120b13 路 GitHub