lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 15 Nov 2021 19:12:15 +0800
From:   sin.hui.kho@...ux.intel.com
To:     Dinh Nguyen <dinguyen@...nel.org>,
        Rob Herring <robh+dt@...nel.org>,
        Mark Rutland <mark.rutland@....com>
Cc:     devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
        Sin Hui Kho <sin.hui.kho@...el.com>
Subject: [PATCH] HSD #14014983934: arm64: dts: Update NAND MTD partition for Agilex and Stratix 10

From: Sin Hui Kho <sin.hui.kho@...el.com>

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.

Signed-off-by: Sin Hui Kho <sin.hui.kho@...el.com>
---
 .../dts/altera/socfpga_stratix10_socdk_nand.dts    | 24 ++--------------------
 .../boot/dts/intel/socfpga_agilex_socdk_nand.dts   | 20 ++----------------
 2 files changed, 4 insertions(+), 40 deletions(-)

diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts
index c07966740e14..9511f2bf2d25 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts
@@ -119,28 +119,8 @@
 		};
 
 		partition@...000 {
-			label = "env";
-			reg = <0x200000 0x40000>;
-		};
-
-		partition@...000 {
-			label = "dtb";
-			reg = <0x240000 0x40000>;
-		};
-
-		partition@...000 {
-			label = "kernel";
-			reg = <0x280000 0x2000000>;
-		};
-
-		partition@...0000 {
-			label = "misc";
-			reg = <0x2280000 0x2000000>;
-		};
-
-		partition@...0000 {
-			label = "rootfs";
-			reg = <0x4280000 0x3bd80000>;
+			label = "root";
+			reg = <0x200000 0x3fe00000>;
 		};
 	};
 };
diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts
index 979aa59a6bd0..2327af820cb4 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts
@@ -99,24 +99,8 @@
 			reg = <0 0x200000>;
 		};
 		partition@...000 {
-			label = "env";
-			reg = <0x200000 0x40000>;
-		};
-		partition@...000 {
-			label = "dtb";
-			reg = <0x240000 0x40000>;
-		};
-		partition@...000 {
-			label = "kernel";
-			reg = <0x280000 0x2000000>;
-		};
-		partition@...0000 {
-			label = "misc";
-			reg = <0x2280000 0x2000000>;
-		};
-		partition@...0000 {
-			label = "rootfs";
-			reg = <0x4280000 0x3bd80000>;
+			label = "root";
+			reg = <0x200000 0x3fe00000>;
 		};
 	};
 };
-- 
2.13.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ