arm: dts: k3: binman: am62p: add support for signing FSSTUB images

Add support for signing, detection and loading of FSSTUB images for
for HSSE and HSFS AM62P devices. Based on the binman code for AM625
with updates to the filenames and load address.

Signed-off-by: Dhruva Gole <d-gole@ti.com>
Acked-by: Vishal Mahaveer <vishalm@ti.com>
This commit is contained in:
Dhruva Gole 2023-11-23 15:18:03 +05:30 committed by Praneeth Bajjuri
parent eff76d94a3
commit e8889cb56a
1 changed files with 94 additions and 2 deletions

View File

@ -116,6 +116,44 @@
};
};
fsstub-hs {
filename = "fsstub.bin_hs";
ti-secure-rom {
content = <&fsstub_hs_cert>;
core = "secure";
load = <0x60000>;
sw-rev = <CONFIG_K3_X509_SWRV>;
keyfile = "custMpk.pem";
countersign;
fsstub;
};
fsstub_hs_cert: fsstub-hs-cert.bin {
filename = "ti-sysfw/ti-fs-stub-firmware-am62px-hs-cert.bin";
type = "blob-ext";
optional;
};
fsstub_hs_enc: fsstub-hs-enc.bin {
filename = "ti-sysfw/ti-fs-stub-firmware-am62px-hs-enc.bin";
type = "blob-ext";
optional;
};
};
fsstub-fs {
filename = "fsstub.bin_fs";
fsstub_fs_cert: fsstub-fs-cert.bin {
filename = "ti-sysfw/ti-fs-stub-firmware-am62px-hs-cert.bin";
type = "blob-ext";
optional;
};
fsstub_fs_enc: fsstub-fs-enc.bin {
filename = "ti-sysfw/ti-fs-stub-firmware-am62px-hs-enc.bin";
type = "blob-ext";
optional;
};
};
ti-spl {
filename = "tispl.bin";
pad-byte = <0xff>;
@ -158,6 +196,32 @@
};
};
fsstub-hs {
description = "FSSTUB";
type = "firmware";
arch = "arm32";
compression = "none";
os = "fsstub-hs";
load = <0x9ca00000>;
entry = <0x9ca00000>;
blob-ext {
filename = "fsstub.bin_hs";
};
};
fsstub-fs {
description = "FSSTUB";
type = "firmware";
arch = "arm32";
compression = "none";
os = "fsstub-fs";
load = <0x9ca00000>;
entry = <0x9ca00000>;
blob-ext {
filename = "fsstub.bin_fs";
};
};
dm {
description = "DM binary";
type = "firmware";
@ -215,7 +279,8 @@
conf-0 {
description = "k3-am62px-sk";
firmware = "atf";
loadables = "tee", "dm", "spl";
loadables = "tee", "fsstub-hs", "fsstub-fs",
"dm", "spl";
fdt = "fdt-0";
};
};
@ -320,6 +385,32 @@
};
};
fsstub-hs {
description = "FSSTUB";
type = "firmware";
arch = "arm32";
compression = "none";
os = "fsstub-hs";
load = <0x9ca00000>;
entry = <0x9ca00000>;
blob-ext {
filename = "fsstub.bin_hs";
};
};
fsstub-fs {
description = "FSSTUB";
type = "firmware";
arch = "arm32";
compression = "none";
os = "fsstub-fs";
load = <0x9ca00000>;
entry = <0x9ca00000>;
blob-ext {
filename = "fsstub.bin_fs";
};
};
dm {
description = "DM binary";
type = "firmware";
@ -363,7 +454,8 @@
conf-0 {
description = "k3-am62px-sk";
firmware = "atf";
loadables = "tee", "dm", "spl";
loadables = "tee", "fsstub-hs", "fsstub-fs",
"dm", "spl";
fdt = "fdt-0";
};
};