[PATCH 0/4] Adding support to load secure firmware for HS devices

Udit Kumar u-kumar1 at ti.com
Tue May 21 12:56:44 CEST 2024


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


Manorit Chawdhry (3):
  include: mach-k3: move k3 security functions to security.h
  drivers: remoteproc: ti_k3 : enable secure booting with firmware
    images
  mach-k3: common.c: add a flag for booting authenticated rproc binaries

Udit Kumar (1):
  include: env: ti: Add support for secure firmwares

 arch/arm/mach-k3/common.c                |  4 +++-
 arch/arm/mach-k3/common.h                |  4 ++--
 arch/arm/mach-k3/include/mach/security.h | 11 +++++++++++
 drivers/remoteproc/ti_k3_dsp_rproc.c     |  4 ++++
 drivers/remoteproc/ti_k3_r5f_rproc.c     |  4 ++++
 include/env/ti/k3_rproc.env              |  6 +++++-
 include/env/ti/ti_common.env             |  1 +
 7 files changed, 30 insertions(+), 4 deletions(-)
 create mode 100644 arch/arm/mach-k3/include/mach/security.h

-- 
2.34.1



More information about the U-Boot mailing list