Skip to contentSkip to conversation

Adds support for TrustedFirmware-M

PATCH New Kory Maincent via buildroot 1 participant 1 message Oct 21, 2024

lore
Share & tools
lore
#0 lore raw

v7 cover Adds support for TrustedFirmware-M

This series adds support for TrustedFirmware-M (TF-M).
https://trustedfirmware-m.readthedocs.io
https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git

Trusted Firmware-M implements the Secure Processing Environment (SPE) for Armv8-M, Armv8.1-M architectures (e.g. the Cortex-M33, Cortex-M23, Cortex-M55, Cortex-M85 processors) or dual-core platforms.

Patches 1-2: Address host Python package dependencies. Patch 3: Add support for TF-M.

Changes in v7:
- Move back to 3rd parties managed by subpackages instead of EXTRA_DOWNLOAD
- Use git repo for 3rd parties instead of Github generated tarballs.

Changes in v5:
- Remove python-cbor2 host support dependency which is already merged mainline.
- Use EXTRA_DOWNLOAD instead of subpackages for 3rd parties.
- Remove TF-M tests 3rd parties.
- Made few Kconfig, and cmake changes.

Changes in v4:
- Fix a recursive dependency loop issue.

Changes in v3:
- Add select BR2_HOST_CMAKE_AT_LEAST_3_21 to avoid cmake configure error due to old cmake version.
- Fix a Kconfig warning.

Changes in v2:
- Add TF-M to DEVELOPERS file
- Fix few nit.

Kory Maincent (3):
package/python-intelhex: Add support for host package package/python-click: Add support for host package
boot: Add support for TrustedFirmware-M package

 DEVELOPERS                                 |   1 +
 boot/Config.in                             |   1 +
 boot/tf-m/Config.in                        |  80 +++++++++++++++
 boot/tf-m/tf-m.hash                        |   3 +
 boot/tf-m/tf-m.mk                          | 111 +++++++++++++++++++++
 boot/tf-m/tfm-cmsis/Config.in              |  12 +++
 boot/tf-m/tfm-cmsis/tfm-cmsis.hash         |   3 +
 boot/tf-m/tfm-cmsis/tfm-cmsis.mk           |  20 ++++
 boot/tf-m/tfm-mbedtls/Config.in            |  12 +++
 boot/tf-m/tfm-mbedtls/tfm-mbedtls.hash     |   3 +
 boot/tf-m/tfm-mbedtls/tfm-mbedtls.mk       |  21 ++++
 boot/tf-m/tfm-mcuboot/Config.in            |  12 +++
 boot/tf-m/tfm-mcuboot/tfm-mcuboot.hash     |   3 +
 boot/tf-m/tfm-mcuboot/tfm-mcuboot.mk       |  20 ++++
 boot/tf-m/tfm-qcbor/Config.in              |  12 +++
 boot/tf-m/tfm-qcbor/tfm-qcbor.hash         |   3 +
 boot/tf-m/tfm-qcbor/tfm-qcbor.mk           |  20 ++++
 package/python-click/python-click.mk       |   1 +
 package/python-intelhex/python-intelhex.mk |   1 +
 utils/genrandconfig                        |   3 +
 20 files changed, 342 insertions(+)
 create mode 100644 boot/tf-m/Config.in
 create mode 100644 boot/tf-m/tf-m.hash
 create mode 100644 boot/tf-m/tf-m.mk
 create mode 100644 boot/tf-m/tfm-cmsis/Config.in
 create mode 100644 boot/tf-m/tfm-cmsis/tfm-cmsis.hash
 create mode 100644 boot/tf-m/tfm-cmsis/tfm-cmsis.mk
 create mode 100644 boot/tf-m/tfm-mbedtls/Config.in
 create mode 100644 boot/tf-m/tfm-mbedtls/tfm-mbedtls.hash
 create mode 100644 boot/tf-m/tfm-mbedtls/tfm-mbedtls.mk
 create mode 100644 boot/tf-m/tfm-mcuboot/Config.in
 create mode 100644 boot/tf-m/tfm-mcuboot/tfm-mcuboot.hash
 create mode 100644 boot/tf-m/tfm-mcuboot/tfm-mcuboot.mk
 create mode 100644 boot/tf-m/tfm-qcbor/Config.in
 create mode 100644 boot/tf-m/tfm-qcbor/tfm-qcbor.hash
 create mode 100644 boot/tf-m/tfm-qcbor/tfm-qcbor.mk
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot