Skip to contentSkip to conversation

arm64: dts: Update NAND MTD partition for Agilex and Stratix 10

PATCH Applied [email protected] 2 participants 2 messages Dec 1, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: Update NAND MTD partition for Agilex and Stratix 10

From: Sin Hui Kho <[email protected]>

Change NAND flash MTD partition in device tree after implementation of UBI and UBIFS. "u-boot" partition remain for raw u-boot image, but "root" partition is use for UBI image containing all other components.

---
 .../dts/altera/socfpga_stratix10_socdk_nand.dts    | 24 ++--------------------
 .../boot/dts/intel/socfpga_agilex_socdk_nand.dts   | 20 ++----------------
 2 files changed, 4 insertions(+), 40 deletions(-)
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts +2 -22
index f9b4a39683cf..bbc3db42d6e8 100644
@@ -119,28 +119,8 @@
 		};
 
 		partition@200000 {
-			label = "env";
-			reg = <0x200000 0x40000>;
-		};
-
-		partition@240000 {
-			label = "dtb";
-			reg = <0x240000 0x40000>;
-		};
-
-		partition@280000 {
-			label = "kernel";
-			reg = <0x280000 0x2000000>;
-		};
-
-		partition@2280000 {
-			label = "misc";
-			reg = <0x2280000 0x2000000>;
-		};
-
-		partition@4280000 {
-			label = "rootfs";
-			reg = <0x4280000 0x3bd80000>;
+			label = "root";
+			reg = <0x200000 0x3fe00000>;
 		};
 	};
 };
arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts +2 -18
index cc2dcabf34e3..57f83481f551 100644
@@ -91,24 +91,8 @@
 			reg = <0 0x200000>;
 		};
 		partition@200000 {
-			label = "env";
-			reg = <0x200000 0x40000>;
-		};
-		partition@240000 {
-			label = "dtb";
-			reg = <0x240000 0x40000>;
-		};
-		partition@280000 {
-			label = "kernel";
-			reg = <0x280000 0x2000000>;
-		};
-		partition@2280000 {
-			label = "misc";
-			reg = <0x2280000 0x2000000>;
-		};
-		partition@4280000 {
-			label = "rootfs";
-			reg = <0x4280000 0x3bd80000>;
+			label = "root";
+			reg = <0x200000 0x3fe00000>;
 		};
 	};
 };
Signature · 1 line
2.13.0
maintainer Applied
#1 lore raw

arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts

Quoted 13 lines · On 12/1/21 4:13 AM, [email protected] wrote:

From: Sin Hui Kho <[email protected]>

Change NAND flash MTD partition in device tree after implementation of UBI and UBIFS. "u-boot" partition remain for raw u-boot image, but "root" partition is use for UBI image containing all other components.

---
  .../dts/altera/socfpga_stratix10_socdk_nand.dts    | 24 ++--------------------
  .../boot/dts/intel/socfpga_agilex_socdk_nand.dts   | 20 ++----------------
  2 files changed, 4 insertions(+), 40 deletions(-)
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts +0 -0

Applied!

Thanks,
Dinh