[PATCH] sunxi: OLinuXino-A64 needs the CONFIG_GMAC_TX_DELAY=4 workaround.
Andre Przywara
andre.przywara at arm.com
Sun Sep 21 02:54:48 CEST 2025
On Thu, 31 Jul 2025 11:29:51 +0300
Vladimir Panov <gbr at voidland.org> wrote:
Hi Vladimir,
sorry for the delay, I somehow missed your email back in July.
> 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
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
> Signed-off-by: Vladimir Panov <gbr at voidland.org>
> ---
>
> configs/a64-olinuxino-emmc_defconfig | 1 +
> configs/a64-olinuxino_defconfig | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/configs/a64-olinuxino-emmc_defconfig
> b/configs/a64-olinuxino-emmc_defconfig index a5989fab1c6..7f333011b48
> 100644 --- a/configs/a64-olinuxino-emmc_defconfig
> +++ b/configs/a64-olinuxino-emmc_defconfig
> @@ -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
> diff --git a/configs/a64-olinuxino_defconfig
> b/configs/a64-olinuxino_defconfig index 0b469c25d0d..0dd93ffa238
> 100644 --- a/configs/a64-olinuxino_defconfig
> +++ b/configs/a64-olinuxino_defconfig
> @@ -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
More information about the U-Boot
mailing list