[openwrt/openwrt] qualcommbe: ipq95xx: Define default partition table for RFB SPI-NAND
LEDE Commits
lede-commits at lists.infradead.org
Thu Apr 10 06:01:28 PDT 2025
ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/0a9dc5a6f46418c6b23e0ea8fab6a6c406f1b813
commit 0a9dc5a6f46418c6b23e0ea8fab6a6c406f1b813
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Thu Jan 30 16:45:16 2025 +0100
qualcommbe: ipq95xx: Define default partition table for RFB SPI-NAND
Define default partition table for SPI-NAND mounted on reference board.
This is where is normally placed the rootfs UBI.
Link: https://github.com/openwrt/openwrt/pull/17788
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
...com-ipq9574-add-QPIC-SPI-NAND-default-par.patch | 50 ++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/target/linux/qualcommbe/patches-6.6/307-arm64-dts-qcom-ipq9574-add-QPIC-SPI-NAND-default-par.patch b/target/linux/qualcommbe/patches-6.6/307-arm64-dts-qcom-ipq9574-add-QPIC-SPI-NAND-default-par.patch
new file mode 100644
index 0000000000..b938a2ba07
--- /dev/null
+++ b/target/linux/qualcommbe/patches-6.6/307-arm64-dts-qcom-ipq9574-add-QPIC-SPI-NAND-default-par.patch
@@ -0,0 +1,50 @@
+From 2f328bd852cbb27cf0d2cad1727d8fb7a69abe87 Mon Sep 17 00:00:00 2001
+From: Christian Marangi <ansuelsmth at gmail.com>
+Date: Thu, 30 Jan 2025 00:39:30 +0100
+Subject: [PATCH 2/2] arm64: dts: qcom: ipq9574: add QPIC SPI NAND default
+ partition nodes
+
+Add QPIC SPI NAND default partition nodes for RDP reference board.
+
+Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
+---
+ .../boot/dts/qcom/ipq9574-rdp-common.dtsi | 28 +++++++++++++++++++
+ 1 file changed, 28 insertions(+)
+
+--- a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
++++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
+@@ -281,6 +281,34 @@
+ nand-ecc-engine = <&qpic_nand>;
+ nand-ecc-strength = <4>;
+ nand-ecc-step-size = <512>;
++
++ partitions {
++ compatible = "fixed-partitions";
++ #address-cells = <1>;
++ #size-cells = <1>;
++
++ partition at 0 {
++ label = "0:training";
++ reg = <0x0 0x80000>;
++ read-only;
++ };
++
++ partition at 80000 {
++ label = "0:license";
++ reg = <0x80000 0x40000>;
++ read-only;
++ };
++
++ partition at c0000 {
++ label = "rootfs";
++ reg = <0xc0000 0x3c00000>;
++ };
++
++ partition at 3cc0000 {
++ label = "rootfs_1";
++ reg = <0x3cc0000 0x3c00000>;
++ };
++ };
+ };
+ };
+
More information about the lede-commits
mailing list