]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dts: beagleboneai64: binman: Include firmware capsules binman nodes
authorJonathan Humphreys <j-humphreys@ti.com>
Fri, 31 May 2024 22:51:09 +0000 (17:51 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jun 2024 18:59:06 +0000 (12:59 -0600)
Fill in the BeagleBoneAI64's capsule GUID properties of the base binman
capsule nodes. Also add it's SYSFW binman capsule node.

Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
arch/arm/dts/k3-j721e-beagleboneai64-u-boot.dtsi
arch/arm/dts/k3-j721e-r5-beagleboneai64.dts

index e202ae16644c6e01cfd4c7ea90784a8db5def931..884f44239e1f3b285bad2cf5c82e7abb01f35419 100644 (file)
                };
        };
 };
+
+#include "k3-binman-capsule.dtsi"
+
+// Capsule update GUIDs in string form.  See beagleboneai64.h
+#define BEAGLEBONEAI64_SPL_IMAGE_GUID_STR "83447222-1e26-40cd-a395-b7de0957e875"
+#define BEAGLEBONEAI64_UBOOT_IMAGE_GUID_STR "4249ff77-c17d-4eb7-a1db-45aa9887d49e"
+
+&capsule_tispl {
+       efi-capsule {
+               image-guid = BEAGLEBONEAI64_SPL_IMAGE_GUID_STR;
+
+               blob {
+                       filename = "tispl.bin_unsigned";
+               };
+       };
+};
+
+&capsule_uboot {
+       efi-capsule {
+               image-guid = BEAGLEBONEAI64_UBOOT_IMAGE_GUID_STR;
+       };
+};
+
 #endif
index 43da4dafba8f68bff9dd148ff3c5c6c48ad6fbb0..d4ef18248b0d948eb68ff35a00b5351be9fdba88 100644 (file)
                };
        };
 };
+
+#include "k3-binman-capsule-r5.dtsi"
+
+// Capsue update GUIDs.  See beagleboneai64.h.
+#define BEAGLEBONEAI64_TIBOOT3_IMAGE_GUID_STR "772a4810-2194-4923-8754-0115870ef367"
+#define BEAGLEBONEAI64_SYSFW_IMAGE_GUID_STR "dfc9c683-49b7-46bd-b3c1-3a3b2fdb135b"
+
+&capsule_tiboot3 {
+       efi-capsule {
+               image-guid = BEAGLEBONEAI64_TIBOOT3_IMAGE_GUID_STR;
+       };
+};
+
+&binman {
+       capsule-sysfw {
+               filename = "sysfw-capsule.bin";
+               efi-capsule {
+                       image-index = <0x4>;
+                       image-guid = BEAGLEBONEAI64_SYSFW_IMAGE_GUID_STR;
+                       private-key = "arch/arm/mach-k3/keys/custMpk.pem";
+                       public-key-cert = "arch/arm/mach-k3/keys/custMpk.crt";
+                       monotonic-count = <0x1>;
+
+                       blob {
+                               filename = "sysfw.itb";
+                       };
+               };
+       };
+};