Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | # Corstone1000 64-bit machines specific TFA support |
| 2 | |
| 3 | COMPATIBLE_MACHINE = "(corstone1000)" |
| 4 | |
| 5 | FILESEXTRAPATHS:prepend := "${THISDIR}/files/corstone1000:" |
| 6 | |
| 7 | SRC_URI:append = " \ |
| 8 | file://0001-Fix-FF-A-version-in-SPMC-manifest.patch \ |
Andrew Geissler | 2daf84b | 2023-03-31 09:57:23 -0500 | [diff] [blame^] | 9 | file://0002-feat-corstone1000-bl2-loads-fip-based-on-metadata.patch \ |
| 10 | " |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 11 | |
| 12 | TFA_DEBUG = "1" |
| 13 | TFA_UBOOT ?= "1" |
| 14 | TFA_MBEDTLS = "1" |
| 15 | TFA_BUILD_TARGET = "bl2 bl31 fip" |
| 16 | |
| 17 | # Enabling Secure-EL1 Payload Dispatcher (SPD) |
| 18 | TFA_SPD = "spmd" |
| 19 | # Cortex-A35 supports Armv8.0-A (no S-EL2 execution state). |
| 20 | # So, the SPD SPMC component should run at the S-EL1 execution state |
| 21 | TFA_SPMD_SPM_AT_SEL2 = "0" |
| 22 | |
| 23 | # BL2 loads BL32 (optee). So, optee needs to be built first: |
| 24 | DEPENDS += "optee-os" |
| 25 | |
| 26 | EXTRA_OEMAKE:append = " \ |
| 27 | ARCH=aarch64 \ |
| 28 | TARGET_PLATFORM=${TFA_TARGET_PLATFORM} \ |
| 29 | ENABLE_STACK_PROTECTOR=strong \ |
| 30 | ENABLE_PIE=1 \ |
| 31 | BL2_AT_EL3=1 \ |
| 32 | CREATE_KEYS=1 \ |
| 33 | GENERATE_COT=1 \ |
| 34 | TRUSTED_BOARD_BOOT=1 \ |
Andrew Geissler | 2daf84b | 2023-03-31 09:57:23 -0500 | [diff] [blame^] | 35 | ARM_GPT_SUPPORT=1 \ |
| 36 | PSA_FWU_SUPPORT=1 \ |
| 37 | NR_OF_IMAGES_IN_FW_BANK=4 \ |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 38 | COT=tbbr \ |
| 39 | ARM_ROTPK_LOCATION=devel_rsa \ |
| 40 | ROT_KEY=plat/arm/board/common/rotpk/arm_rotprivk_rsa.pem \ |
| 41 | BL32=${RECIPE_SYSROOT}/lib/firmware/tee-pager_v2.bin \ |
| 42 | LOG_LEVEL=50 \ |
| 43 | " |