Skip to content

RFC Add support for secure boot in falcon mode

Anshul Dalal u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4spl: Kconfig: add SPL_SECURE_OS_BOOT config symbolcommon/spl/Kconfig+7 -01 reply
2/4spl: Kconfig: allow disabling fallback during os bootcommon/spl/Kconfig common/spl/spl_mmc.c+65 -323 replies
3/4spl: Kconfig: disallow loading args in falcon modecommon/spl/Kconfig common/spl/spl_ext.c common/spl/spl_fat.c+20 -01 reply
4/4cmd: Kconfig: disable loading raw images in secure os bootcmd/Kconfig+2 -13 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH v1 0/4] Add support for secure boot in falcon mode

Hi all,

With my ongoing work in supporting falcon mode on TI's AM62 platforms[1], I have encountered several limitations of falcon boot flow from a security PoV. Currently falcon mode requires an args binary (usually a DTB) and the kernel image to boot.

This conflicts with secure boot which requires a signed fitImage to be loaded with the kernel and dtb packaged in a single FIT container among other issues. This patch series adds a new SPL_SECURE_OS_BOOT config symbols which disables loading the args file as well as fallback to U-Boot if enabled.

The changes have currently only been verified on MMC FS boot but I can expand support to other boot media if this is the right direction for achieving secure falcon boot.

Happy booting,
Anshul
---
[1]: https://lore.kernel.org/u-boot/[email protected]/
---
Anshul Dalal (4):
spl: Kconfig: add SPL_SECURE_OS_BOOT config symbol
spl: Kconfig: allow disabling fallback during os boot
spl: Kconfig: disallow loading args in falcon mode
cmd: Kconfig: disable loading raw images in secure os boot

 cmd/Kconfig          |  3 +-
 common/spl/Kconfig   | 27 ++++++++++++++
 common/spl/spl_ext.c |  5 +++
 common/spl/spl_fat.c |  5 +++
 common/spl/spl_mmc.c | 87 ++++++++++++++++++++++++++++----------------
 5 files changed, 94 insertions(+), 33 deletions(-)
Signature · 1 line
2.49.0