From: Edward Chow Date: Mon, 27 Apr 2026 03:13:51 +0000 (+0800) Subject: mpc85xx: unify wrapper address of simple image devices X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9836f7ca132b705bb0593897a29f8ddab150ecc1;p=thirdparty%2Fopenwrt.git mpc85xx: unify wrapper address of simple image devices The wrapper address of simple image devices should have been changed at commit 6a8b831 , but only TL-WDR4900 and BR200-WP are changed at that time, and now the wrapper address changes are split among patches for specific devices. More importantly, commit 6a8b831 forgot to change Enterasys WS-AP3715i, causing https://github.com/openwrt/openwrt/issues/23112 . This commit will gather the change of wrapper address of simple image devices into a dedicated patch file. Tested: Both WS-AP3715i and TL-WDR4900 v1 boot well. Fixes: https://github.com/openwrt/openwrt/issues/23112 Signed-off-by: Edward Chow Link: https://github.com/openwrt/openwrt/pull/23121 Signed-off-by: Robert Marko --- diff --git a/target/linux/mpc85xx/patches-6.12/099-mpc85xx-p1010-change-wrapper-address-of-simple-image-devices.patch b/target/linux/mpc85xx/patches-6.12/099-mpc85xx-p1010-change-wrapper-address-of-simple-image-devices.patch new file mode 100644 index 00000000000..8888121e6d1 --- /dev/null +++ b/target/linux/mpc85xx/patches-6.12/099-mpc85xx-p1010-change-wrapper-address-of-simple-image-devices.patch @@ -0,0 +1,10 @@ +--- a/arch/powerpc/boot/wrapper ++++ b/arch/powerpc/boot/wrapper +@@ -351,6 +351,7 @@ adder875-redboot) + simpleboot-*) + platformo="$object/fixed-head.o $object/simpleboot.o" + binary=y ++ link_address='0x1500000' + ;; + asp834x-redboot) + platformo="$object/fixed-head.o $object/redboot-83xx.o" diff --git a/target/linux/mpc85xx/patches-6.12/100-powerpc-85xx-tl-wdr4900-v1-support.patch b/target/linux/mpc85xx/patches-6.12/100-powerpc-85xx-tl-wdr4900-v1-support.patch index 1ff6a981f09..8412f653bef 100644 --- a/target/linux/mpc85xx/patches-6.12/100-powerpc-85xx-tl-wdr4900-v1-support.patch +++ b/target/linux/mpc85xx/patches-6.12/100-powerpc-85xx-tl-wdr4900-v1-support.patch @@ -12,10 +12,9 @@ Signed-off-by: Gabor Juhos Signed-off-by: Pawel Dembicki --- arch/powerpc/boot/Makefile | 3 ++- - arch/powerpc/boot/wrapper | 5 +++++ arch/powerpc/platforms/85xx/Kconfig | 12 ++++++++++++ arch/powerpc/platforms/85xx/Makefile | 1 + - 4 files changed, 20 insertions(+), 1 deletion(-) + 4 files changed, 15 insertions(+), 1 deletion(-) --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile @@ -36,20 +35,6 @@ Signed-off-by: Pawel Dembicki # Board ports in arch/powerpc/platform/86xx/Kconfig image-$(CONFIG_MVME7100) += dtbImage.mvme7100 ---- a/arch/powerpc/boot/wrapper -+++ b/arch/powerpc/boot/wrapper -@@ -348,6 +348,11 @@ adder875-redboot) - platformo="$object/fixed-head.o $object/redboot-8xx.o" - binary=y - ;; -+simpleboot-tl-wdr4900-v1) -+ platformo="$object/fixed-head.o $object/simpleboot.o" -+ link_address='0x1500000' -+ binary=y -+ ;; - simpleboot-*) - platformo="$object/fixed-head.o $object/simpleboot.o" - binary=y --- a/arch/powerpc/platforms/85xx/Kconfig +++ b/arch/powerpc/platforms/85xx/Kconfig @@ -176,6 +176,18 @@ config STX_GP3 diff --git a/target/linux/mpc85xx/patches-6.12/101-powerpc-85xx-hiveap-330-support.patch b/target/linux/mpc85xx/patches-6.12/101-powerpc-85xx-hiveap-330-support.patch index 79b9da4821d..f8ff82921e4 100644 --- a/target/linux/mpc85xx/patches-6.12/101-powerpc-85xx-hiveap-330-support.patch +++ b/target/linux/mpc85xx/patches-6.12/101-powerpc-85xx-hiveap-330-support.patch @@ -46,13 +46,3 @@ image-$(CONFIG_TL_WDR4900_V1) += simpleImage.tl-wdr4900-v1 # Board ports in arch/powerpc/platform/86xx/Kconfig image-$(CONFIG_MVME7100) += dtbImage.mvme7100 ---- a/arch/powerpc/boot/wrapper -+++ b/arch/powerpc/boot/wrapper -@@ -348,6 +348,7 @@ adder875-redboot) - platformo="$object/fixed-head.o $object/redboot-8xx.o" - binary=y - ;; -+simpleboot-hiveap-330|\ - simpleboot-tl-wdr4900-v1) - platformo="$object/fixed-head.o $object/simpleboot.o" - link_address='0x1500000' diff --git a/target/linux/mpc85xx/patches-6.12/106-powerpc-85xx-ws-ap3710i-support.patch b/target/linux/mpc85xx/patches-6.12/106-powerpc-85xx-ws-ap3710i-support.patch index 98c865f37d7..bef2052b1f4 100644 --- a/target/linux/mpc85xx/patches-6.12/106-powerpc-85xx-ws-ap3710i-support.patch +++ b/target/linux/mpc85xx/patches-6.12/106-powerpc-85xx-ws-ap3710i-support.patch @@ -46,15 +46,3 @@ # Board ports in arch/powerpc/platform/86xx/Kconfig image-$(CONFIG_MVME7100) += dtbImage.mvme7100 ---- a/arch/powerpc/boot/wrapper -+++ b/arch/powerpc/boot/wrapper -@@ -349,7 +349,8 @@ adder875-redboot) - binary=y - ;; - simpleboot-hiveap-330|\ --simpleboot-tl-wdr4900-v1) -+simpleboot-tl-wdr4900-v1|\ -+simpleboot-ws-ap3710i) - platformo="$object/fixed-head.o $object/simpleboot.o" - link_address='0x1500000' - binary=y diff --git a/target/linux/mpc85xx/patches-6.12/107-powerpc-85xx-add-ws-ap3825i-support.patch b/target/linux/mpc85xx/patches-6.12/107-powerpc-85xx-add-ws-ap3825i-support.patch index e53d0db8ee2..4abc4da44ca 100644 --- a/target/linux/mpc85xx/patches-6.12/107-powerpc-85xx-add-ws-ap3825i-support.patch +++ b/target/linux/mpc85xx/patches-6.12/107-powerpc-85xx-add-ws-ap3825i-support.patch @@ -55,8 +55,8 @@ WS-AP3825i AP. --- a/arch/powerpc/boot/wrapper +++ b/arch/powerpc/boot/wrapper -@@ -355,6 +355,11 @@ simpleboot-ws-ap3710i) - link_address='0x1500000' +@@ -348,6 +348,11 @@ adder875-redboot) + platformo="$object/fixed-head.o $object/redboot-8xx.o" binary=y ;; +simpleboot-ws-ap3825i) diff --git a/target/linux/mpc85xx/patches-6.12/110-powerpc-85xx-br200-wp-support.patch b/target/linux/mpc85xx/patches-6.12/110-powerpc-85xx-br200-wp-support.patch index a50e28bdcfa..cdbe4c34141 100644 --- a/target/linux/mpc85xx/patches-6.12/110-powerpc-85xx-br200-wp-support.patch +++ b/target/linux/mpc85xx/patches-6.12/110-powerpc-85xx-br200-wp-support.patch @@ -45,13 +45,3 @@ image-$(CONFIG_HIVEAP_330) += simpleImage.hiveap-330 image-$(CONFIG_TL_WDR4900_V1) += simpleImage.tl-wdr4900-v1 image-$(CONFIG_WS_AP3710I) += simpleImage.ws-ap3710i ---- a/arch/powerpc/boot/wrapper -+++ b/arch/powerpc/boot/wrapper -@@ -348,6 +348,7 @@ adder875-redboot) - platformo="$object/fixed-head.o $object/redboot-8xx.o" - binary=y - ;; -+simpleboot-br200-wp|\ - simpleboot-hiveap-330|\ - simpleboot-tl-wdr4900-v1|\ - simpleboot-ws-ap3710i) diff --git a/target/linux/mpc85xx/patches-6.18/099-mpc85xx-p1010-change-wrapper-address-of-simple-image-devices.patch b/target/linux/mpc85xx/patches-6.18/099-mpc85xx-p1010-change-wrapper-address-of-simple-image-devices.patch new file mode 100644 index 00000000000..b49d1bf2c35 --- /dev/null +++ b/target/linux/mpc85xx/patches-6.18/099-mpc85xx-p1010-change-wrapper-address-of-simple-image-devices.patch @@ -0,0 +1,10 @@ +--- a/arch/powerpc/boot/wrapper ++++ b/arch/powerpc/boot/wrapper +@@ -342,6 +342,7 @@ adder875-redboot) + simpleboot-*) + platformo="$object/fixed-head.o $object/simpleboot.o" + binary=y ++ link_address='0x1500000' + ;; + asp834x-redboot) + platformo="$object/fixed-head.o $object/redboot-83xx.o" diff --git a/target/linux/mpc85xx/patches-6.18/100-powerpc-85xx-tl-wdr4900-v1-support.patch b/target/linux/mpc85xx/patches-6.18/100-powerpc-85xx-tl-wdr4900-v1-support.patch index 237aa0e8c92..0e1a71ea5e8 100644 --- a/target/linux/mpc85xx/patches-6.18/100-powerpc-85xx-tl-wdr4900-v1-support.patch +++ b/target/linux/mpc85xx/patches-6.18/100-powerpc-85xx-tl-wdr4900-v1-support.patch @@ -12,10 +12,9 @@ Signed-off-by: Gabor Juhos Signed-off-by: Pawel Dembicki --- arch/powerpc/boot/Makefile | 3 ++- - arch/powerpc/boot/wrapper | 5 +++++ arch/powerpc/platforms/85xx/Kconfig | 12 ++++++++++++ arch/powerpc/platforms/85xx/Makefile | 1 + - 4 files changed, 20 insertions(+), 1 deletion(-) + 4 files changed, 15 insertions(+), 1 deletion(-) --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile @@ -36,20 +35,6 @@ Signed-off-by: Pawel Dembicki # Board ports in arch/powerpc/platform/86xx/Kconfig image-$(CONFIG_MVME7100) += dtbImage.mvme7100 ---- a/arch/powerpc/boot/wrapper -+++ b/arch/powerpc/boot/wrapper -@@ -339,6 +339,11 @@ adder875-redboot) - platformo="$object/fixed-head.o $object/redboot-8xx.o" - binary=y - ;; -+simpleboot-tl-wdr4900-v1) -+ platformo="$object/fixed-head.o $object/simpleboot.o" -+ link_address='0x1500000' -+ binary=y -+ ;; - simpleboot-*) - platformo="$object/fixed-head.o $object/simpleboot.o" - binary=y --- a/arch/powerpc/platforms/85xx/Kconfig +++ b/arch/powerpc/platforms/85xx/Kconfig @@ -155,6 +155,18 @@ config STX_GP3 diff --git a/target/linux/mpc85xx/patches-6.18/101-powerpc-85xx-hiveap-330-support.patch b/target/linux/mpc85xx/patches-6.18/101-powerpc-85xx-hiveap-330-support.patch index cc0569abc94..24f4f6e6984 100644 --- a/target/linux/mpc85xx/patches-6.18/101-powerpc-85xx-hiveap-330-support.patch +++ b/target/linux/mpc85xx/patches-6.18/101-powerpc-85xx-hiveap-330-support.patch @@ -46,13 +46,3 @@ image-$(CONFIG_TL_WDR4900_V1) += simpleImage.tl-wdr4900-v1 # Board ports in arch/powerpc/platform/86xx/Kconfig image-$(CONFIG_MVME7100) += dtbImage.mvme7100 ---- a/arch/powerpc/boot/wrapper -+++ b/arch/powerpc/boot/wrapper -@@ -339,6 +339,7 @@ adder875-redboot) - platformo="$object/fixed-head.o $object/redboot-8xx.o" - binary=y - ;; -+simpleboot-hiveap-330|\ - simpleboot-tl-wdr4900-v1) - platformo="$object/fixed-head.o $object/simpleboot.o" - link_address='0x1500000' diff --git a/target/linux/mpc85xx/patches-6.18/106-powerpc-85xx-ws-ap3710i-support.patch b/target/linux/mpc85xx/patches-6.18/106-powerpc-85xx-ws-ap3710i-support.patch index 0f0c0f8f2ff..6148027759c 100644 --- a/target/linux/mpc85xx/patches-6.18/106-powerpc-85xx-ws-ap3710i-support.patch +++ b/target/linux/mpc85xx/patches-6.18/106-powerpc-85xx-ws-ap3710i-support.patch @@ -46,15 +46,3 @@ # Board ports in arch/powerpc/platform/86xx/Kconfig image-$(CONFIG_MVME7100) += dtbImage.mvme7100 ---- a/arch/powerpc/boot/wrapper -+++ b/arch/powerpc/boot/wrapper -@@ -340,7 +340,8 @@ adder875-redboot) - binary=y - ;; - simpleboot-hiveap-330|\ --simpleboot-tl-wdr4900-v1) -+simpleboot-tl-wdr4900-v1|\ -+simpleboot-ws-ap3710i) - platformo="$object/fixed-head.o $object/simpleboot.o" - link_address='0x1500000' - binary=y diff --git a/target/linux/mpc85xx/patches-6.18/107-powerpc-85xx-add-ws-ap3825i-support.patch b/target/linux/mpc85xx/patches-6.18/107-powerpc-85xx-add-ws-ap3825i-support.patch index 97e96526014..f4893013fc5 100644 --- a/target/linux/mpc85xx/patches-6.18/107-powerpc-85xx-add-ws-ap3825i-support.patch +++ b/target/linux/mpc85xx/patches-6.18/107-powerpc-85xx-add-ws-ap3825i-support.patch @@ -55,8 +55,8 @@ WS-AP3825i AP. --- a/arch/powerpc/boot/wrapper +++ b/arch/powerpc/boot/wrapper -@@ -346,6 +346,11 @@ simpleboot-ws-ap3710i) - link_address='0x1500000' +@@ -339,6 +339,11 @@ adder875-redboot) + platformo="$object/fixed-head.o $object/redboot-8xx.o" binary=y ;; +simpleboot-ws-ap3825i) diff --git a/target/linux/mpc85xx/patches-6.18/110-powerpc-85xx-br200-wp-support.patch b/target/linux/mpc85xx/patches-6.18/110-powerpc-85xx-br200-wp-support.patch index 8f0a176caa9..3e7ed53ba7a 100644 --- a/target/linux/mpc85xx/patches-6.18/110-powerpc-85xx-br200-wp-support.patch +++ b/target/linux/mpc85xx/patches-6.18/110-powerpc-85xx-br200-wp-support.patch @@ -45,13 +45,3 @@ image-$(CONFIG_HIVEAP_330) += simpleImage.hiveap-330 image-$(CONFIG_TL_WDR4900_V1) += simpleImage.tl-wdr4900-v1 image-$(CONFIG_WS_AP3710I) += simpleImage.ws-ap3710i ---- a/arch/powerpc/boot/wrapper -+++ b/arch/powerpc/boot/wrapper -@@ -339,6 +339,7 @@ adder875-redboot) - platformo="$object/fixed-head.o $object/redboot-8xx.o" - binary=y - ;; -+simpleboot-br200-wp|\ - simpleboot-hiveap-330|\ - simpleboot-tl-wdr4900-v1|\ - simpleboot-ws-ap3710i)