difos/target/linux/mediatek/mt7622/base-files/etc/uci-defaults/05_fix-compat-version
INAGAKI Hiroshi e8646f5b3d mediatek: expand kernel size to 6MiB for WSR-2533DHP2
Expand kernel partition size on WSR-2533DHP2 for the kernel larger than
4 MiB.
To prevent upgrading from old firmware before this commit, bump the
compat version to 1.1 and add a message for forced sysupgrade using
factory-uboot.bin image.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2023-09-24 18:42:11 +02:00

11 lines
172 B
Text

. /lib/functions.sh
case "$(board_name)" in
bananapi,bpi-r64|\
buffalo,wsr-2533dhp2)
uci set system.@system[0].compat_version="1.1"
uci commit system
;;
esac
exit 0