openwrt/target/linux/ramips/mt7621/base-files/lib/upgrade
Bjørn Mork 79112e7d47 ramips: force ZyXEL NR7101 to boot from "Kernel" partition
Make sure BootingFlag points to the system partition we install to.

The BootingFlag variable selects which system partition the system
boots from (0 => "Kernel", 1 => "Kernel2"). OpenWrt does not yet have
device specific support for this dual image scheme, and can therefore
only boot from "Kernel".

This has not been an issue until now, since all known OEM firmware
versions have ignored "Kernel2" - leaving the BootingFlag fixed at 0.
But the newest OEM firmware has a new upgrade procedure, installing
to the "inactive" system partition and setting BootingFlag accordingly.

This workaround is needed until the dual image scheme is fully
supported.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
2022-06-24 09:18:03 +02:00
..
iodata.sh ramips: mt7621: use preferred logic in lib/upgrade/iodata.sh 2021-02-07 21:58:51 +01:00
platform.sh ramips: force ZyXEL NR7101 to boot from "Kernel" partition 2022-06-24 09:18:03 +02:00
ubnt.sh ramips: split base-files into subtargets 2019-11-03 00:26:17 +01:00