mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-28 07:26:28 +00:00
OdroidC2: fix long-running ethernet issues (#337)
This commit is contained in:
parent
abdf83c17d
commit
8f8817cacd
@ -0,0 +1,50 @@
|
|||||||
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
|
||||||
|
index b160bd1084de..fffd55787981 100644
|
||||||
|
--- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
|
||||||
|
+++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
|
||||||
|
@@ -461,7 +461,7 @@
|
||||||
|
compatible = "amlogic,meson-gxbb-dwmac", "snps,dwmac";
|
||||||
|
reg = <0x0 0xff3f0000 0x0 0x10000
|
||||||
|
0x0 0xff634540 0x0 0x8>;
|
||||||
|
- interrupts = <GIC_SPI 8 IRQ_TYPE_EDGE_RISING>;
|
||||||
|
+ interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "macirq";
|
||||||
|
clocks = <&clkc CLKID_ETH>,
|
||||||
|
<&clkc CLKID_FCLK_DIV2>,
|
||||||
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
||||||
|
index ed336c7a98a7..44c5c51ff1fa 100644
|
||||||
|
--- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
||||||
|
+++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
||||||
|
@@ -467,7 +467,7 @@
|
||||||
|
compatible = "amlogic,meson-gx-dwmac", "amlogic,meson-gxbb-dwmac", "snps,dwmac";
|
||||||
|
reg = <0x0 0xc9410000 0x0 0x10000
|
||||||
|
0x0 0xc8834540 0x0 0x4>;
|
||||||
|
- interrupts = <GIC_SPI 8 IRQ_TYPE_EDGE_RISING>;
|
||||||
|
+ interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
interrupt-names = "macirq";
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
|
||||||
|
index 00f7be6d83f7..2e1cd5e3a246 100644
|
||||||
|
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
|
||||||
|
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
|
||||||
|
@@ -143,7 +143,6 @@
|
||||||
|
interrupt-parent = <&gpio_intc>;
|
||||||
|
/* MAC_INTR on GPIOZ_15 */
|
||||||
|
interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
|
||||||
|
- eee-broken-1000t;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi
|
||||||
|
index 70325b273bd2..ec09bb5792b7 100644
|
||||||
|
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi
|
||||||
|
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi
|
||||||
|
@@ -142,7 +142,6 @@
|
||||||
|
eth_phy0: ethernet-phy@0 {
|
||||||
|
/* Realtek RTL8211F (0x001cc916) */
|
||||||
|
reg = <0>;
|
||||||
|
- eee-broken-1000t;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
@ -2,7 +2,7 @@ BR2_aarch64=y
|
|||||||
BR2_DL_DIR="/cache/dl"
|
BR2_DL_DIR="/cache/dl"
|
||||||
BR2_CCACHE=y
|
BR2_CCACHE=y
|
||||||
BR2_CCACHE_DIR="/cache/cc"
|
BR2_CCACHE_DIR="/cache/cc"
|
||||||
BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches"
|
BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/hardkernel/odroid-c2/patches"
|
||||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||||
BR2_GCC_VERSION_7_X=y
|
BR2_GCC_VERSION_7_X=y
|
||||||
BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
||||||
|
Loading…
x
Reference in New Issue
Block a user