mpc85xx: set WS-AP3825i mac-address in preinit
authorDavid Bauer <mail@david-bauer.net>
Sun, 24 Apr 2022 23:00:49 +0000 (01:00 +0200)
committerDavid Bauer <mail@david-bauer.net>
Mon, 25 Apr 2022 23:04:30 +0000 (01:04 +0200)
commit3579ee63bccc74f0d9b8761a7da091e5ecc9cf86
treeedd08c02facc0d7d4b25c5f125f186d9a109a095
parent084053ddf77837f404f37c0d146be62ecc12b825
mpc85xx: set WS-AP3825i mac-address in preinit

The bootloader does seem to not correctly patch in the MAC address for
eth0 / eth1 in some cases. While the root cause is not known, manually
applying the MAC-Address in preinit does not hurt.

Reported-by: Tom Herbers <freifunk@tomherbers.de>
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit c6d52515e009d96e0afbe77310bf172f113d0eef)
target/linux/mpc85xx/base-files/lib/preinit/10_fix_eth_mac.sh [new file with mode: 0644]