rampis: mt7621: Edgerouter-X disable toggling of kernel slots
authorTim Lunn <tim@feathertop.org>
Wed, 17 Apr 2024 02:51:22 +0000 (12:51 +1000)
committerPetr Štetiar <ynezz@true.cz>
Thu, 28 Nov 2024 18:46:26 +0000 (18:46 +0000)
commitc2cde63ae654185d2c117ec72c1837b683212734
treea3f5eadd50807836bb317ca0c6e43b23d668adf1
parent4b9e9a03108258bffef7d779cb965f5b91608dd7
rampis: mt7621: Edgerouter-X disable toggling of kernel slots

Uboot selects which kernel slot to boot based on a flag in the factory
mtd partition. Patch ubnt.sh to ensure always flash to kernel1 slot and
update flag if required.

Signed-off-by: Tim Lunn <tim@feathertop.org>
Tested-by: Mauri Sandberg <maukka@ext.kapsi.fi>
Link: https://github.com/openwrt/openwrt/pull/15194
(cherry picked from commit 5e355f1f9084c1b6de3151fbcde948d736292d6c)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/ramips/mt7621/base-files/lib/upgrade/ubnt.sh