Skip to contentSkip to conversation

arch: arm: dts: k3-am625-phycore-som-binman: Add custMpk to overlays

PATCH In review Daniel Schultz 3 participants 6 messages Feb 11, 2025 – Feb 27, 2025 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 arch: arm: dts: k3-am625-phycore-som-binman: Add custMpk to overlays

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

---
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(-)
arch/arm/dts/k3-am625-phycore-som-binman.dtsi +20 -8
index 31456d23167..4a65427e877 100644
@@ -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";
 					};
 				};
Signature · 1 line
2.25.1
#1 lore raw

PATCH v2 2/2 arch: arm: dts: k3-am642-phycore-som-binman: Add custMpk to overlays

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

---
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(-)
arch/arm/dts/k3-am642-phycore-som-binman.dtsi +20 -8
index 3710564cd4a..5228eed19bf 100644
@@ -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";
 					};
 				};
Signature · 1 line
2.25.1
Reviewed-by on v2 1/2
#4 lore raw
In reply to Daniel Schultz

Am 11.02.25 um 13:42 schrieb Daniel Schultz:

Quoted 4 lines

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

Quoted 67 lines

---
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(-)
arch/arm/dts/k3-am625-phycore-som-binman.dtsi +20 -8
index 31456d23167..4a65427e877 100644
@@ -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";
  					};
  				};
Reviewed-by on v2 2/2
#2 lore raw

Re: [PATCH v2 2/2] arch: arm: dts: k3-am642-phycore-som-binman: Add custMpk to overlays

In reply to Daniel Schultz

Am 11.02.25 um 13:42 schrieb Daniel Schultz:

Quoted 4 lines

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

Quoted 67 lines

---
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(-)
arch/arm/dts/k3-am642-phycore-som-binman.dtsi +20 -8
index 3710564cd4a..5228eed19bf 100644
@@ -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";
  					};
  				};
#3 lore raw

Re: [PATCH v2 2/2] arch: arm: dts: k3-am642-phycore-som-binman: Add custMpk to overlays

In reply to Daniel Schultz

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

Quoted 71 lines · 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.

---
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(-)
arch/arm/dts/k3-am642-phycore-som-binman.dtsi +20 -8
index 3710564cd4a..5228eed19bf 100644
@@ -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";
  					};
  				};
#5 lore raw
In reply to Daniel Schultz
Quoted 4 lines · 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.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom