Skip to contentSkip to conversation

ARM: dts: nuvoton: Fix flash layout This change satisfy OpenBMC requirements for flash layout.

PATCH In review [email protected] 2 participants 9 messages Feb 11, 2021 – Feb 18, 2021

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

PATCH 1/1 ARM: dts: nuvoton: Fix flash layout This change satisfy OpenBMC requirements for flash layout.

From: "Anton D. Kachalov" <[email protected]>

---
 arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 28 +++++++----------------
 1 file changed, 8 insertions(+), 20 deletions(-)
arch/arm/boot/dts/nuvoton-npcm750-evb.dts +8 -20
index bd1eb6ee380f..741c1fee8552 100644
@@ -182,8 +182,8 @@ bbuboot2@80000 {
 				reg = <0x0080000 0x80000>;
 				read-only;
 				};
-			envparam@100000 {
-				label = "env-param";
+			ubootenv@100000 {
+				label = "u-boot-env";
 				reg = <0x0100000 0x40000>;
 				read-only;
 				};
@@ -195,25 +195,13 @@ kernel@200000 {
 				label = "kernel";
 				reg = <0x0200000 0x400000>;
 				};
-			rootfs@600000 {
-				label = "rootfs";
-				reg = <0x0600000 0x700000>;
+			rofs@780000 {
+				label = "rofs";
+				reg = <0x0780000 0x1680000>;
 				};
-			spare1@D00000 {
-				label = "spare1";
-				reg = <0x0D00000 0x200000>;
-				};
-			spare2@0F00000 {
-				label = "spare2";
-				reg = <0x0F00000 0x200000>;
-				};
-			spare3@1100000 {
-				label = "spare3";
-				reg = <0x1100000 0x200000>;
-				};
-			spare4@1300000 {
-				label = "spare4";
-				reg = <0x1300000 0x0>;
+			rwfs@1e00000 {
+				label = "rwfs";
+				reg = <0x1e00000 0x200000>;
 			};
 		};
 	};
Signature · 1 line
2.30.0.478.g8a0d178c01-goog
#1 lore raw

PATCH 1/1 ARM: dts: nuvoton: Add Fii Kudo system

From: Lancelot Kao <[email protected]>

Add device tree for the Kudo BMC. Kudo is an Ampere (Altra) server platform manufactured by Fii and is based on a Nuvoton NPCM730 SoC.

OpenBMC-Staging-Count: 1

---
 arch/arm/boot/dts/Makefile                 |   1 +
 arch/arm/boot/dts/nuvoton-npcm730-kudo.dts | 872 +++++++++++++++++++++
 2 files changed, 873 insertions(+)
 create mode 100644 arch/arm/boot/dts/nuvoton-npcm730-kudo.dts
arch/arm/boot/dts/Makefile +1 -0
index 9a2ab5e6e924..5fd12e8909d3 100644
@@ -338,6 +338,7 @@ dtb-$(CONFIG_ARCH_LPC32XX) += \
 	lpc3250-phy3250.dtb
 dtb-$(CONFIG_ARCH_NPCM7XX) += \
 	nuvoton-npcm730-gsj.dtb \
+	nuvoton-npcm730-kudo.dtb \
 	nuvoton-npcm750-evb.dtb \
 	nuvoton-npcm750-runbmc-olympus.dtb
 dtb-$(CONFIG_MACH_MESON6) += \
arch/arm/boot/dts/nuvoton-npcm730-kudo.dts new file +872 -0

872 lines not on this page · raw message

Signature · 1 line
2.30.0.478.g8a0d178c01-goog
#2 lore raw

Re: [PATCH] ARM: dts: nuvoton: Add Fii Kudo system

Hello Anton,

Quoted 6 lines · On Thu, 11 Feb 2021 at 08:35, <[email protected]> wrote:

From: Lancelot Kao <[email protected]>

Add device tree for the Kudo BMC. Kudo is an Ampere (Altra) server platform manufactured by Fii and is based on a Nuvoton NPCM730 SoC.

I see you got git send email working :)

Where did you want this patch applied? We already have it in the openbmc tree (both 5.8 and 5.10).

If you would like to see it merged upstream, a few notes:

- remove the OpenBMC-Staging-Count tag. That's for us to use in
openbmc land, but will confuse mainline devs
- When sending someone else's patch, be sure to add your own signed
off by. This applies for the openbmc kernel tree as well as mainline.
- Use scripts/get_maintainer.pl in the kernel tree to work out where
to send the patch. In this case, it should go to linux-arm-kernel. You can cc me as I've been helping out with Nuvoton pull requests.

Cheers,

Joel

Quoted 10 lines

OpenBMC-Staging-Count: 1

#3 lore raw

Re: [PATCH] ARM: dts: nuvoton: Add Fii Kudo system

Oh, I did tried to send a specific patch. git send-email shown a correct body message (without actual patch hunks) before sending, but then it sends wrong data (e.g.last commit instead of provided patch file).

I had to subscribe to ML with primary email. Internal issues were caused by using an email alias that I use to sign-offs the commits.

Quoted 42 lines · On Thu, Feb 11, 2021, 10:24 Joel Stanley <[email protected]> wrote:

Hello Anton,

Quoted 6 lines · On Thu, 11 Feb 2021 at 08:35, <[email protected]> wrote:

From: Lancelot Kao <[email protected]>

Add device tree for the Kudo BMC. Kudo is an Ampere (Altra) server platform manufactured by Fii and is based on a Nuvoton NPCM730 SoC.

I see you got git send email working :)

Where did you want this patch applied? We already have it in the openbmc tree (both 5.8 and 5.10).

If you would like to see it merged upstream, a few notes:

- remove the OpenBMC-Staging-Count tag. That's for us to use in
openbmc land, but will confuse mainline devs
- When sending someone else's patch, be sure to add your own signed
off by. This applies for the openbmc kernel tree as well as mainline.
- Use scripts/get_maintainer.pl in the kernel tree to work out where
to send the patch. In this case, it should go to linux-arm-kernel. You can cc me as I've been helping out with Nuvoton pull requests.

Cheers,

Joel

Quoted 9 lines

OpenBMC-Staging-Count: 1

Link:

https://lore.kernel.org/r/[email protected]

Quoted 1 line
#4 lore raw

Re: [PATCH] ARM: dts: nuvoton: Add Fii Kudo system

So, actual patch in the previous email with subject "ARM: dts:
nuvoton: Fix flash layout".

Idk why git send-email decided to send two separate emails.

Quoted 48 lines · Anton Kachalov

Oh, I did tried to send a specific patch. git send-email shown a correct body message (without actual patch hunks) before sending, but then it sends wrong data (e.g.last commit instead of provided patch file).

I had to subscribe to ML with primary email. Internal issues were caused by using an email alias that I use to sign-offs the commits.

Quoted 41 lines · On Thu, Feb 11, 2021, 10:24 Joel Stanley <[email protected]> wrote:

Hello Anton,

Quoted 6 lines · On Thu, 11 Feb 2021 at 08:35, <[email protected]> wrote:

From: Lancelot Kao <[email protected]>

Add device tree for the Kudo BMC. Kudo is an Ampere (Altra) server platform manufactured by Fii and is based on a Nuvoton NPCM730 SoC.

I see you got git send email working :)

Where did you want this patch applied? We already have it in the openbmc tree (both 5.8 and 5.10).

If you would like to see it merged upstream, a few notes:

- remove the OpenBMC-Staging-Count tag. That's for us to use in
openbmc land, but will confuse mainline devs
- When sending someone else's patch, be sure to add your own signed
off by. This applies for the openbmc kernel tree as well as mainline.
- Use scripts/get_maintainer.pl in the kernel tree to work out where
to send the patch. In this case, it should go to linux-arm-kernel. You can cc me as I've been helping out with Nuvoton pull requests.

Cheers,

Joel

Quoted 10 lines

OpenBMC-Staging-Count: 1

#5 lore raw
In reply to [email protected]

Hi, Joel.

This is the correct patch.

Quoted 58 lines · On Thu, 11 Feb 2021 at 09:34, <[email protected]> wrote:

From: "Anton D. Kachalov" <[email protected]>

---
 arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 28 +++++++----------------
 1 file changed, 8 insertions(+), 20 deletions(-)
arch/arm/boot/dts/nuvoton-npcm750-evb.dts +8 -21
index bd1eb6ee380f..741c1fee8552 100644
@@ -182,8 +182,8 @@ bbuboot2@80000 {
                                reg = <0x0080000 0x80000>;
                                read-only;
                                };
-                       envparam@100000 {
-                               label = "env-param";
+                       ubootenv@100000 {
+                               label = "u-boot-env";
                                reg = <0x0100000 0x40000>;
                                read-only;
                                };
@@ -195,25 +195,13 @@ kernel@200000 {
                                label = "kernel";
                                reg = <0x0200000 0x400000>;
                                };
-                       rootfs@600000 {
-                               label = "rootfs";
-                               reg = <0x0600000 0x700000>;
+                       rofs@780000 {
+                               label = "rofs";
+                               reg = <0x0780000 0x1680000>;
                                };
-                       spare1@D00000 {
-                               label = "spare1";
-                               reg = <0x0D00000 0x200000>;
-                               };
-                       spare2@0F00000 {
-                               label = "spare2";
-                               reg = <0x0F00000 0x200000>;
-                               };
-                       spare3@1100000 {
-                               label = "spare3";
-                               reg = <0x1100000 0x200000>;
-                               };
-                       spare4@1300000 {
-                               label = "spare4";
-                               reg = <0x1300000 0x0>;
+                       rwfs@1e00000 {
+                               label = "rwfs";
+                               reg = <0x1e00000 0x200000>;
                        };
                };
        };
--

2.30.0.478.g8a0d178c01-goog

#6 lore raw

Gently ping.

Quoted 64 lines · Anton Kachalov

Hi, Joel.

This is the correct patch.

Quoted 58 lines · On Thu, 11 Feb 2021 at 09:34, <[email protected]> wrote:

From: "Anton D. Kachalov" <[email protected]>

---
 arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 28 +++++++----------------
 1 file changed, 8 insertions(+), 20 deletions(-)
arch/arm/boot/dts/nuvoton-npcm750-evb.dts +8 -21
index bd1eb6ee380f..741c1fee8552 100644
@@ -182,8 +182,8 @@ bbuboot2@80000 {
                                reg = <0x0080000 0x80000>;
                                read-only;
                                };
-                       envparam@100000 {
-                               label = "env-param";
+                       ubootenv@100000 {
+                               label = "u-boot-env";
                                reg = <0x0100000 0x40000>;
                                read-only;
                                };
@@ -195,25 +195,13 @@ kernel@200000 {
                                label = "kernel";
                                reg = <0x0200000 0x400000>;
                                };
-                       rootfs@600000 {
-                               label = "rootfs";
-                               reg = <0x0600000 0x700000>;
+                       rofs@780000 {
+                               label = "rofs";
+                               reg = <0x0780000 0x1680000>;
                                };
-                       spare1@D00000 {
-                               label = "spare1";
-                               reg = <0x0D00000 0x200000>;
-                               };
-                       spare2@0F00000 {
-                               label = "spare2";
-                               reg = <0x0F00000 0x200000>;
-                               };
-                       spare3@1100000 {
-                               label = "spare3";
-                               reg = <0x1100000 0x200000>;
-                               };
-                       spare4@1300000 {
-                               label = "spare4";
-                               reg = <0x1300000 0x0>;
+                       rwfs@1e00000 {
+                               label = "rwfs";
+                               reg = <0x1e00000 0x200000>;
                        };
                };
        };
--

2.30.0.478.g8a0d178c01-goog

#7 lore raw
In reply to Anton Kachalov
Quoted 4 lines · Anton Kachalov

Hi, Joel.

This is the correct patch.

Thanks. I didn't get this email; can you resend the patch?

Please send it to the mainline lists, and use get_maintainers.pl so the nuvoton team can review.

I will apply it to the nuvoton tree for merging next merge window, and to the openbmc tree.

Cheers,

Joel

Quoted 60 lines · On Thu, 11 Feb 2021 at 09:34, <[email protected]> wrote:
Quoted 58 lines

From: "Anton D. Kachalov" <[email protected]>

---
 arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 28 +++++++----------------
 1 file changed, 8 insertions(+), 20 deletions(-)
arch/arm/boot/dts/nuvoton-npcm750-evb.dts +8 -21
index bd1eb6ee380f..741c1fee8552 100644
@@ -182,8 +182,8 @@ bbuboot2@80000 {
                                reg = <0x0080000 0x80000>;
                                read-only;
                                };
-                       envparam@100000 {
-                               label = "env-param";
+                       ubootenv@100000 {
+                               label = "u-boot-env";
                                reg = <0x0100000 0x40000>;
                                read-only;
                                };
@@ -195,25 +195,13 @@ kernel@200000 {
                                label = "kernel";
                                reg = <0x0200000 0x400000>;
                                };
-                       rootfs@600000 {
-                               label = "rootfs";
-                               reg = <0x0600000 0x700000>;
+                       rofs@780000 {
+                               label = "rofs";
+                               reg = <0x0780000 0x1680000>;
                                };
-                       spare1@D00000 {
-                               label = "spare1";
-                               reg = <0x0D00000 0x200000>;
-                               };
-                       spare2@0F00000 {
-                               label = "spare2";
-                               reg = <0x0F00000 0x200000>;
-                               };
-                       spare3@1100000 {
-                               label = "spare3";
-                               reg = <0x1100000 0x200000>;
-                               };
-                       spare4@1300000 {
-                               label = "spare4";
-                               reg = <0x1300000 0x0>;
+                       rwfs@1e00000 {
+                               label = "rwfs";
+                               reg = <0x1e00000 0x200000>;
                        };
                };
        };
--

2.30.0.478.g8a0d178c01-goog

#8 lore raw

Hi, Joel.

Ok, I will resend. What do you mean with sending to mainline lists? In MAINTAINERS the arm/nuvoton mentions this openbmc@ mailing list.

Quoted 79 lines · Joel Stanley
Quoted 4 lines · Anton Kachalov

Hi, Joel.

This is the correct patch.

Thanks. I didn't get this email; can you resend the patch?

Please send it to the mainline lists, and use get_maintainers.pl so the nuvoton team can review.

I will apply it to the nuvoton tree for merging next merge window, and to the openbmc tree.

Cheers,

Joel

Quoted 60 lines · On Thu, 11 Feb 2021 at 09:34, <[email protected]> wrote:
Quoted 58 lines

From: "Anton D. Kachalov" <[email protected]>

---
 arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 28 +++++++----------------
 1 file changed, 8 insertions(+), 20 deletions(-)
arch/arm/boot/dts/nuvoton-npcm750-evb.dts +8 -21
index bd1eb6ee380f..741c1fee8552 100644
@@ -182,8 +182,8 @@ bbuboot2@80000 {
                                reg = <0x0080000 0x80000>;
                                read-only;
                                };
-                       envparam@100000 {
-                               label = "env-param";
+                       ubootenv@100000 {
+                               label = "u-boot-env";
                                reg = <0x0100000 0x40000>;
                                read-only;
                                };
@@ -195,25 +195,13 @@ kernel@200000 {
                                label = "kernel";
                                reg = <0x0200000 0x400000>;
                                };
-                       rootfs@600000 {
-                               label = "rootfs";
-                               reg = <0x0600000 0x700000>;
+                       rofs@780000 {
+                               label = "rofs";
+                               reg = <0x0780000 0x1680000>;
                                };
-                       spare1@D00000 {
-                               label = "spare1";
-                               reg = <0x0D00000 0x200000>;
-                               };
-                       spare2@0F00000 {
-                               label = "spare2";
-                               reg = <0x0F00000 0x200000>;
-                               };
-                       spare3@1100000 {
-                               label = "spare3";
-                               reg = <0x1100000 0x200000>;
-                               };
-                       spare4@1300000 {
-                               label = "spare4";
-                               reg = <0x1300000 0x0>;
+                       rwfs@1e00000 {
+                               label = "rwfs";
+                               reg = <0x1e00000 0x200000>;
                        };
                };
        };
--

2.30.0.478.g8a0d178c01-goog