arm: dts: k3: binman: am62a: add support for signing FSSTUB images
Add support for signing, detection and loading of FSSTUB images for for HSSE, HSFS and GP AM62a devices. Based on the binman code for AM625 with updates to the filenames and load address. Signed-off-by: Vibhore Vardhan <vibhore@ti.com> Reviewed-by: Dhruva Gole <d-gole@ti.com> Tested-by: Vishal Mahaveer <vishalm@ti.com>
This commit is contained in:
parent
2e0e4ab05e
commit
43d7c74e78
|
|
@ -157,6 +157,62 @@
|
||||||
filename = "ti-dm/am62axx/ipc_echo_testb_mcu1_0_release_strip.xer5f";
|
filename = "ti-dm/am62axx/ipc_echo_testb_mcu1_0_release_strip.xer5f";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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-am62ax-hs-cert.bin";
|
||||||
|
type = "blob-ext";
|
||||||
|
optional;
|
||||||
|
};
|
||||||
|
fsstub_hs_enc: fsstub-hs-enc.bin {
|
||||||
|
filename = "ti-sysfw/ti-fs-stub-firmware-am62ax-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-am62ax-hs-cert.bin";
|
||||||
|
type = "blob-ext";
|
||||||
|
optional;
|
||||||
|
};
|
||||||
|
fsstub_fs_enc: fsstub-fs-enc.bin {
|
||||||
|
filename = "ti-sysfw/ti-fs-stub-firmware-am62ax-hs-enc.bin";
|
||||||
|
type = "blob-ext";
|
||||||
|
optional;
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
fsstub-gp {
|
||||||
|
filename = "fsstub.bin_gp";
|
||||||
|
ti-secure-rom {
|
||||||
|
content = <&fsstub_gp>;
|
||||||
|
core = "secure";
|
||||||
|
load = <0x60000>;
|
||||||
|
sw-rev = <CONFIG_K3_X509_SWRV>;
|
||||||
|
keyfile = "ti-degenerate-key.pem";
|
||||||
|
fsstub;
|
||||||
|
};
|
||||||
|
fsstub_gp: fsstub-gp.bin {
|
||||||
|
filename = "ti-sysfw/ti-fs-stub-firmware-am62ax-gp.bin";
|
||||||
|
type = "blob-ext";
|
||||||
|
optional;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
ti-spl {
|
ti-spl {
|
||||||
filename = "tispl.bin";
|
filename = "tispl.bin";
|
||||||
pad-byte = <0xff>;
|
pad-byte = <0xff>;
|
||||||
|
|
@ -199,6 +255,45 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
fsstub-gp {
|
||||||
|
description = "FSSTUB";
|
||||||
|
type = "firmware";
|
||||||
|
arch = "arm32";
|
||||||
|
compression = "none";
|
||||||
|
os = "fsstub-gp";
|
||||||
|
load = <0x9ca00000>;
|
||||||
|
entry = <0x9ca00000>;
|
||||||
|
blob-ext {
|
||||||
|
filename = "fsstub.bin_gp";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
dm {
|
dm {
|
||||||
description = "DM binary";
|
description = "DM binary";
|
||||||
type = "firmware";
|
type = "firmware";
|
||||||
|
|
@ -256,7 +351,8 @@
|
||||||
conf-0 {
|
conf-0 {
|
||||||
description = "k3-am62a7-sk";
|
description = "k3-am62a7-sk";
|
||||||
firmware = "atf";
|
firmware = "atf";
|
||||||
loadables = "tee", "dm", "spl";
|
loadables = "tee", "fsstub-hs", "fsstub-fs",
|
||||||
|
"fsstub-gp", "dm", "spl";
|
||||||
fdt = "fdt-0";
|
fdt = "fdt-0";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -361,6 +457,45 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
fsstub-gp {
|
||||||
|
description = "FSSTUB";
|
||||||
|
type = "firmware";
|
||||||
|
arch = "arm32";
|
||||||
|
compression = "none";
|
||||||
|
os = "fsstub-gp";
|
||||||
|
load = <0x9ca00000>;
|
||||||
|
entry = <0x9ca00000>;
|
||||||
|
blob-ext {
|
||||||
|
filename = "fsstub.bin_gp";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
dm {
|
dm {
|
||||||
description = "DM binary";
|
description = "DM binary";
|
||||||
type = "firmware";
|
type = "firmware";
|
||||||
|
|
@ -404,7 +539,8 @@
|
||||||
conf-0 {
|
conf-0 {
|
||||||
description = "k3-am62a7-sk";
|
description = "k3-am62a7-sk";
|
||||||
firmware = "atf";
|
firmware = "atf";
|
||||||
loadables = "tee", "dm", "spl";
|
loadables = "tee", "fsstub-hs", "fsstub-fs",
|
||||||
|
"fsstub-gp", "dm", "spl";
|
||||||
fdt = "fdt-0";
|
fdt = "fdt-0";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue