All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] arch: arm: dts: k3-am625-phycore-som-binman: Add custMpk to overlays
@ 2025-02-11  6:42 Daniel Schultz
  2025-02-11  6:42 ` [PATCH v2 2/2] arch: arm: dts: k3-am642-phycore-som-binman: " Daniel Schultz
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Daniel Schultz @ 2025-02-11  6:42 UTC (permalink / raw)
  To: w.egorov, trini, u-boot; +Cc: nm, n-francis, d-gole, upstream, Daniel Schultz

There are some device-tree overlays with missing entries for the
keyfile. Add them to sign all images in the U-Boot FIT image.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
Changes:
  v2: Removed keyfile definitions which are already defined in k3-binman.dtsi

 arch/arm/dts/k3-am625-phycore-som-binman.dtsi | 28 +++++++++++++------
 1 file changed, 20 insertions(+), 8 deletions(-)

diff --git a/arch/arm/dts/k3-am625-phycore-som-binman.dtsi b/arch/arm/dts/k3-am625-phycore-som-binman.dtsi
index 31456d23167..4a65427e877 100644
--- a/arch/arm/dts/k3-am625-phycore-som-binman.dtsi
+++ b/arch/arm/dts/k3-am625-phycore-som-binman.dtsi
@@ -321,8 +321,11 @@
 					compression = "none";
 					load = <0x8F000000>;
 					arch = "arm";
-
-					blob-ext {
+					ti-secure {
+						content = <&am6xx_phycore_disable_rtc_dtbo>;
+						keyfile = "custMpk.pem";
+					};
+					am6xx_phycore_disable_rtc_dtbo: blob-ext {
 						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-disable-rtc.dtbo";
 					};
 				};
@@ -333,8 +336,11 @@
 					compression = "none";
 					load = <0x8F001000>;
 					arch = "arm";
-
-					blob-ext {
+					ti-secure {
+						content = <&am6xx_phycore_disable_spi_not_dtbo>;
+						keyfile = "custMpk.pem";
+					};
+					am6xx_phycore_disable_spi_not_dtbo: blob-ext {
 						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-disable-spi-nor.dtbo";
 					};
 				};
@@ -345,8 +351,11 @@
 					compression = "none";
 					load = <0x8F002000>;
 					arch = "arm";
-
-					blob-ext {
+					ti-secure {
+						content = <&am6xx_phycore_disable_eth_phy_dtbo>;
+						keyfile = "custMpk.pem";
+					};
+					am6xx_phycore_disable_eth_phy_dtbo: blob-ext {
 						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-disable-eth-phy.dtbo";
 					};
 				};
@@ -357,8 +366,11 @@
 					compression = "none";
 					load = <0x8F003000>;
 					arch = "arm";
-
-					blob-ext {
+					ti-secure {
+						content = <&am6xx_phycore_disable_qspi_nor_dtbo>;
+						keyfile = "custMpk.pem";
+					};
+					am6xx_phycore_disable_qspi_nor_dtbo: blob-ext {
 						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-qspi-nor.dtbo";
 					};
 				};
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 2/2] arch: arm: dts: k3-am642-phycore-som-binman: Add custMpk to overlays
  2025-02-11  6:42 [PATCH v2 1/2] arch: arm: dts: k3-am625-phycore-som-binman: Add custMpk to overlays Daniel Schultz
@ 2025-02-11  6:42 ` Daniel Schultz
  2025-02-11 10:15   ` Wadim Egorov
  2025-02-27 13:48   ` Daniel Schultz
  2025-02-11 10:15 ` [PATCH v2 1/2] arch: arm: dts: k3-am625-phycore-som-binman: " Wadim Egorov
  2025-02-27 15:23 ` Tom Rini
  2 siblings, 2 replies; 6+ messages in thread
From: Daniel Schultz @ 2025-02-11  6:42 UTC (permalink / raw)
  To: w.egorov, trini, u-boot; +Cc: nm, n-francis, d-gole, upstream, Daniel Schultz

There are some device-tree overlays with missing entries for the
keyfile. Add them to sign all images in the U-Boot FIT image.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
Changes:
  v2: Removed keyfile definitions which are already defined in k3-binman.dtsi

 arch/arm/dts/k3-am642-phycore-som-binman.dtsi | 28 +++++++++++++------
 1 file changed, 20 insertions(+), 8 deletions(-)

diff --git a/arch/arm/dts/k3-am642-phycore-som-binman.dtsi b/arch/arm/dts/k3-am642-phycore-som-binman.dtsi
index 3710564cd4a..5228eed19bf 100644
--- a/arch/arm/dts/k3-am642-phycore-som-binman.dtsi
+++ b/arch/arm/dts/k3-am642-phycore-som-binman.dtsi
@@ -363,8 +363,11 @@
 					compression = "none";
 					load = <0x8F000000>;
 					arch = "arm";
-
-					blob-ext {
+					ti-secure {
+						content = <&am6xx_phycore_disable_rtc_dtbo>;
+						keyfile = "custMpk.pem";
+					};
+					am6xx_phycore_disable_rtc_dtbo: blob-ext {
 						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-disable-rtc.dtbo";
 					};
 				};
@@ -375,8 +378,11 @@
 					compression = "none";
 					load = <0x8F001000>;
 					arch = "arm";
-
-					blob-ext {
+					ti-secure {
+						content = <&am6xx_phycore_disable_spi_not_dtbo>;
+						keyfile = "custMpk.pem";
+					};
+					am6xx_phycore_disable_spi_not_dtbo: blob-ext {
 						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-disable-spi-nor.dtbo";
 					};
 				};
@@ -387,8 +393,11 @@
 					compression = "none";
 					load = <0x8F002000>;
 					arch = "arm";
-
-					blob-ext {
+					ti-secure {
+						content = <&am6xx_phycore_disable_eth_phy_dtbo>;
+						keyfile = "custMpk.pem";
+					};
+					am6xx_phycore_disable_eth_phy_dtbo: blob-ext {
 						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-disable-eth-phy.dtbo";
 					};
 				};
@@ -399,8 +408,11 @@
 					compression = "none";
 					load = <0x8F003000>;
 					arch = "arm";
-
-					blob-ext {
+					ti-secure {
+						content = <&am6xx_phycore_disable_qspi_nor_dtbo>;
+						keyfile = "custMpk.pem";
+					};
+					am6xx_phycore_disable_qspi_nor_dtbo: blob-ext {
 						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-qspi-nor.dtbo";
 					};
 				};
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 1/2] arch: arm: dts: k3-am625-phycore-som-binman: Add custMpk to overlays
  2025-02-11  6:42 [PATCH v2 1/2] arch: arm: dts: k3-am625-phycore-som-binman: Add custMpk to overlays Daniel Schultz
  2025-02-11  6:42 ` [PATCH v2 2/2] arch: arm: dts: k3-am642-phycore-som-binman: " Daniel Schultz
@ 2025-02-11 10:15 ` Wadim Egorov
  2025-02-27 15:23 ` Tom Rini
  2 siblings, 0 replies; 6+ messages in thread
From: Wadim Egorov @ 2025-02-11 10:15 UTC (permalink / raw)
  To: Daniel Schultz, trini, u-boot; +Cc: nm, n-francis, d-gole, upstream

Am 11.02.25 um 13:42 schrieb Daniel Schultz:
> There are some device-tree overlays with missing entries for the
> keyfile. Add them to sign all images in the U-Boot FIT image.
> 
> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Reviewed-by: Wadim Egorov <w.egorov@phytec.de>

> ---
> Changes:
>    v2: Removed keyfile definitions which are already defined in k3-binman.dtsi
> 
>   arch/arm/dts/k3-am625-phycore-som-binman.dtsi | 28 +++++++++++++------
>   1 file changed, 20 insertions(+), 8 deletions(-)
> 
> diff --git a/arch/arm/dts/k3-am625-phycore-som-binman.dtsi b/arch/arm/dts/k3-am625-phycore-som-binman.dtsi
> index 31456d23167..4a65427e877 100644
> --- a/arch/arm/dts/k3-am625-phycore-som-binman.dtsi
> +++ b/arch/arm/dts/k3-am625-phycore-som-binman.dtsi
> @@ -321,8 +321,11 @@
>   					compression = "none";
>   					load = <0x8F000000>;
>   					arch = "arm";
> -
> -					blob-ext {
> +					ti-secure {
> +						content = <&am6xx_phycore_disable_rtc_dtbo>;
> +						keyfile = "custMpk.pem";
> +					};
> +					am6xx_phycore_disable_rtc_dtbo: blob-ext {
>   						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-disable-rtc.dtbo";
>   					};
>   				};
> @@ -333,8 +336,11 @@
>   					compression = "none";
>   					load = <0x8F001000>;
>   					arch = "arm";
> -
> -					blob-ext {
> +					ti-secure {
> +						content = <&am6xx_phycore_disable_spi_not_dtbo>;
> +						keyfile = "custMpk.pem";
> +					};
> +					am6xx_phycore_disable_spi_not_dtbo: blob-ext {
>   						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-disable-spi-nor.dtbo";
>   					};
>   				};
> @@ -345,8 +351,11 @@
>   					compression = "none";
>   					load = <0x8F002000>;
>   					arch = "arm";
> -
> -					blob-ext {
> +					ti-secure {
> +						content = <&am6xx_phycore_disable_eth_phy_dtbo>;
> +						keyfile = "custMpk.pem";
> +					};
> +					am6xx_phycore_disable_eth_phy_dtbo: blob-ext {
>   						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-disable-eth-phy.dtbo";
>   					};
>   				};
> @@ -357,8 +366,11 @@
>   					compression = "none";
>   					load = <0x8F003000>;
>   					arch = "arm";
> -
> -					blob-ext {
> +					ti-secure {
> +						content = <&am6xx_phycore_disable_qspi_nor_dtbo>;
> +						keyfile = "custMpk.pem";
> +					};
> +					am6xx_phycore_disable_qspi_nor_dtbo: blob-ext {
>   						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-qspi-nor.dtbo";
>   					};
>   				};


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 2/2] arch: arm: dts: k3-am642-phycore-som-binman: Add custMpk to overlays
  2025-02-11  6:42 ` [PATCH v2 2/2] arch: arm: dts: k3-am642-phycore-som-binman: " Daniel Schultz
@ 2025-02-11 10:15   ` Wadim Egorov
  2025-02-27 13:48   ` Daniel Schultz
  1 sibling, 0 replies; 6+ messages in thread
From: Wadim Egorov @ 2025-02-11 10:15 UTC (permalink / raw)
  To: Daniel Schultz, trini, u-boot; +Cc: nm, n-francis, d-gole, upstream

Am 11.02.25 um 13:42 schrieb Daniel Schultz:
> There are some device-tree overlays with missing entries for the
> keyfile. Add them to sign all images in the U-Boot FIT image.
> 
> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Reviewed-by: Wadim Egorov <w.egorov@phytec.de>

> ---
> Changes:
>    v2: Removed keyfile definitions which are already defined in k3-binman.dtsi
> 
>   arch/arm/dts/k3-am642-phycore-som-binman.dtsi | 28 +++++++++++++------
>   1 file changed, 20 insertions(+), 8 deletions(-)
> 
> diff --git a/arch/arm/dts/k3-am642-phycore-som-binman.dtsi b/arch/arm/dts/k3-am642-phycore-som-binman.dtsi
> index 3710564cd4a..5228eed19bf 100644
> --- a/arch/arm/dts/k3-am642-phycore-som-binman.dtsi
> +++ b/arch/arm/dts/k3-am642-phycore-som-binman.dtsi
> @@ -363,8 +363,11 @@
>   					compression = "none";
>   					load = <0x8F000000>;
>   					arch = "arm";
> -
> -					blob-ext {
> +					ti-secure {
> +						content = <&am6xx_phycore_disable_rtc_dtbo>;
> +						keyfile = "custMpk.pem";
> +					};
> +					am6xx_phycore_disable_rtc_dtbo: blob-ext {
>   						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-disable-rtc.dtbo";
>   					};
>   				};
> @@ -375,8 +378,11 @@
>   					compression = "none";
>   					load = <0x8F001000>;
>   					arch = "arm";
> -
> -					blob-ext {
> +					ti-secure {
> +						content = <&am6xx_phycore_disable_spi_not_dtbo>;
> +						keyfile = "custMpk.pem";
> +					};
> +					am6xx_phycore_disable_spi_not_dtbo: blob-ext {
>   						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-disable-spi-nor.dtbo";
>   					};
>   				};
> @@ -387,8 +393,11 @@
>   					compression = "none";
>   					load = <0x8F002000>;
>   					arch = "arm";
> -
> -					blob-ext {
> +					ti-secure {
> +						content = <&am6xx_phycore_disable_eth_phy_dtbo>;
> +						keyfile = "custMpk.pem";
> +					};
> +					am6xx_phycore_disable_eth_phy_dtbo: blob-ext {
>   						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-disable-eth-phy.dtbo";
>   					};
>   				};
> @@ -399,8 +408,11 @@
>   					compression = "none";
>   					load = <0x8F003000>;
>   					arch = "arm";
> -
> -					blob-ext {
> +					ti-secure {
> +						content = <&am6xx_phycore_disable_qspi_nor_dtbo>;
> +						keyfile = "custMpk.pem";
> +					};
> +					am6xx_phycore_disable_qspi_nor_dtbo: blob-ext {
>   						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-qspi-nor.dtbo";
>   					};
>   				};


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 2/2] arch: arm: dts: k3-am642-phycore-som-binman: Add custMpk to overlays
  2025-02-11  6:42 ` [PATCH v2 2/2] arch: arm: dts: k3-am642-phycore-som-binman: " Daniel Schultz
  2025-02-11 10:15   ` Wadim Egorov
@ 2025-02-27 13:48   ` Daniel Schultz
  1 sibling, 0 replies; 6+ messages in thread
From: Daniel Schultz @ 2025-02-27 13:48 UTC (permalink / raw)
  To: w.egorov, trini, u-boot; +Cc: nm, n-francis, d-gole, upstream

Hi Tom,

I don't know how strict you're with the upcoming release candidates, but 
would be great if these two patches still can make it into the next release.

Best Regards,
Daniel

On 2/11/25 07:42, Daniel Schultz wrote:
> There are some device-tree overlays with missing entries for the
> keyfile. Add them to sign all images in the U-Boot FIT image.
>
> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
> ---
> Changes:
>    v2: Removed keyfile definitions which are already defined in k3-binman.dtsi
>
>   arch/arm/dts/k3-am642-phycore-som-binman.dtsi | 28 +++++++++++++------
>   1 file changed, 20 insertions(+), 8 deletions(-)
>
> diff --git a/arch/arm/dts/k3-am642-phycore-som-binman.dtsi b/arch/arm/dts/k3-am642-phycore-som-binman.dtsi
> index 3710564cd4a..5228eed19bf 100644
> --- a/arch/arm/dts/k3-am642-phycore-som-binman.dtsi
> +++ b/arch/arm/dts/k3-am642-phycore-som-binman.dtsi
> @@ -363,8 +363,11 @@
>   					compression = "none";
>   					load = <0x8F000000>;
>   					arch = "arm";
> -
> -					blob-ext {
> +					ti-secure {
> +						content = <&am6xx_phycore_disable_rtc_dtbo>;
> +						keyfile = "custMpk.pem";
> +					};
> +					am6xx_phycore_disable_rtc_dtbo: blob-ext {
>   						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-disable-rtc.dtbo";
>   					};
>   				};
> @@ -375,8 +378,11 @@
>   					compression = "none";
>   					load = <0x8F001000>;
>   					arch = "arm";
> -
> -					blob-ext {
> +					ti-secure {
> +						content = <&am6xx_phycore_disable_spi_not_dtbo>;
> +						keyfile = "custMpk.pem";
> +					};
> +					am6xx_phycore_disable_spi_not_dtbo: blob-ext {
>   						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-disable-spi-nor.dtbo";
>   					};
>   				};
> @@ -387,8 +393,11 @@
>   					compression = "none";
>   					load = <0x8F002000>;
>   					arch = "arm";
> -
> -					blob-ext {
> +					ti-secure {
> +						content = <&am6xx_phycore_disable_eth_phy_dtbo>;
> +						keyfile = "custMpk.pem";
> +					};
> +					am6xx_phycore_disable_eth_phy_dtbo: blob-ext {
>   						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-disable-eth-phy.dtbo";
>   					};
>   				};
> @@ -399,8 +408,11 @@
>   					compression = "none";
>   					load = <0x8F003000>;
>   					arch = "arm";
> -
> -					blob-ext {
> +					ti-secure {
> +						content = <&am6xx_phycore_disable_qspi_nor_dtbo>;
> +						keyfile = "custMpk.pem";
> +					};
> +					am6xx_phycore_disable_qspi_nor_dtbo: blob-ext {
>   						filename = "dts/upstream/src/arm64/ti/k3-am6xx-phycore-qspi-nor.dtbo";
>   					};
>   				};

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 1/2] arch: arm: dts: k3-am625-phycore-som-binman: Add custMpk to overlays
  2025-02-11  6:42 [PATCH v2 1/2] arch: arm: dts: k3-am625-phycore-som-binman: Add custMpk to overlays Daniel Schultz
  2025-02-11  6:42 ` [PATCH v2 2/2] arch: arm: dts: k3-am642-phycore-som-binman: " Daniel Schultz
  2025-02-11 10:15 ` [PATCH v2 1/2] arch: arm: dts: k3-am625-phycore-som-binman: " Wadim Egorov
@ 2025-02-27 15:23 ` Tom Rini
  2 siblings, 0 replies; 6+ messages in thread
From: Tom Rini @ 2025-02-27 15:23 UTC (permalink / raw)
  To: w.egorov, u-boot, Daniel Schultz; +Cc: nm, n-francis, d-gole, upstream

On Mon, 10 Feb 2025 22:42:04 -0800, Daniel Schultz wrote:

> There are some device-tree overlays with missing entries for the
> keyfile. Add them to sign all images in the U-Boot FIT image.
> 
> 

Applied to u-boot/master, thanks!

-- 
Tom



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-02-27 15:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-11  6:42 [PATCH v2 1/2] arch: arm: dts: k3-am625-phycore-som-binman: Add custMpk to overlays Daniel Schultz
2025-02-11  6:42 ` [PATCH v2 2/2] arch: arm: dts: k3-am642-phycore-som-binman: " Daniel Schultz
2025-02-11 10:15   ` Wadim Egorov
2025-02-27 13:48   ` Daniel Schultz
2025-02-11 10:15 ` [PATCH v2 1/2] arch: arm: dts: k3-am625-phycore-som-binman: " Wadim Egorov
2025-02-27 15:23 ` Tom Rini

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.