]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Merge patch series "binman: am62a/62p: add support for signing TIFSStub"
authorTom Rini <trini@konsulko.com>
Fri, 14 Jun 2024 16:42:35 +0000 (10:42 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jun 2024 18:59:06 +0000 (12:59 -0600)
Dhruva Gole <d-gole@ti.com> says:

Add support for signing of TIFSSTUB images for HSSE, HSFS and GP devices
and include them in tispl.bin and tispl.bin_unsigned in AM62A.

AM62P doesn't have any GP support, hence not applicable.

These changes are required for Low Power Mode features to work on these
SoCs as this TIFS Stub gets used in the Low Power Exit sequences.

Boot tested on both platforms that are being touched:

[0] AM62A, [1] AM62P

[0] https://gist.github.com/DhruvaG2000/d5f2a46818d8025a540efe9289feacb4
[1] https://gist.github.com/DhruvaG2000/ce29f6e9315a78d3e9e5810f55f17f43

1  2 
arch/arm/dts/k3-am62a-sk-binman.dtsi
arch/arm/dts/k3-am62p-sk-binman.dtsi

index 0658b00ff0b973a588529d0ae8a1ae7f9429b2fb,d7ecd84c83dae90a5c6e8a5e17912bd9143e0a8a..2a8c260387b2ef79e4c71bc499ed509e3dc2c005
                filename = "ti-dm.bin";
                blob-ext {
                        filename = "ti-dm/am62axx/ipc_echo_testb_mcu1_0_release_strip.xer5f";
 +                      optional;
                };
        };
+       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>;
  
index eca532d710c7dff0b8ef43603c2236498d222ea7,210179756a79df6785269fb54fe24d3f64ff8737..2177d5428d4f94441c24358d840f15ace89a0cfd
  
                blob-ext {
                        filename = "ti-dm/am62pxx/ipc_echo_testb_mcu1_0_release_strip.xer5f";
 +                      optional;
                };
        };
+       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-am62px-hs-cert.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+               tifsstub_hs_enc: tifsstub-hs-enc.bin {
+                       filename = "ti-sysfw/ti-fs-stub-firmware-am62px-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-am62px-hs-cert.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+               tifsstub_fs_enc: tifsstub-fs-enc.bin {
+                       filename = "ti-sysfw/ti-fs-stub-firmware-am62px-hs-enc.bin";
+                       type = "blob-ext";
+                       optional;
+               };
+       };
  
        ti-spl {
                insert-template = <&ti_spl_template>;