mediatek: mt7623: bpi-r2: bump compat version on boot
authorDaniel Golle <daniel@makrotopia.org>
Sun, 25 Feb 2024 01:38:39 +0000 (01:38 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 25 Feb 2024 01:50:31 +0000 (01:50 +0000)
commit3e8d2f2439d627e8798191b898628197a5dcd69e
treee52c2b3614bf3c7e8691c28b6c63c63a75763946
parent52cd3c74f1de656f9fdefedc742ad72e2a8695b0
mediatek: mt7623: bpi-r2: bump compat version on boot

The device booting successfully indicates that bootloader has been
updated. Set compat_version to 1.1 on new configs and bump
compat_version to 1.1 on first boot after a successful sysupgrade.

Fixes: 6368ed1ae5 ("mediatek: mt7623: phase out uImage.FIT partition parser")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/mt7623/base-files/etc/board.d/05_compat-version [new file with mode: 0644]
target/linux/mediatek/mt7623/base-files/etc/uci-defaults/05_fix-compat-version [new file with mode: 0644]