Skip to content

stm32mp1: add trusted boot with TF-A

Patrick Delaunay u-boot 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 0 repliesNew
  2. v33 patches 0 repliesSuperseded
  3. v24 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches0 repliesSuperseded

Changes in v4 from the cover letter

- Rebase on master
- add CONFIG_CMD_CLK in trusted defconfig
(allignment with basic defconfig)

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3stm32mp1: add trusted boot with TF-Aarch/arm/Kconfig arch/arm/mach-stm32mp/Kconfig arch/arm/mach-stm32mp/config.mk +7 more+145 -280 replies
2/3stm32mp1: bsec: access with SMC for trusted bootarch/arm/mach-stm32mp/bsec.c arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h+92 -00 replies
3/3stm32mp1: display board informationarch/arm/mach-stm32mp/include/mach/stm32.h board/st/stm32mp1/stm32mp1.c+46 -20 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [U-Boot] [PATCH v4 0/3] stm32mp1: add trusted boot with TF-A

This patch serie add a new configuration stm32mp15_trusted_defconfig to handle STM32MP157 boards with TF-A as secure first stage bootloader.

TF-A code is available in GitHub
https://github.com/ARM-software/arm-trusted-firmware

With platform stm32mp1 platform
https://github.com/ARM-software/arm-trusted-firmware/tree/master/plat/st/stm32mp1

For details, see documentation
https://github.com/ARM-software/arm-trusted-firmware/blob/master/docs/plat/stm32mp1.rst

PS: upstream of trusted boot for TF-A is still in progress.

Changes in v4:
- Rebase on master
- add CONFIG_CMD_CLK in trusted defconfig
(allignment with basic defconfig)

Changes in v3:
- Remove patch 4/4 added by error in v2 and sent by other serie

     http://patchwork.ozlabs.org/patch/1033475/

Changes in v2:
- Rebase and solve conflict on arch/arm/mach-stm32mp/config.mk

Patrick Delaunay (3):
stm32mp1: add trusted boot with TF-A
stm32mp1: bsec: access with SMC for trusted boot
stm32mp1: display board information

 arch/arm/Kconfig                                  |  6 ++-
 arch/arm/mach-stm32mp/Kconfig                     | 17 ++++--
 arch/arm/mach-stm32mp/bsec.c                      | 28 ++++++++++
 arch/arm/mach-stm32mp/config.mk                   | 15 +++++-
 arch/arm/mach-stm32mp/cpu.c                       |  9 +++-
 arch/arm/mach-stm32mp/include/mach/stm32.h        |  4 ++
 arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h | 64 +++++++++++++++++++++++
 board/st/stm32mp1/MAINTAINERS                     |  5 +-
 board/st/stm32mp1/README                          | 56 ++++++++++++++------
 board/st/stm32mp1/stm32mp1.c                      | 44 +++++++++++++++-
 configs/stm32mp15_trusted_defconfig               | 58 ++++++++++++++++++++
 drivers/clk/clk_stm32mp1.c                        |  2 +
 drivers/ram/stm32mp1/stm32mp1_ram.c               |  3 +-
 include/configs/stm32mp1.h                        |  2 +
 14 files changed, 283 insertions(+), 30 deletions(-)
 create mode 100644 arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h
 create mode 100644 configs/stm32mp15_trusted_defconfig
Signature · 1 line
2.7.4