All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Adding support to load secure firmware for HS devices
@ 2024-05-21 10:56 Udit Kumar
  2024-05-21 10:56 ` [PATCH 1/4] include: mach-k3: move k3 security functions to security.h Udit Kumar
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Udit Kumar @ 2024-05-21 10:56 UTC (permalink / raw)
  To: vigneshr, nm, trini
  Cc: joe.hershberger, m-chawdhry, afd, devarsht, sjg, emanuele.ghidoli,
	matthias.schiffer, a-bhatia1, vitor.soares, danishanwar,
	andriy.shevchenko, bmeng.cn, mkorpershoek, s-vadapalli, u-boot,
	joao.goncalves, hnagalla, Udit Kumar

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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-06-07 22:04 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-21 10:56 [PATCH 0/4] Adding support to load secure firmware for HS devices Udit Kumar
2024-05-21 10:56 ` [PATCH 1/4] include: mach-k3: move k3 security functions to security.h Udit Kumar
2024-05-21 10:56 ` [PATCH 2/4] drivers: remoteproc: ti_k3 : enable secure booting with firmware images Udit Kumar
2024-05-21 10:56 ` [PATCH 3/4] include: env: ti: Add support for secure firmwares Udit Kumar
2024-05-21 10:56 ` [PATCH 4/4] mach-k3: common.c: add a flag for booting authenticated rproc binaries Udit Kumar
2024-05-21 14:29 ` [PATCH 0/4] Adding support to load secure firmware for HS devices Andy Shevchenko
2024-05-21 15:29   ` Kumar, Udit
2024-05-21 16:12     ` Andy Shevchenko
2024-05-21 16:21       ` Tom Rini
2024-05-21 16:35         ` Andy Shevchenko
2024-05-21 16:45           ` Tom Rini
2024-05-21 17:48             ` Andy Shevchenko
2024-05-21 17:52               ` Tom Rini
2024-05-21 18:55                 ` Andy Shevchenko
2024-05-21 19:23                   ` Tom Rini
2024-06-07 22:03 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.