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>
Fri, 8 Nov 2024 12:37:02 +0000 (12:37 +0000)
commit5e355f1f9084c1b6de3151fbcde948d736292d6c
tree73ec26591af8cbda8f465368801ff32e1e25ff79
parentdc51c4355d48e91ed8fd06d70f0bf71b0b4bc4d2
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
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/ramips/mt7621/base-files/lib/upgrade/ubnt.sh