sunxi: OLinuXino-A64 needs the CONFIG_GMAC_TX_DELAY=4 workaround.
PATCH 1/1 sunxi: OLinuXino-A64 needs the CONFIG_GMAC_TX_DELAY=4 workaround.
Olimex OLinuXino-A64's ethernet does not work reliably by default.
It needs the CONFIG_GMAC_TX_DELAY=4 workaround mentioned here:
https://linux-sunxi.org/Olimex_A20-OLinuXino-Lime2#GMAC_quirks
---
configs/a64-olinuxino-emmc_defconfig | 1 + configs/a64-olinuxino_defconfig | 1 + 2 files changed, 2 insertions(+)
configs/a64-olinuxino-emmc_defconfig +1 -0
@@ -7,5 +7,6 @@ CONFIG_MMC_SUNXI_SLOT_EXTRA=2 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_SUN8I_EMAC=y +CONFIG_GMAC_TX_DELAY=4 CONFIG_USB_EHCI_HCD=y CONFIG_USB_OHCI_HCD=y
configs/a64-olinuxino_defconfig +1 -0
@@ -6,5 +6,6 @@ CONFIG_MACH_SUN50I=y CONFIG_MMC_SUNXI_SLOT_EXTRA=2 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set CONFIG_SUN8I_EMAC=y +CONFIG_GMAC_TX_DELAY=4 CONFIG_USB_EHCI_HCD=y CONFIG_USB_OHCI_HCD=y
Signature · 4 lines
2.47.2 base-commit: 79f3e77133bd7248e4579827effc13f97a32a8a8 branch: master
On Thu, 31 Jul 2025 11:29:51 +0300
Vladimir Panov <[email protected]> wrote:
Hi Vladimir,
sorry for the delay, I somehow missed your email back in July.
Quoted 4 lines
Olimex OLinuXino-A64's ethernet does not work reliably by default.
It needs the
CONFIG_GMAC_TX_DELAY=4workaround mentioned here:
https://linux-sunxi.org/Olimex_A20-OLinuXino-Lime2#GMAC_quirks
Mmh, I am a bit confused: how is this supposed to work? CONFIG_GMAC_TX_DELAY is only used in gmac.c, which is only for the A20 GMAC, but is not used or even built for the A64.
When I build an image for a64-olinuxino-emmc_defconfig, I get the exact same binary with and without this patch.
So how does this fix anything?
Cheers,
Andre
Quoted 29 lines
Signed-off-by Vladimir Panov <[email protected]>---
configs/a64-olinuxino-emmc_defconfig | 1 + configs/a64-olinuxino_defconfig | 1 + 2 files changed, 2 insertions(+)(quoted diff) +0
-0b/configs/a64-olinuxino-emmc_defconfig index
a5989fab1c6..7f333011b48100644 --- a/configs/a64-olinuxino-emmc_defconfig
+++ b/configs/a64-olinuxino-emmc_defconfigconfigs/a64-olinuxino-emmc_defconfig +1
-0@@ -7,5 +7,6 @@ CONFIG_MMC_SUNXI_SLOT_EXTRA=2 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_SUN8I_EMAC=y +CONFIG_GMAC_TX_DELAY=4 CONFIG_USB_EHCI_HCD=y CONFIG_USB_OHCI_HCD=y(quoted diff) +0
-0b/configs/a64-olinuxino_defconfig index
0b469c25d0d..0dd93ffa238100644 --- a/configs/a64-olinuxino_defconfig
+++ b/configs/a64-olinuxino_defconfigconfigs/a64-olinuxino_defconfig +1
-0@@ -6,5 +6,6 @@ CONFIG_MACH_SUN50I=y CONFIG_MMC_SUNXI_SLOT_EXTRA=2 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set CONFIG_SUN8I_EMAC=y +CONFIG_GMAC_TX_DELAY=4 CONFIG_USB_EHCI_HCD=y CONFIG_USB_OHCI_HCD=y