openwrt/target/linux/mediatek/mt7622/base-files/etc
Daniel Golle 49bd38f01a mediatek: set new compat version if booted on R64 and R3
If the board comes up with OpenWrt that means that the bootloader is
recent enough and knows about the new device tree overlays.

Using /etc/board.d/ is not enough in this case because it doesn't
overwrite existing configuration which may exist (and is fine to exist)
if the user updated with 'sysupgrade -F *.itb' and has kept
configuration. They would still need to manually set compat_version
even though the fact that the bootloader env has been updated can be
implied by the fact that the system has started.

Hence we can always set compat_version=1.1 for those two boards using
uci-defaults.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 25e27c4af3)
2023-06-09 19:23:03 +01:00
..
board.d mediatek: use updated device tree overlay mechanism for BPi-R64 2023-06-09 19:23:03 +01:00
hotplug.d/ieee80211 mediatek: add support for reyee AX3200-E5 2022-12-06 12:43:15 +00:00
init.d mediatek: add Linksys E8450 support 2021-02-28 01:20:53 +00:00
uci-defaults mediatek: set new compat version if booted on R64 and R3 2023-06-09 19:23:03 +01:00