Skip to contentSkip to conversation

arm64: dts: agilex/stratix10: Updated QSPI Flash layout for UBIFS

PATCH Applied [email protected] 4 participants 5 messages Jul 3, 2023 – Jul 10, 2023 2 messages not in the archive

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

PATCH v4 1/1 arm64: dts: agilex/stratix10: Updated QSPI Flash layout for UBIFS

From: Alif Zakuan Yuslaimi <[email protected]>

Non-UBIFS related boot and fpga data should be stored in qspi_boot (mtd0) while keeping the rootfs with UBIFS in the root partition "mtd1". Thus, update the QSPI flash layout to support UBIFS in the mtd root partition.

---
V4->V3: Drop cover letter & remove unnecessary marker line V3->V2: Update commit messages
V2->V1: Update subject prefix

 arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 8 ++++----
 arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts     | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts +4 -4
index 38ae674f2f02..12b960b9183c 100644
@@ -202,12 +202,12 @@ partitions {
 
 			qspi_boot: partition@0 {
 				label = "Boot and fpga data";
-				reg = <0x0 0x03FE0000>;
+				reg = <0x0 0x04200000>;
 			};
 
-			qspi_rootfs: partition@3FE0000 {
-				label = "Root Filesystem - JFFS2";
-				reg = <0x03FE0000 0x0C020000>;
+			root: partition@4200000 {
+				label = "Root Filesystem - UBIFS";
+				reg = <0x04200000 0x0BE00000>;
 			};
 		};
 	};
arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts +4 -4
index 07c3f8876613..608017e6e36a 100644
@@ -128,12 +128,12 @@ partitions {
 
 			qspi_boot: partition@0 {
 				label = "Boot and fpga data";
-				reg = <0x0 0x03FE0000>;
+				reg = <0x0 0x04200000>;
 			};
 
-			qspi_rootfs: partition@3FE0000 {
-				label = "Root Filesystem - JFFS2";
-				reg = <0x03FE0000 0x0C020000>;
+			root: partition@4200000 {
+				label = "Root Filesystem - UBIFS";
+				reg = <0x04200000 0x0BE00000>;
 			};
 		};
 	};

base-commit: dad9774deaf1cf8e8f7483310dfb2690310193d2

Signature · 1 line
2.25.1

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 11 lines · Markus Elfring

…

Quoted 3 lines

---
V4->V3: Drop cover letter & remove unnecessary marker line V3->V2: Update commit messages

…

* Do you find the arrow notation helpful for the version identification?

* How do you think about to avoid duplicate data in the version history?

* Would an other listing style become nicer for the “patch changelog”?

This is a complete waste of contributor time. Please stop.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 11 lines
Quoted 3 lines
Quoted 1 line

* Would an other listing style become nicer for the “patch changelog”?

This is a complete waste of contributor time.

I would like to point further possibilities out once more.

The arrow notation is also demonstrated in the Linux development documentation.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Docu
mentation/process/submitting-patches.rst?h=v6.4#n698

Quoted 4 lines

Various patches show that more succinct version identifiers are also accepted. If a bit of duplicate data can be avoided in the version history, the maintenance of corresponding version descriptions can be improved accordingly.

Hi Markus,
Do you suggest to use following?
Changelog:
V2: Changes in v2 xxx
V1: Changes in v1 xxx

A bit lost on the suggestion here.

Quoted 3 lines

Regards,
Markus

#5 lore raw
In reply to [email protected]
Quoted 8 lines · On 03/07/2023 11:08, [email protected] wrote:
Quoted 6 lines · Markus Elfring

…

Quoted 3 lines

---
V4->V3: Drop cover letter & remove unnecessary marker line V3->V2: Update commit messages

…

Quoted 7 lines
Quoted 5 lines

* Do you find the arrow notation helpful for the version identification?

* How do you think about to avoid duplicate data in the version history?

* Would an other listing style become nicer for the “patch changelog”?

This is a complete waste of contributor time. Please stop.

Markus is banned from the LKML. Just ignore the comments.

Best regards,
Krzysztof

maintainer Applied
#6 lore raw
In reply to [email protected]
Quoted 61 lines · On 7/3/23 03:36, [email protected] wrote:

From: Alif Zakuan Yuslaimi <[email protected]>

Non-UBIFS related boot and fpga data should be stored in qspi_boot (mtd0) while keeping the rootfs with UBIFS in the root partition "mtd1". Thus, update the QSPI flash layout to support UBIFS in the mtd root partition.

---
V4->V3: Drop cover letter & remove unnecessary marker line V3->V2: Update commit messages
V2->V1: Update subject prefix

  arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 8 ++++----
  arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts     | 8 ++++----
  2 files changed, 8 insertions(+), 8 deletions(-)
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts +4 -4
index 38ae674f2f02..12b960b9183c 100644
@@ -202,12 +202,12 @@ partitions {
 
  			qspi_boot: partition@0 {
  				label = "Boot and fpga data";
-				reg = <0x0 0x03FE0000>;
+				reg = <0x0 0x04200000>;
  			};
 
-			qspi_rootfs: partition@3FE0000 {
-				label = "Root Filesystem - JFFS2";
-				reg = <0x03FE0000 0x0C020000>;
+			root: partition@4200000 {
+				label = "Root Filesystem - UBIFS";
+				reg = <0x04200000 0x0BE00000>;
  			};
  		};
  	};
arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts +4 -4
index 07c3f8876613..608017e6e36a 100644
@@ -128,12 +128,12 @@ partitions {
 
  			qspi_boot: partition@0 {
  				label = "Boot and fpga data";
-				reg = <0x0 0x03FE0000>;
+				reg = <0x0 0x04200000>;
  			};
 
-			qspi_rootfs: partition@3FE0000 {
-				label = "Root Filesystem - JFFS2";
-				reg = <0x03FE0000 0x0C020000>;
+			root: partition@4200000 {
+				label = "Root Filesystem - UBIFS";
+				reg = <0x04200000 0x0BE00000>;
  			};
  		};
  	};
Quoted 1 line

base-commit: dad9774deaf1cf8e8f7483310dfb2690310193d2

Applied!

Thanks,
Dinh