[openwrt/openwrt] mediatek: filogic: prevent faulty mac address assignment
LEDE Commits
lede-commits at lists.infradead.org
Mon Dec 9 16:07:12 PST 2024
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/b9df2d79b657574dcba018816b7ffd492df9ce79
commit b9df2d79b657574dcba018816b7ffd492df9ce79
Author: Ondřej Niesner <ondra.niesner at seznam.cz>
AuthorDate: Sat Dec 7 17:55:29 2024 +0100
mediatek: filogic: prevent faulty mac address assignment
The vendor U-Boot on the Cudy WR3000 assign random mac addresses on boot
and set the 'local-mac-address' property which prevents Openwrt from
assigning the correct address from evmem.
This patch removes the alias for ethernet0 so that U-Boot doesn't add
the property.
Related to: a55ab9e1343e ("mediatek: filogic: prevent faulty mac address assignment")
Fixes: https://github.com/openwrt/openwrt/issues/15587
Signed-off-by: Ondřej Niesner <ondra.niesner at seznam.cz>
Link: https://github.com/openwrt/openwrt/pull/17201
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
(cherry picked from commit a498a84393a80de9f828b8465906761896ca4940)
---
target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts | 1 -
1 file changed, 1 deletion(-)
diff --git a/target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts b/target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts
index 1ded8b5a68..8af8ef401f 100644
--- a/target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts
+++ b/target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts
@@ -11,7 +11,6 @@
compatible = "cudy,wr3000-v1", "mediatek,mt7981";
aliases {
- ethernet0 = &gmac0;
label-mac-device = &gmac0;
led-boot = &led_status;
led-failsafe = &led_status;
More information about the lede-commits
mailing list