ipq806x: 5.15: fix wrong boot-partitions values for split partitions
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 14 Dec 2022 01:11:49 +0000 (02:11 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 14 Dec 2022 01:23:22 +0000 (02:23 +0100)
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@hotmail.com> # Askey RT4230W
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-rt4230w-rev6.dts
target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8065-tr4400-v2.dts

index ee257f9d408c6e7657ce5b2e83897edea984a266..5a7088892ad053591e27d08e6a24d2950149ecc0 100644 (file)
                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";
index 10844ecca749abf72553547a9454ed7eeed88c78..8d9601b63247289bcfce3108db7a7d442468ed24 100644 (file)
                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";
index 075c1f7eee3a9c5d80aa653dffc951dfff112e31..7b236af253e6409838c9bc109541c20dffaa5d4d 100644 (file)
                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";