1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-07-17 04:07:18 +00:00

arm-bsp/scp-firmware: N1SDP trusted boot

This commit configures scp-firmware for TBBR bootflow as follows:
* SCP FW upgraded to 2.10 for the N1SDP only
* Updates SCP FW src to master
* BL31 replaced in the SCP firmware image with BL1

Signed-off-by: Adam Johnston <adam.johnston@arm.com>
This commit is contained in:
Adam Johnston
2022-07-07 11:55:05 +00:00
committed by Jon Mason
parent d9c6ff98c3
commit 1e13b8b419
3 changed files with 12 additions and 2 deletions
@@ -3,6 +3,10 @@
SCP_PLATFORM = "n1sdp"
SCP_LOG_LEVEL = "INFO"
# master branch at n1sdp: Introduce trusted board boot
SRCREV = "3e4c34ceccc1c960eb3a4adaa922f2a0c6b36be3"
PV .= "+git${SRCPV}"
COMPATIBLE_MACHINE:n1sdp = "n1sdp"
DEPENDS += "fiptool-native"
@@ -12,7 +16,7 @@ do_install:append() {
fiptool \
create \
--scp-fw "${D}/firmware/scp_ramfw.bin" \
--soc-fw "${RECIPE_SYSROOT}/firmware/bl31.bin" \
--blob uuid=cfacc2c4-15e8-4668-82be-430a38fad705,file="${RECIPE_SYSROOT}/firmware/bl1.bin" \
"scp_fw.bin"
# This UUID is FIP_UUID_MCP_BL2 in SCP-Firmware.
@@ -0,0 +1,7 @@
# Include machine specific SCP configurations
MACHINE_SCP_REQUIRE ?= ""
MACHINE_SCP_REQUIRE:n1sdp = "scp-firmware-n1sdp.inc"
require ${MACHINE_SCP_REQUIRE}
@@ -3,7 +3,6 @@
MACHINE_SCP_REQUIRE ?= ""
MACHINE_SCP_REQUIRE:juno = "scp-firmware-juno.inc"
MACHINE_SCP_REQUIRE:n1sdp = "scp-firmware-n1sdp.inc"
MACHINE_SCP_REQUIRE:sgi575 = "scp-firmware-sgi575.inc"
MACHINE_SCP_REQUIRE:tc = "scp-firmware-tc.inc"