openwrt/target/linux/ath79
Thibaut VARÈNE 301bc3290d ath79/mikrotik: don't use mtd-mac-address in DTS
As evidenced here[1] the device MAC address can be stored at a random
offset in the hard_config partition. Rely on sysfs to update the MAC
address correctly.

To match sticker and vendor OS behavior, WAN MAC is set to the device
base MAC and LAN MAC is incremented from that.

Note: this will trigger a harmless kernel message during boot:
ag71xx 19000000.eth: invalid MAC address, using random address

There is no clean workaround to prevent this message from being emitted.

[1] https://github.com/openwrt/openwrt/pull/2850#issuecomment-610809021

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2020-05-08 15:17:17 +02:00
..
base-files/etc/hotplug.d/ieee80211 ath79: add mikrotik subtarget 2020-03-17 11:50:47 +01:00
dts ath79/mikrotik: don't use mtd-mac-address in DTS 2020-05-08 15:17:17 +02:00
files ath79: ag71xx: unify version dependent code 2020-04-27 12:21:45 +02:00
generic ath79: add support for Teltonika RUT955 H7V3C0 2020-04-29 21:32:35 +01:00
image ath79: add support for Teltonika RUT955 H7V3C0 2020-04-29 21:32:35 +01:00
mikrotik ath79/mikrotik: don't use mtd-mac-address in DTS 2020-05-08 15:17:17 +02:00
nand ath79: fix wmac initialization for Zyxel NBG6716 2020-04-13 19:21:56 +02:00
patches-4.19 ath79: remove unused TP-Link partition parser 2020-04-27 12:20:41 +02:00
patches-5.4 ath79: remove unused TP-Link partition parser 2020-04-27 12:20:41 +02:00
tiny ath79: add support for TP-Link TL-MR3420 v3 2020-04-06 11:55:24 +02:00
config-4.19 ath79: remove unused TP-Link partition parser 2020-04-27 12:20:41 +02:00
config-5.4 ath79: remove unused TP-Link partition parser 2020-04-27 12:20:41 +02:00
Makefile ath79: add mikrotik subtarget 2020-03-17 11:50:47 +01:00
modules.mk ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00