openwrt/target/linux/ath79/mikrotik/base-files/etc/board.d
Robert Marko 070b87e7ac ath79: mikrotik: set compat version for NAND devices
Currently, trying to upgrade on a MikroTik NAND device will force you to
use sysupgrade -n due to:
upgrade: The device is supported, but the config is incompatible to the new image (1.0->1.1). Please upgrade without keeping config (sysupgrade -n).
upgrade: NAND images switched to yafut. If running older image, reinstall from initramfs.

So instead of having users manually set the new compat version lets do
what other targets do and set it for all NAND devices after good boot.

Link: https://github.com/openwrt/openwrt/pull/15754
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-06-19 12:26:19 +02:00
..
01_leds ath79: mikrotik: add rssileds support for Routerboard 911G and RB912UAG 2024-01-07 01:19:56 +01:00
02_network ath79: support MikroTik RouterBOARD 911G-5HPacD 2024-01-07 01:19:56 +01:00
05_compat-version ath79: mikrotik: set compat version for NAND devices 2024-06-19 12:26:19 +02:00