]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: k3: binman: am62a: add support for signing TIFSStub Images
authorDhruva Gole <d-gole@ti.com>
Fri, 7 Jun 2024 08:56:40 +0000 (14:26 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jun 2024 18:59:06 +0000 (12:59 -0600)
Add support for signing of TIFSSTUB images for HSSE, HSFS and GP devices
and include them in tispl.bin and tispl.bin_unsigned.

This implements the same change as commit 128f81290b7d ("arm: dts: k3:
binman: am625: add support for signing TIFSSTUB Images") did for TI AM62
SK board.

Signed-off-by: Vibhore Vardhan <vibhore@ti.com>
Signed-off-by: Dhruva Gole <d-gole@ti.com>
arch/arm/dts/k3-am62a-sk-binman.dtsi

index ec3bf7ce913b129790789347a714f402a7323bf4..d7ecd84c83dae90a5c6e8a5e17912bd9143e0a8a 100644 (file)
                        filename = "ti-dm/am62axx/ipc_echo_testb_mcu1_0_release_strip.xer5f";
                };
        };
+
+       tifsstub-hs {
+               filename = "tifsstub.bin_hs";
+               ti-secure-rom {
+                       content = <&tifsstub_hs_cert>;
+                       core = "secure";
+                       load = <0x60000>;
+                       sw-rev = <CONFIG_K3_X509_SWRV>;
+                       keyfile = "custMpk.pem";
+                       countersign;
+                       tifsstub;
+               };
+               tifsstub_hs_cert: tifsstub-hs-cert.bin {
+                       filename = "ti-sysfw/ti-fs-stub-firmware-am62ax-hs-cert.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+               tifsstub_hs_enc: tifsstub-hs-enc.bin {
+                       filename = "ti-sysfw/ti-fs-stub-firmware-am62ax-hs-enc.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+       };
+
+       tifsstub-fs {
+               filename = "tifsstub.bin_fs";
+               tifsstub_fs_cert: tifsstub-fs-cert.bin {
+                       filename = "ti-sysfw/ti-fs-stub-firmware-am62ax-hs-cert.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+               tifsstub_fs_enc: tifsstub-fs-enc.bin {
+                       filename = "ti-sysfw/ti-fs-stub-firmware-am62ax-hs-enc.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+
+       };
+
+       tifsstub-gp {
+               filename = "tifsstub.bin_gp";
+               ti-secure-rom {
+                       content = <&tifsstub_gp>;
+                       core = "secure";
+                       load = <0x60000>;
+                       sw-rev = <CONFIG_K3_X509_SWRV>;
+                       keyfile = "ti-degenerate-key.pem";
+                       tifsstub;
+               };
+               tifsstub_gp: tifsstub-gp.bin {
+                       filename = "ti-sysfw/ti-fs-stub-firmware-am62ax-gp.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+       };
+
        ti-spl {
                insert-template = <&ti_spl_template>;
 
                fit {
                        images {
+                               tifsstub-hs {
+                                       description = "TIFSSTUB";
+                                       type = "firmware";
+                                       arch = "arm32";
+                                       compression = "none";
+                                       os = "tifsstub-hs";
+                                       load = <0x9ca00000>;
+                                       entry = <0x9ca00000>;
+                                       blob-ext {
+                                               filename = "tifsstub.bin_hs";
+                                       };
+                               };
+
+                               tifsstub-fs {
+                                       description = "TIFSSTUB";
+                                       type = "firmware";
+                                       arch = "arm32";
+                                       compression = "none";
+                                       os = "tifsstub-fs";
+                                       load = <0x9ca00000>;
+                                       entry = <0x9ca00000>;
+                                       blob-ext {
+                                               filename = "tifsstub.bin_fs";
+                                       };
+                               };
+
+                               tifsstub-gp {
+                                       description = "TIFSSTUB";
+                                       type = "firmware";
+                                       arch = "arm32";
+                                       compression = "none";
+                                       os = "tifsstub-gp";
+                                       load = <0x9ca00000>;
+                                       entry = <0x9ca00000>;
+                                       blob-ext {
+                                               filename = "tifsstub.bin_gp";
+                                       };
+                               };
                                dm {
                                        ti-secure {
                                                content = <&dm>;
                                conf-0 {
                                        description = "k3-am62a7-sk";
                                        firmware = "atf";
-                                       loadables = "tee", "dm", "spl";
+                                       loadables = "tee", "dm", "spl",
+                                       "tifsstub-hs", "tifsstub-fs", "tifsstub-gp";
                                        fdt = "fdt-0";
                                };
                        };
 
                fit {
                        images {
+                               tifsstub-hs {
+                                       description = "tifsstub";
+                                       type = "firmware";
+                                       arch = "arm32";
+                                       compression = "none";
+                                       os = "tifsstub-hs";
+                                       load = <0x9ca00000>;
+                                       entry = <0x9ca00000>;
+                                       blob-ext {
+                                               filename = "tifsstub.bin_hs";
+                                       };
+                               };
+
+                               tifsstub-fs {
+                                       description = "tifsstub";
+                                       type = "firmware";
+                                       arch = "arm32";
+                                       compression = "none";
+                                       os = "tifsstub-fs";
+                                       load = <0x9ca00000>;
+                                       entry = <0x9ca00000>;
+                                       blob-ext {
+                                               filename = "tifsstub.bin_fs";
+                                       };
+                               };
+
+                               tifsstub-gp {
+                                       description = "tifsstub";
+                                       type = "firmware";
+                                       arch = "arm32";
+                                       compression = "none";
+                                       os = "tifsstub-gp";
+                                       load = <0x9ca00000>;
+                                       entry = <0x9ca00000>;
+                                       blob-ext {
+                                               filename = "tifsstub.bin_gp";
+                                       };
+                               };
                                dm {
                                        ti-dm {
                                                filename = "ti-dm.bin";
                                conf-0 {
                                        description = "k3-am62a7-sk";
                                        firmware = "atf";
-                                       loadables = "tee", "dm", "spl";
+                                       loadables = "tee", "dm", "spl",
+                                       "tifsstub-hs", "tifsstub-fs", "tifsstub-gp";
                                        fdt = "fdt-0";
                                };
                        };