ipq40xx: fix wallytech ubi size

Fixes: WIFI-7048
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2022-02-12 14:07:26 +01:00
parent 52ea8459e0
commit 011340ed6e

View File

@@ -1,7 +1,7 @@
From 5a9dfd7deb119a2960b062afb9c1a5e7ddc4cf2e Mon Sep 17 00:00:00 2001
From e251101d0e0383714cc1c6ff260beb46f560c37c Mon Sep 17 00:00:00 2001
From: Robert Marko <robert.marko@sartura.hr>
Date: Sat, 4 Sep 2021 06:19:42 +0200
Subject: [PATCH 40/43] ipq40xx: add Wallys DR40x9 support
Subject: [PATCH 01/33] ipq40xx: add Wallys DR40x9 support
Adds support for the Wallys DR40x9 series boards.
They come in IPQ4019 and IPQ4029 versions.
@@ -187,7 +187,7 @@ index ad2946f636..64bb4efaf8 100644
;;
devolo,magic-2-wifi-next)
diff --git a/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh b/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh
index 84abd181dc..8840372ba9 100644
index 62742f0697..fc64807d74 100644
--- a/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh
@@ -73,6 +73,7 @@ platform_do_upgrade() {
@@ -200,7 +200,7 @@ index 84abd181dc..8840372ba9 100644
;;
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq40x9-dr40x9.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq40x9-dr40x9.dts
new file mode 100644
index 0000000000..cb3296f5e5
index 0000000000..34630959e2
--- /dev/null
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq40x9-dr40x9.dts
@@ -0,0 +1,387 @@
@@ -506,7 +506,7 @@ index 0000000000..cb3296f5e5
+
+ partition@0 {
+ label = "ubi";
+ reg = <0x00000000 0x08000000>;
+ reg = <0x00000000 0x04000000>;
+ };
+ };
+ };
@@ -592,10 +592,10 @@ index 0000000000..cb3296f5e5
+ status = "okay";
+};
diff --git a/target/linux/ipq40xx/image/generic.mk b/target/linux/ipq40xx/image/generic.mk
index 4448ed6083..540f1f2778 100644
index 75bf67cf87..8bd02a766f 100644
--- a/target/linux/ipq40xx/image/generic.mk
+++ b/target/linux/ipq40xx/image/generic.mk
@@ -830,6 +830,19 @@ define Device/zyxel_wre6606
@@ -832,6 +832,19 @@ define Device/zyxel_wre6606
endef
TARGET_DEVICES += zyxel_wre6606