* [PATCH 1/2] arch: arm64: boot: dts: Updated QSPI Flash layout for UBIFS
@ 2023-06-22 8:53 kah.jing.lee
2023-06-22 19:18 ` Conor Dooley
0 siblings, 1 reply; 3+ messages in thread
From: kah.jing.lee @ 2023-06-22 8:53 UTC (permalink / raw
To: Dinh Nguyen, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Catalin Marinas, Will Deacon
Cc: linux-kernel, devicetree, Alif Zakuan Yuslaimi, Kah Jing Lee
From: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@intel.com>
This patch is to update the QSPI flash layout to support UBIFS in mtd
root partition.
Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@intel.com>
Signed-off-by: Kah Jing Lee <kah.jing.lee@intel.com>
---
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(-)
diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
index 38ae674f2f02..12b960b9183c 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
@@ -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>;
};
};
};
diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
index 07c3f8876613..608017e6e36a 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
@@ -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>;
};
};
};
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] arch: arm64: boot: dts: Updated QSPI Flash layout for UBIFS
2023-06-22 8:53 [PATCH 1/2] arch: arm64: boot: dts: Updated QSPI Flash layout for UBIFS kah.jing.lee
@ 2023-06-22 19:18 ` Conor Dooley
2023-06-23 10:07 ` Lee, Kah Jing
0 siblings, 1 reply; 3+ messages in thread
From: Conor Dooley @ 2023-06-22 19:18 UTC (permalink / raw
To: kah.jing.lee
Cc: Dinh Nguyen, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Catalin Marinas, Will Deacon, linux-kernel, devicetree,
Alif Zakuan Yuslaimi
[-- Attachment #1: Type: text/plain, Size: 2216 bytes --]
On Thu, Jun 22, 2023 at 04:53:19PM +0800, kah.jing.lee@intel.com wrote:
> From: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@intel.com>
>
> This patch is to update the QSPI flash layout to support UBIFS in mtd
> root partition.
That much is clear from the diff. Surely it'd be better to explain *why*
this change is being made, no?
Thanks,
Conor.
>
> Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@intel.com>
> Signed-off-by: Kah Jing Lee <kah.jing.lee@intel.com>
> ---
> 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(-)
>
> diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
> index 38ae674f2f02..12b960b9183c 100644
> --- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
> +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
> @@ -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>;
> };
> };
> };
> diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
> index 07c3f8876613..608017e6e36a 100644
> --- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
> +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
> @@ -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>;
> };
> };
> };
> --
> 2.25.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH 1/2] arch: arm64: boot: dts: Updated QSPI Flash layout for UBIFS
2023-06-22 19:18 ` Conor Dooley
@ 2023-06-23 10:07 ` Lee, Kah Jing
0 siblings, 0 replies; 3+ messages in thread
From: Lee, Kah Jing @ 2023-06-23 10:07 UTC (permalink / raw
To: Conor Dooley
Cc: Dinh Nguyen, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Catalin Marinas, Will Deacon, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, Yuslaimi, Alif Zakuan
> -----Original Message-----
> From: Conor Dooley <conor@kernel.org>
> Sent: Friday, 23 June, 2023 3:19 AM
> To: Lee, Kah Jing <kah.jing.lee@intel.com>
> Cc: Dinh Nguyen <dinguyen@kernel.org>; Rob Herring
> <robh+dt@kernel.org>; Krzysztof Kozlowski
> <krzysztof.kozlowski+dt@linaro.org>; Conor Dooley <conor+dt@kernel.org>;
> Catalin Marinas <catalin.marinas@arm.com>; Will Deacon <will@kernel.org>;
> linux-kernel@vger.kernel.org; devicetree@vger.kernel.org; Yuslaimi, Alif
> Zakuan <alif.zakuan.yuslaimi@intel.com>
> Subject: Re: [PATCH 1/2] arch: arm64: boot: dts: Updated QSPI Flash layout
> for UBIFS
>
> On Thu, Jun 22, 2023 at 04:53:19PM +0800, kah.jing.lee@intel.com wrote:
> > From: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@intel.com>
> >
> > This patch is to update the QSPI flash layout to support UBIFS in mtd
> > root partition.
>
> That much is clear from the diff. Surely it'd be better to explain *why* this
> change is being made, no?
Updated in v3 - Commit message:
Update the QSPI flash layout to support UBIFS in mtd root partition.
Flash layout is updated in order to store non-UBIFS related boot and fpga data in
qspi_boot(mtd0) while keep the rootfs with UBIFS in the root partition(mtd1).
>
> Thanks,
> Conor.
>
> >
> > Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@intel.com>
> > Signed-off-by: Kah Jing Lee <kah.jing.lee@intel.com>
> > ---
> > 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(-)
> >
> > diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
> > b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
> > index 38ae674f2f02..12b960b9183c 100644
> > --- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
> > +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
> > @@ -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>;
> > };
> > };
> > };
> > diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
> > b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
> > index 07c3f8876613..608017e6e36a 100644
> > --- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
> > +++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
> > @@ -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>;
> > };
> > };
> > };
> > --
> > 2.25.1
> >
Thanks.
Regards,
Lee, Kah Jing
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-06-23 10:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-22 8:53 [PATCH 1/2] arch: arm64: boot: dts: Updated QSPI Flash layout for UBIFS kah.jing.lee
2023-06-22 19:18 ` Conor Dooley
2023-06-23 10:07 ` Lee, Kah Jing
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.