Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | # N1SDP specific TFA support |
| 2 | |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 3 | SRCREV_tfa = "1d867c14cb41c1171d16fa7e395a4eaed3d572b2" |
| 4 | PV .= "+git${SRCPV}" |
| 5 | |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 6 | COMPATIBLE_MACHINE = "n1sdp" |
| 7 | TFA_PLATFORM = "n1sdp" |
| 8 | TFA_BUILD_TARGET = "all fip" |
| 9 | TFA_INSTALL_TARGET = "bl1 bl2 bl31 n1sdp-multi-chip n1sdp-single-chip n1sdp_fw_config n1sdp_tb_fw_config fip" |
| 10 | TFA_DEBUG = "1" |
| 11 | TFA_MBEDTLS = "1" |
| 12 | TFA_UBOOT = "0" |
| 13 | TFA_UEFI = "1" |
| 14 | |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 15 | TFA_ROT_KEY= "plat/arm/board/common/rotpk/arm_rotprivk_rsa.pem" |
| 16 | |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 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 | |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 26 | EXTRA_OEMAKE:append = "\ |
| 27 | TRUSTED_BOARD_BOOT=1 \ |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 28 | GENERATE_COT=1 \ |
| 29 | CREATE_KEYS=1 \ |
| 30 | ARM_ROTPK_LOCATION="devel_rsa" \ |
| 31 | ROT_KEY="${TFA_ROT_KEY}" \ |
| 32 | BL32=${RECIPE_SYSROOT}/lib/firmware/tee-pager_v2.bin \ |
| 33 | BL33=${RECIPE_SYSROOT}/firmware/uefi.bin \ |
| 34 | " |