]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dts: ti: binman: Add base K3 firmware capsule nodes
authorJonathan Humphreys <j-humphreys@ti.com>
Fri, 31 May 2024 22:51:03 +0000 (17:51 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jun 2024 18:59:05 +0000 (12:59 -0600)
Create capsule files for tiboot3.bin, tispl.bin, and u-boot.img.

Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
arch/arm/dts/k3-binman-capsule-r5.dtsi [new file with mode: 0644]
arch/arm/dts/k3-binman-capsule.dtsi [new file with mode: 0644]

diff --git a/arch/arm/dts/k3-binman-capsule-r5.dtsi b/arch/arm/dts/k3-binman-capsule-r5.dtsi
new file mode 100644 (file)
index 0000000..959ceb7
--- /dev/null
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
+ */
+
+&binman {
+       capsule_tiboot3: capsule-tiboot3 {
+               filename = "tiboot3-capsule.bin";
+               efi-capsule {
+                       image-index = <0x1>;
+                       image-guid = "00000000-0000-0000-0000-000000000000";
+                       private-key = "arch/arm/mach-k3/keys/custMpk.pem";
+                       public-key-cert = "arch/arm/mach-k3/keys/custMpk.crt";
+                       monotonic-count = <0x1>;
+
+                       blob {
+                               filename = "tiboot3.bin";
+                       };
+               };
+       };
+};
diff --git a/arch/arm/dts/k3-binman-capsule.dtsi b/arch/arm/dts/k3-binman-capsule.dtsi
new file mode 100644 (file)
index 0000000..17e83c9
--- /dev/null
@@ -0,0 +1,38 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
+ */
+
+&binman {
+       capsule_tispl: capsule-tispl {
+               filename = "tispl-capsule.bin";
+               efi-capsule {
+                       image-index = <0x2>;
+                       image-guid = "00000000-0000-0000-0000-000000000000";
+                       private-key = "arch/arm/mach-k3/keys/custMpk.pem";
+                       public-key-cert = "arch/arm/mach-k3/keys/custMpk.crt";
+                       monotonic-count = <0x1>;
+
+                       blob {
+                               filename = "tispl.bin";
+                       };
+               };
+       };
+};
+
+&binman {
+       capsule_uboot: capsule-uboot {
+               filename = "uboot-capsule.bin";
+               efi-capsule {
+                       image-index = <0x3>;
+                       image-guid = "00000000-0000-0000-0000-000000000000";
+                       private-key = "arch/arm/mach-k3/keys/custMpk.pem";
+                       public-key-cert = "arch/arm/mach-k3/keys/custMpk.crt";
+                       monotonic-count = <0x1>;
+
+                       blob {
+                               filename = "u-boot.img";
+                       };
+               };
+       };
+};