stm32mp1: initial support

Build OP-TEE for STM32MP1 based platforms. Currently supports platforms
STM32MP157A-DK1, STM32MP157C-DK2 and STM32MP157C-EV1 using a SDcard as
boot media.

Default build targets board STM32MP157C-DK2:
# make

One can specify a target board with PLATFORM configuration switch:
# make PLATFORM=stm32mp1-157A_DK1
# make PLATFORM=stm32mp1-157C_DK2
# make PLATFORM=stm32mp1-157C_EV1

Refer to br-ext/board/stmicroelectronics/stm32mp1-tz/readme.txt for
mode information.

TF-A, OP-TEE OS, U-Boot and Linux kernel are built outside Builrdoot.
All other embedded components are built through Buildroot.
Buildroot generates the final SDcard binary image file to be loaded
raw in the target SD card. The image includes a GPT partition table.
See br-ext/board/stmicroelectronics/stm32mp1-tz/genimage-*.cfg
for more details.

Note on U-Boot defconfig: from v2019.10 up to v2020.07-rc2, one shall
use stm32mp15_optee_defconfig. From v2020-rc3 onward, one shall use
stm32mp15_trusted_defconfig. For flexibility, stm32mp1.mk supports both.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
10 files changed
tree: 69607b5839ec38c51a9977fca30a5c27e3b6fc4b
  1. .github/
  2. br-ext/
  3. fvp/
  4. kconfigs/
  5. rpi3/
  6. ti/
  7. zynqmp/
  8. .gitignore
  9. .travis.yml
  10. am43xx.mk
  11. am57xx.mk
  12. common.mk
  13. dra7xx.mk
  14. fvp.mk
  15. get_clang.sh
  16. hikey.mk
  17. hikey960.mk
  18. juno.mk
  19. poplar.mk
  20. qemu-check.exp
  21. qemu.mk
  22. qemu_v8.mk
  23. README.md
  24. rpi3.mk
  25. stm32mp1.mk
  26. synquacer.mk
  27. toolchain.mk
  28. verdin.mk
  29. zynqmp.mk
README.md

OP-TEE build.git

This git contains makefiles etc to be able to build a full OP-TEE developer setup for the OP-TEE project.

All official OP-TEE documentation has moved to http://optee.readthedocs.io. The pages that used to be here in this git can be found under build and Device specific information at he new location for the OP-TEE documentation.

// OP-TEE core maintainers