ipq40xx: use correct wired MAC-addresses for RUTX50
authorDavid Bauer <mail@david-bauer.net>
Mon, 13 Jan 2025 14:18:31 +0000 (15:18 +0100)
committerDavid Bauer <mail@david-bauer.net>
Mon, 13 Jan 2025 14:18:31 +0000 (15:18 +0100)
commit08c93512fe39ac25f78fb2ab0f32cb2a830c5b70
tree46ca53939a187f4482bd6975873eca6a79a6fe87
parentac1ad1a7ad6bb3a528def4154e91dd398fda8db5
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 <mail@david-bauer.net>
target/linux/ipq40xx/base-files/lib/preinit/05_set_iface_mac_ipq40xx.sh