openwrt/target/linux/mediatek/filogic/base-files/etc/uci-defaults/05_fix-compat-version
Daniel Golle 61137a8895 mediatek: BananaPi BPi-R3 bootloader update
* Switch to all-UBI layout on SPI-NAND
 * use fitblk driver instead of uImage.FIT partition parser
 * adapt sysupgrade
 * bump COMPAT_VERSION

Remove BROKEN mark now that all needed changes are done.

Boards running images generated before this commit will require
full reflash of the bootloader, re-install from SD card is the
easiest way to achieve that.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-02-15 19:30:08 +00:00

11 lines
147 B
Plaintext

. /lib/functions.sh
case "$(board_name)" in
bananapi,bpi-r3)
uci set system.@system[0].compat_version="1.2"
uci commit system
;;
esac
exit 0