ipq40xx: use correct wired MAC-addresses for RUTX50
authorDavid Bauer <[email protected]>
Mon, 13 Jan 2025 14:18:31 +0000 (15:18 +0100)
committerDavid Bauer <[email protected]>
Thu, 5 Jun 2025 12:11:58 +0000 (14:11 +0200)
commitcab22784b1844c9b250661543a17c223add5d195
tree4b09751257d2d17cb3713c05a103b36acd391429
parent796b7681bf0bad0174ee9d2caf5e025ab0c43493
ipq40xx: use correct wired MAC-addresses for RUTX50

The Teltonika RUTX50 mac-addresses on its wired interfaces are currently
random on every boot.

Setting the mac-addresses from device-tree using nvmem does not work, as
the vendor bootloader mangles the mtd partitions, removing the
nvmem-cells property.

To remedy the random mac-addresse, set the correct ones in preinit.

Signed-off-by: David Bauer <[email protected]>
(cherry picked from commit 08c93512fe39ac25f78fb2ab0f32cb2a830c5b70)
target/linux/ipq40xx/base-files/lib/preinit/05_set_iface_mac_ipq40xx.sh