[OpenWrt-Devel] [PATCH v2] ipq40xx: add label MAC address for FritzBox 4040

Adrian Schmutzler freifunk at adrianschmutzler.de
Mon Oct 7 07:15:04 EDT 2019


The CWMP-Account on the device's label contains the eth0 MAC
address.

This only changes 4.19 files as label-mac-device is introduced
after 19.07 branch, so there won't be a 4.14 release anymore.

Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>

---

Resend, so DTS approach is v2
---
 .../files-4.19/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dts      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dts b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dts
index f9508cc460..b2a32946d9 100644
--- a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dts
+++ b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dts
@@ -14,6 +14,7 @@
 		led-failsafe = &flash;
 		led-running = &power;
 		led-upgrade = &flash;
+		label-mac-device = &gmac0;
 	};
 
 	soc {
-- 
2.20.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list