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
..
2016-09-04 13:35:11 +02:00
2018-02-08 18:43:13 +01:00
2018-02-12 11:45:33 +01:00
2017-10-28 13:59:03 +02:00
2018-02-10 20:59:52 +01:00
2018-02-12 11:45:33 +01:00
2018-02-13 10:01:53 +01:00
2018-02-09 10:29:07 +01:00
2018-01-20 20:22:01 +01:00
2018-01-09 10:26:16 +01:00
2018-02-13 10:01:53 +01:00
2018-02-13 10:01:52 +01:00
2018-02-08 19:04:38 +01:00
2017-10-18 21:46:05 +02:00
2017-10-24 18:39:17 -07:00
2018-01-10 00:11:39 +02:00
2017-01-10 12:49:34 +01:00