summaryrefslogtreecommitdiff
path: root/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-n1sdp.inc
blob: 9fb567fa74fde2b895dd3fd2bb196d0d808d2fbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# N1SDP specific TFA support

# Align with post-N1SDP-2022.06.22 refresh
SRCREV_tfa  = "1309c6c805190bd376c0561597653f3f8ecd0f58"
PV .= "+git${SRCPV}"

COMPATIBLE_MACHINE = "n1sdp"
TFA_PLATFORM       = "n1sdp"
TFA_BUILD_TARGET   = "all fip"
TFA_INSTALL_TARGET = "bl1 bl2 bl31 n1sdp-multi-chip n1sdp-single-chip n1sdp_fw_config n1sdp_tb_fw_config fip"
TFA_DEBUG          = "1"
TFA_MBEDTLS        = "1"
TFA_UBOOT          = "0"
TFA_UEFI           = "1"

TFA_ROT_KEY= "plat/arm/board/common/rotpk/arm_rotprivk_rsa.pem"

# Enabling Secure-EL1 Payload Dispatcher (SPD)
TFA_SPD = "spmd"
# Cortex-A35 supports Armv8.0-A (no S-EL2 execution state).
# So, the SPD SPMC component should run at the S-EL1 execution state
TFA_SPMD_SPM_AT_SEL2 = "0"

# BL2 loads BL32 (optee). So, optee needs to be built first:
DEPENDS += "optee-os"

EXTRA_OEMAKE:append = "\
                    TRUSTED_BOARD_BOOT=1 \
		    GENERATE_COT=1 \
		    CREATE_KEYS=1 \
		    ARM_ROTPK_LOCATION="devel_rsa" \
		    ROT_KEY="${TFA_ROT_KEY}" \
		    BL32=${RECIPE_SYSROOT}/lib/firmware/tee-pager_v2.bin \
		    BL33=${RECIPE_SYSROOT}/firmware/uefi.bin \
		    "