[U-Boot] [PATCH] 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)
Cc: Chen-Yu Tsai wens@csie.org Cc: Corentin LABBE clabbe.montjoie@gmail.com Cc: Amit Singh Tomar amittomer25@gmail.com Signed-off-by: Hans de Goede hdegoede@redhat.com --- configs/orangepi_pc_defconfig | 1 - configs/pine64_plus_defconfig | 1 - 2 files changed, 2 deletions(-)
diff --git a/configs/orangepi_pc_defconfig b/configs/orangepi_pc_defconfig index 2281aed..366fa08 100644 --- a/configs/orangepi_pc_defconfig +++ b/configs/orangepi_pc_defconfig @@ -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 diff --git a/configs/pine64_plus_defconfig b/configs/pine64_plus_defconfig index 5c97de1..0bf79bf 100644 --- a/configs/pine64_plus_defconfig +++ b/configs/pine64_plus_defconfig @@ -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

On Wed, 2016-07-27 at 00:28 +0200, Hans de Goede wrote:
Disable the sun8i emac driver for now, there are 2 issues with it:
- 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)
Cc: Chen-Yu Tsai wens@csie.org Cc: Corentin LABBE clabbe.montjoie@gmail.com Cc: Amit Singh Tomar amittomer25@gmail.com Signed-off-by: Hans de Goede hdegoede@redhat.com
Is someone (in the Cc?) looking into this so we can eventually reenable?
Anyway, for now disabling makes sense I guess:
Acked-by: Ian Campbell ijc@hellion.org.uk
participants (2)
-
Hans de Goede
-
Ian Campbell