mediatek: store random MAC address in U-Boot env on first boot
authorDaniel Golle <daniel@makrotopia.org>
Tue, 11 Jan 2022 12:58:50 +0000 (12:58 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 23 Jan 2022 20:20:47 +0000 (20:20 +0000)
commitf5278bf820105c83267d6bc0ad3dfaf1d77a4681
tree183ed3c3a290f768323f9bfd37a9cefce544d78b
parent31872a38be6ae88f782cc0db4a17c058b4dc23bc
mediatek: store random MAC address in U-Boot env on first boot

For devboards without a MAC address assigned from factory, store
the random MAC in U-Boot env on first boot to make it persistent.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/base-files/etc/uci-defaults/99_fwenv-store-ethaddr.sh [new file with mode: 0644]