RFC Add support for secure boot in falcon mode
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | spl: Kconfig: add SPL_SECURE_OS_BOOT config symbolcommon/ | +7 | 1 reply | |
| 2/4 | spl: Kconfig: allow disabling fallback during os bootcommon/ common/ | +65 | 3 replies | |
| 3/4 | spl: Kconfig: disallow loading args in falcon modecommon/ common/ common/ | +20 | 1 reply | |
| 4/4 | cmd: Kconfig: disable loading raw images in secure os bootcmd/ | +2 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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