diff options
| author | Tom Rini <[email protected]> | 2024-06-07 14:01:15 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-06-07 14:01:15 -0600 |
| commit | 30060e0480636b3fccdbdf97cdca98ee89e3e58a (patch) | |
| tree | 307db160a3fb40eb10d7fe7bfc5d3ef62cea2e98 /include | |
| parent | bf3d5baa868a658d4625aaf177096751b8597891 (diff) | |
| parent | 4db7d62f858b82b493a7c6a32d5ba25a85a6f9dd (diff) | |
Merge patch series "Adding support to load secure firmware for HS devices"
Udit Kumar <[email protected]> says:
Some use case needs rproc firmware to be loaded at u-boot stage,
using following commands at u-boot shell, firmware could be loaded
=> setenv dorprocboot 1
=> run boot_rprocs
For Secure devices, secure version of rproc firmware should be loaded,
which is appended by sec keyword[0].
but currently non-secure firmware is loaded even for secure devices.
So adding support for loading secure firmware on Secured devices.
[0]: https://gist.github.com/uditkumarti/cd8bf6a448079b59145d17a0e8bf13b7
Bootlogs:
GP : https://gist.github.com/uditkumarti/23a00c313e1c28b62537aab733a585df#file-gp_device line 65 onwards
HS : https://gist.github.com/uditkumarti/23a00c313e1c28b62537aab733a585df#file-hs-device line 60 onwards
Diffstat (limited to 'include')
| -rw-r--r-- | include/env/ti/k3_rproc.env | 6 | ||||
| -rw-r--r-- | include/env/ti/ti_common.env | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/env/ti/k3_rproc.env b/include/env/ti/k3_rproc.env index 87d9d76eba4..d4f0f1708ca 100644 --- a/include/env/ti/k3_rproc.env +++ b/include/env/ti/k3_rproc.env @@ -13,11 +13,15 @@ rproc_load_and_boot_one= boot_rprocs_mmc= env set rproc_id; env set rproc_fw; + env set secure_suffix; + if test ${secure_rprocs} -eq 1; then + env set secure_suffix -sec; + fi; for i in ${rproc_fw_binaries} ; do if test -z "${rproc_id}" ; then env set rproc_id $i; else - env set rproc_fw $i; + env set rproc_fw $i${secure_suffix}; run rproc_load_and_boot_one; env set rproc_id; env set rproc_fw; diff --git a/include/env/ti/ti_common.env b/include/env/ti/ti_common.env index 02b410c3adc..c5c36421770 100644 --- a/include/env/ti/ti_common.env +++ b/include/env/ti/ti_common.env @@ -12,6 +12,7 @@ bootm_size=0x10000000 boot_fdt=try boot_fit=0 +secure_rprocs=0 addr_fit=0x90000000 name_fit=fitImage update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit} |
