Skip to content

Commit

Permalink
Merge patch series "Generate all SR boot binaries"
Browse files Browse the repository at this point in the history
Neha Malcom Francis <[email protected]> says:

Add support for missing HS SRs in the build for J721E and J7200.

Boot logs (updated for v2):
https://gist.github.com/nehamalcom/e652752623537aced8cf31308015d7c9
  • Loading branch information
trini committed May 10, 2024
2 parents f842a7a + 27c5c83 commit f81ab0d
Show file tree
Hide file tree
Showing 2 changed files with 183 additions and 2 deletions.
95 changes: 94 additions & 1 deletion arch/arm/dts/k3-j7200-binman.dtsi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
* Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/
*/

#include "k3-binman.dtsi"
Expand Down Expand Up @@ -47,6 +47,52 @@
config = "pm-cfg_j7200.yaml";
};

&binman {
tiboot3-j7200-hs-evm.bin {
filename = "tiboot3-j7200-hs-evm.bin";
ti-secure-rom {
content = <&u_boot_spl_sr1>, <&ti_fs_enc_sr1>, <&combined_tifs_cfg_sr1>,
<&combined_dm_cfg_sr1>, <&sysfw_inner_cert_sr1>;
combined;
dm-data;
core-opts = <2>;
sysfw-inner-cert;
keyfile = "custMpk.pem";
sw-rev = <1>;
content-sbl = <&u_boot_spl_sr1>;
content-sysfw = <&ti_fs_enc_sr1>;
content-sysfw-data = <&combined_tifs_cfg_sr1>;
content-sysfw-inner-cert = <&sysfw_inner_cert_sr1>;
content-dm-data = <&combined_dm_cfg_sr1>;
load = <0x41c00000>;
load-sysfw = <0x40000>;
load-sysfw-data = <0x7f000>;
load-dm-data = <0x41c80000>;
};
u_boot_spl_sr1: u-boot-spl {
no-expanded;
};
ti_fs_enc_sr1: ti-fs-enc.bin {
filename = "ti-sysfw/ti-fs-firmware-j7200-hs-enc.bin";
type = "blob-ext";
optional;
};
combined_tifs_cfg_sr1: combined-tifs-cfg.bin {
filename = "combined-tifs-cfg.bin";
type = "blob-ext";
};
sysfw_inner_cert_sr1: sysfw-inner-cert {
filename = "ti-sysfw/ti-fs-firmware-j7200-hs-cert.bin";
type = "blob-ext";
optional;
};
combined_dm_cfg_sr1: combined-dm-cfg.bin {
filename = "combined-dm-cfg.bin";
type = "blob-ext";
};
};
};

&binman {
tiboot3-j7200_sr2-hs-evm.bin {
filename = "tiboot3-j7200_sr2-hs-evm.bin";
Expand Down Expand Up @@ -92,6 +138,53 @@
};
};

&binman {
tiboot3-j7200-hs-fs-evm.bin {
filename = "tiboot3-j7200-hs-fs-evm.bin";
ti-secure-rom {
content = <&u_boot_spl_fs_sr1>, <&ti_fs_enc_fs_sr1>,
<&combined_tifs_cfg_fs_sr1>, <&combined_dm_cfg_fs_sr1>,
<&sysfw_inner_cert_fs_sr1>;
combined;
dm-data;
core-opts = <2>;
sysfw-inner-cert;
keyfile = "custMpk.pem";
sw-rev = <1>;
content-sbl = <&u_boot_spl_fs_sr1>;
content-sysfw = <&ti_fs_enc_fs_sr1>;
content-sysfw-data = <&combined_tifs_cfg_fs_sr1>;
content-sysfw-inner-cert = <&sysfw_inner_cert_fs_sr1>;
content-dm-data = <&combined_dm_cfg_fs_sr1>;
load = <0x41c00000>;
load-sysfw = <0x40000>;
load-sysfw-data = <0x7f000>;
load-dm-data = <0x41c80000>;
};
u_boot_spl_fs_sr1: u-boot-spl {
no-expanded;
};
ti_fs_enc_fs_sr1: ti-fs-enc.bin {
filename = "ti-sysfw/ti-fs-firmware-j7200-hs-fs-enc.bin";
type = "blob-ext";
optional;
};
combined_tifs_cfg_fs_sr1: combined-tifs-cfg.bin {
filename = "combined-tifs-cfg.bin";
type = "blob-ext";
};
sysfw_inner_cert_fs_sr1: sysfw-inner-cert {
filename = "ti-sysfw/ti-fs-firmware-j7200-hs-fs-cert.bin";
type = "blob-ext";
optional;
};
combined_dm_cfg_fs_sr1: combined-dm-cfg.bin {
filename = "combined-dm-cfg.bin";
type = "blob-ext";
};
};
};

&binman {
tiboot3-j7200_sr2-hs-fs-evm.bin {
filename = "tiboot3-j7200_sr2-hs-fs-evm.bin";
Expand Down
90 changes: 89 additions & 1 deletion arch/arm/dts/k3-j721e-binman.dtsi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
* Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/
*/

#include "k3-binman.dtsi"
Expand Down Expand Up @@ -129,6 +129,94 @@
};
};

&binman {
tiboot3-j721e_sr1_1-hs-fs-evm.bin {
filename = "tiboot3-j721e_sr1_1-hs-fs-evm.bin";
ti-secure-rom {
content = <&u_boot_spl_fs_sr1_1>;
core = "public";
core-opts = <2>;
load = <CONFIG_SPL_TEXT_BASE>;
keyfile = "custMpk.pem";
};
u_boot_spl_fs_sr1_1: u-boot-spl {
no-expanded;
};
};
sysfw_fs_sr1_1 {
filename = "sysfw.bin_fs_sr1_1";
ti-fs-cert-fs.bin {
filename = "ti-sysfw/ti-fs-firmware-j721e_sr1_1-hs-fs-cert.bin";
type = "blob-ext";
optional;
};
ti-fs-firmware-j721e-hs-fs-enc.bin {
filename = "ti-sysfw/ti-fs-firmware-j721e_sr1_1-hs-fs-enc.bin";
type = "blob-ext";
optional;
};
};
itb_fs_sr1_1 {
filename = "sysfw-j721e_sr1_1-hs-fs-evm.itb";
fit {
description = "SYSFW and Config fragments";
#address-cells = <1>;
images {
sysfw.bin {
description = "sysfw";
type = "firmware";
arch = "arm";
compression = "none";
blob-ext {
filename = "sysfw.bin_fs_sr1_1";
};
};
board-cfg.bin {
description = "board-cfg";
type = "firmware";
arch = "arm";
compression = "none";
board-cfg {
filename = "board-cfg.bin";
type = "blob-ext";
};

};
pm-cfg.bin {
description = "pm-cfg";
type = "firmware";
arch = "arm";
compression = "none";
pm-cfg {
filename = "pm-cfg.bin";
type = "blob-ext";
};
};
rm-cfg.bin {
description = "rm-cfg";
type = "firmware";
arch = "arm";
compression = "none";
rm-cfg {
filename = "rm-cfg.bin";
type = "blob-ext";
};
};
sec-cfg.bin {
description = "sec-cfg";
type = "firmware";
arch = "arm";
compression = "none";
sec-cfg {
filename = "sec-cfg.bin";
type = "blob-ext";
};
};
};
};
};
};

&binman {
tiboot3-j721e_sr2-hs-fs-evm.bin {
filename = "tiboot3-j721e_sr2-hs-fs-evm.bin";
Expand Down

0 comments on commit f81ab0d

Please sign in to comment.