aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx
diff options
context:
space:
mode:
authorStefan Lippers-Hollmann <s.l-h@gmx.de>2018-01-18 22:41:44 +0100
committerJohn Crispin <john@phrozen.org>2018-02-13 12:45:00 +0100
commit4baffa02ce2f3b04be37628f0965b0bade5019cf (patch)
tree01a901999bd054844bf4b0707045773d95c67fef /target/linux/brcm63xx
parent42fe7b3bbe682fc7902580226986abe10ffee8ea (diff)
downloadupstream-4baffa02ce2f3b04be37628f0965b0bade5019cf.tar.gz
upstream-4baffa02ce2f3b04be37628f0965b0bade5019cf.tar.bz2
upstream-4baffa02ce2f3b04be37628f0965b0bade5019cf.zip
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>
Diffstat (limited to 'target/linux/brcm63xx')
0 files changed, 0 insertions, 0 deletions