mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-09 17:40:46 +00:00
arm-bsp/scp-firmware: Build SCP MCP firmware for N1SDP
- Add bbappend recipe to build SCP and MCP firmware for N1SDP. - Use fiptool to package the binary images - Update machine conf to add image dependency for SCP-firmware components Issue-Id: PLATFORMS-3134 Change-Id: I24bb427179f2fdee0a8351257c9088d8024ca6b8 Signed-off-by: Patrik Berglund <patrik.berglund@arm.com> Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com> Reviewed-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
9386db13df
commit
d13eb333bf
@@ -27,6 +27,7 @@ PREFERRED_PROVIDER_virtual/trusted-firmware-a ?= "trusted-firmware-a"
|
||||
PREFERRED_VERSION_trusted-firmware-a ?= "2.2%"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a"
|
||||
EXTRA_IMAGEDEPENDS += "virtual/control-processor-firmware"
|
||||
|
||||
#UEFI EDK2 firmware
|
||||
EXTRA_IMAGEDEPENDS += "virtual/uefi-firmware"
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
# N1SDP specific SCP configurations and build instructions
|
||||
|
||||
SRCREV_scp = "fd7c83561a7d76c7681d5d017fb23aa3664c028c"
|
||||
SRCREV_cmsis = "refs/tags/5.2.0"
|
||||
SCP_PLATFORM = "n1sdp"
|
||||
SCP_LOG_LEVEL = "INFO"
|
||||
|
||||
COMPATIBLE_MACHINE_n1sdp = "n1sdp"
|
||||
|
||||
PV = "2.6+git${SRCPV}"
|
||||
|
||||
DEPENDS += "fiptool-native"
|
||||
DEPENDS += "virtual/trusted-firmware-a"
|
||||
|
||||
do_install_append() {
|
||||
fiptool \
|
||||
create \
|
||||
--scp-fw "${D}/firmware/scp_ramfw.bin" \
|
||||
--soc-fw "${RECIPE_SYSROOT}/firmware/bl31.bin" \
|
||||
"scp_fw.bin"
|
||||
|
||||
fiptool \
|
||||
create \
|
||||
--blob uuid=54464222-a4cf-4bf8-b1b6-cee7dade539e,file="${D}/firmware/mcp_ramfw.bin" \
|
||||
"mcp_fw.bin"
|
||||
|
||||
install "scp_fw.bin" "${D}/firmware/scp_fw.bin"
|
||||
install "mcp_fw.bin" "${D}/firmware/mcp_fw.bin"
|
||||
|
||||
ln -sf "scp_romfw.bin" "${D}/firmware/scp_rom.bin"
|
||||
ln -sf "mcp_romfw.bin" "${D}/firmware/mcp_rom.bin"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
# Include machine specific SCP configurations
|
||||
|
||||
MACHINE_SCP_REQUIRE ?= ""
|
||||
|
||||
MACHINE_SCP_REQUIRE_n1sdp = "scp-firmware-n1sdp.inc"
|
||||
|
||||
require ${MACHINE_SCP_REQUIRE}
|
||||
Reference in New Issue
Block a user