sunxi: Disable sun8i emac driver
PATCH 1/1 sunxi: Disable sun8i emac driver
Disable the sun8i emac driver for now, there are 2 issues with it:
1) It is causing issues with network connectivity under the kernel driver, when booting the kernel with v2 of Corentin's sun8i-h3 emac driver, I get the connection status bouncing between connected at 100mbps full-duplex and being down every second.
The second issue is that when trying to use it from u-boot I get a number of unaligned cache flush errors:
=> dhcp
BOOTP broadcast 1
BOOTP broadcast 2
CACHE: Misaligned operation at range [7bf594a8, 7bf59628] BOOTP broadcast 3
CACHE: Misaligned operation at range [7bf59c90, 7bf59e10]
CACHE: Misaligned operation at range [7bf5a478, 7bf5a5f8] DHCP client bound to address 10.42.43.80 (1009 ms)
--- configs/orangepi_pc_defconfig | 1 - configs/pine64_plus_defconfig | 1 - 2 files changed, 2 deletions(-)
configs/orangepi_pc_defconfig +0 -1
@@ -14,4 +14,3 @@ CONFIG_SPL=y # CONFIG_CMD_FPGA is not set CONFIG_SY8106A_POWER=y CONFIG_USB_EHCI_HCD=y -CONFIG_SUN8I_EMAC=y
configs/pine64_plus_defconfig +0 -1
@@ -10,4 +10,3 @@ CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pine64-plus" # CONFIG_CMD_FLASH is not set # CONFIG_CMD_FPGA is not set CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK=y -CONFIG_SUN8I_EMAC=y
Signature · 1 line
2.7.4
PATCH 1/1 sunxi: Disable sun8i emac driver
Quoted 22 lines · Hans de Goede
Disable the sun8i emac driver for now, there are 2 issues with it:
1) It is causing issues with network connectivity under the kernel driver,
when booting the kernel with v2 of Corentin's sun8i-h3 emac driver, I get
the connection status bouncing between connected at 100mbps full- duplex
and being down every second.The second issue is that when trying to use it from u-boot I get a number of unaligned cache flush errors:
=> dhcp
BOOTP broadcast 1
BOOTP broadcast 2
CACHE: Misaligned operation at range [7bf594a8,7bf59628] BOOTP broadcast 3
CACHE: Misaligned operation at range [7bf59c90,7bf59e10]
CACHE: Misaligned operation at range [7bf5a478,7bf5a5f8] DHCP client bound to address 10.42.43.80 (1009 ms)
Quoted 4 lines
Cc Chen-Yu Tsai <[email protected]>Cc Corentin LABBE <[email protected]>Cc Amit Singh Tomar <[email protected]>Signed-off-by Hans de Goede <[email protected]>
Is someone (in the Cc?) looking into this so we can eventually reenable?
Anyway, for now disabling makes sense I guess: