mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 18:07:52 +00:00
ipq40xx: improve SPW2AC1200 sysupgrade
with this fix it does not matter if the unit is in primary or secondary boot mode. Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
From 68f7dfa638c8b453706c49cb18c1548870eee65c Mon Sep 17 00:00:00 2001
|
From 4d1fff5847b7550e185a87b230529cab68d21967 Mon Sep 17 00:00:00 2001
|
||||||
From: John Crispin <john@phrozen.org>
|
From: John Crispin <john@phrozen.org>
|
||||||
Date: Sat, 4 Sep 2021 06:15:19 +0200
|
Date: Sat, 4 Sep 2021 06:15:19 +0200
|
||||||
Subject: [PATCH 01/11] ipq4018: add EdgeCore SPW2AC1200 support
|
Subject: [PATCH 01/11] ipq4018: add EdgeCore SPW2AC1200 support
|
||||||
@@ -73,7 +73,7 @@ index c8943d3ba3..ad2946f636 100644
|
|||||||
engenius,eap1300 |\
|
engenius,eap1300 |\
|
||||||
engenius,eap2200 |\
|
engenius,eap2200 |\
|
||||||
diff --git a/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh b/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh
|
diff --git a/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh b/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh
|
||||||
index cbdd12c750..1e8a2ef0e1 100644
|
index cbdd12c750..62742f0697 100644
|
||||||
--- a/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh
|
--- a/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh
|
||||||
+++ b/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh
|
+++ b/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh
|
||||||
@@ -77,6 +77,7 @@ platform_do_upgrade() {
|
@@ -77,6 +77,7 @@ platform_do_upgrade() {
|
||||||
@@ -89,7 +89,7 @@ index cbdd12c750..1e8a2ef0e1 100644
|
|||||||
nand_do_upgrade "$1"
|
nand_do_upgrade "$1"
|
||||||
;;
|
;;
|
||||||
+ edgecore,spw2ac1200)
|
+ edgecore,spw2ac1200)
|
||||||
+ CI_UBIPART="rootfs1"
|
+ CI_UBIPART="$(awk -F 'ubi.mtd=' '{printf $2}' /proc/cmdline | sed -e 's/ .*$//')"
|
||||||
+ nand_do_upgrade "$1"
|
+ nand_do_upgrade "$1"
|
||||||
+ ;;
|
+ ;;
|
||||||
asus,map-ac2200)
|
asus,map-ac2200)
|
||||||
|
|||||||
Reference in New Issue
Block a user