openwrtv3/target/linux/ipq806x/base-files/lib/upgrade
Stefan Lippers-Hollmann 4baffa02ce ipq806x: switch to full dual-boot for the nbg6817 sysupgrade support
Instead of writing to the currently booted partition set, this
implements full dual-boot support for sysupgrade by always writing to
the other, currently inactive, partition set and toggling the dualflag
after a successful flash.

The currently active/ booted partition set is determined by parsing
/proc/cmdline for its rootfs parameter (supplied by the DTS), instead
of reading from the 0:DUAL_FLAG mtd, in order to prevent (potentially)
bricking both partition sets.

Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
2018-02-13 12:45:00 +01:00
..
linksys.sh ipq806x: upgrade: fix RAMFS_COPY_* 2017-07-11 17:19:23 +02:00
openmesh.sh ipq806x: add support for OpenMesh A42 2018-01-13 08:00:14 +01:00
platform.sh ipq806x: add support for OpenMesh A42 2018-01-13 08:00:14 +01:00
zyxel.sh ipq806x: switch to full dual-boot for the nbg6817 sysupgrade support 2018-02-13 12:45:00 +01:00