Skip to content

Allow falcon boot from A-core SPL on K3 devices

Anshul Dalal u-boot 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesIn review
  2. v25 patches 1 replySuperseded
  3. v15 patches 6 repliesSuperseded

Changes in v3 from the cover letter

- Remove the [5/5] patch but instead depend on the above CMD_BOOTx series
- Guard definition of spl_start_uboot with (ARM64 && SPL_OS_BOOT_SECURE) instead
- Link to v2: https://lore.kernel.org/u-boot/[email protected]/

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4spl: Kconfig: allow falcon mode for TI secure devicescommon/spl/Kconfig+1 -10 replies
2/4board: ti: common: Kconfig: add CMD_SPLboard/ti/common/Kconfig+1 -00 replies
3/4arm: mach-k3: enable support for falcon modearch/arm/mach-k3/common.c+8 -00 replies
4/4doc: develop: add docs for secure falcon modedoc/develop/falcon.rst+252 -00 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/4] Allow falcon boot from A-core SPL on K3 devices

Hi all,

With the addition of secure falcon mode since commit 7674ac9c820f ("Merge patch series "Add support for secure falcon mode: disable args file""), this series now adds support for the same to TI's K3 devices and documents the feature taking AM62x EVM as an example.

With secure falcon mode from A-Core SPL, the boot flow changes as follows:

Existing:
R5 SPL -> TFA -> OP-TEE -> A-Core SPL -> *U-Boot* -> Linux Kernel

Modified:
R5 SPL -> TFA -> OP-TEE -> A-Core SPL -> Linux Kernel

Depends on:
[PATCH v8 0/2] Remove usage of CMD_BOOTx from SPL code
https://lore.kernel.org/u-boot/[email protected]/

Regards,
Anshul
---
Changes in v3:
- Remove the [5/5] patch but instead depend on the above CMD_BOOTx series
- Guard definition of spl_start_uboot with (ARM64 && SPL_OS_BOOT_SECURE) instead
- Link to v2: https://lore.kernel.org/u-boot/[email protected]/

Changes in v2:
- Use CMD_SPL instead of CMD_CACHE in commit message of [2/5]
- Use #ifdef instead of CONFIG_IS_ENABLED(OS_BOOT)
- Link to v1: https://lore.kernel.org/u-boot/[email protected]/
---

Anshul Dalal (4):
spl: Kconfig: allow falcon mode for TI secure devices
board: ti: common: Kconfig: add CMD_SPL
arm: mach-k3: enable support for falcon mode
doc: develop: add docs for secure falcon mode

 arch/arm/mach-k3/common.c |   8 ++
 board/ti/common/Kconfig   |   1 +
 common/spl/Kconfig        |   2 +-
 doc/develop/falcon.rst    | 252 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 262 insertions(+), 1 deletion(-)
Signature · 1 line
2.51.0