[openwrt/openwrt] ipq806x: 5.15: fix wrong boot-partitions values for split partitions
LEDE Commits
lede-commits at lists.infradead.org
Tue Dec 13 17:23:24 PST 2022
ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/266b261d39f9af5b788091d4b19839deb46761ad
commit 266b261d39f9af5b788091d4b19839deb46761ad
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Wed Dec 14 02:11:49 2022 +0100
ipq806x: 5.15: fix wrong boot-partitions values for split partitions
The refreshed patch actually use the format of <start size start size>
instead of <start end start end>. This cause boot fail since the rootfs
can't be mounted with these wrong values.
Fix it to the correct format in each affected dts.
Fixes: #11498
Fixes: 6134ba4a34db ("ipq806x: 5.15: add boot-partitions binding to fix block warning")
Tested-by: Matt Buczko <mbuczko at hotmail.com> # Askey RT4230W
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
.../linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts | 2 +-
.../ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-rt4230w-rev6.dts | 2 +-
.../ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-tr4400-v2.dts | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts b/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts
index ee257f9d40..5a7088892a 100644
--- a/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts
+++ b/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts
@@ -119,7 +119,7 @@
nand-ecc-step-size = <512>;
nand-is-boot-medium;
- qcom,boot-partitions = <0x0 0x1180000 0x5340000 0x6400000>;
+ qcom,boot-partitions = <0x0 0x1180000 0x5340000 0x10c0000>;
partitions {
compatible = "fixed-partitions";
diff --git a/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-rt4230w-rev6.dts b/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-rt4230w-rev6.dts
index 10844ecca7..8d9601b632 100644
--- a/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-rt4230w-rev6.dts
+++ b/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-rt4230w-rev6.dts
@@ -138,7 +138,7 @@
nand-bus-width = <8>;
nand-ecc-step-size = <512>;
- qcom,boot-partitions = <0x0 0x1180000 0x1340000 0x2400000>;
+ qcom,boot-partitions = <0x0 0x1180000 0x1340000 0x10c0000>;
partitions {
compatible = "fixed-partitions";
diff --git a/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-tr4400-v2.dts b/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-tr4400-v2.dts
index 075c1f7eee..7b236af253 100644
--- a/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-tr4400-v2.dts
+++ b/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-tr4400-v2.dts
@@ -127,7 +127,7 @@
nand-bus-width = <8>;
nand-ecc-step-size = <512>;
- qcom,boot-partitions = <0x0 0x1180000 0x5340000 0x6400000>;
+ qcom,boot-partitions = <0x0 0x1180000 0x5340000 0x10c0000>;
partitions {
compatible = "fixed-partitions";
More information about the lede-commits
mailing list