arm-bsp/scp-firmware: Build SCP/MCP for sgi575

- Add bbappend recipe to build SCP and MCP firmware
      for SGI575.
    - Add machine conf to add image dependency
      for SCP-firmware components

Change-Id: Ic888ee11178979e5ec068f85a5e0d7f2cabb7f5e
Signed-off-by: Prabin CA <prabin.ca@arm.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
This commit is contained in:
Prabin CA authored and Ross Burton committed 2020-08-12 19:54:08 +01:00
1 parent 0d47e826a2
commit c9295e1030
3 files changed
+31

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
# Configuration for Arm SGI575 development board
#@TYPE: Machine
#@NAME: SGI575
#@DESCRIPTION: Machine configuration for SGI575
TUNE_FEATURES = "aarch64"
require conf/machine/include/arm/arch-armv8a.inc
EXTRA_IMAGEDEPENDS += "virtual/control-processor-firmware"
@@ -0,0 +1,19 @@
# SGI575 specific SCP configurations and build instructions
#it’s a tested tag post-2.6.0
SRCREV = "7a025658d8318e95dbab4259a8ff7834ae6d8061"
SCP_PLATFORM = "sgi575"
SCP_LOG_LEVEL = "INFO"
COMPATIBLE_MACHINE_sgi575 = "sgi575"
do_install() {
install -d ${D}/firmware
install -D "${B}/product/${SCP_PLATFORM}/scp_romfw/release/bin/scp_romfw.bin" "${D}/firmware/"
install -D "${B}/product/${SCP_PLATFORM}/scp_ramfw/release/bin/scp_ramfw.bin" "${D}/firmware/"
install -D "${B}/product/${SCP_PLATFORM}/mcp_romfw/release/bin/mcp_romfw.bin" "${D}/firmware/"
}
PV = "2.6.0+git${SRCPV}"
@@ -5,5 +5,6 @@ MACHINE_SCP_REQUIRE ?= ""
MACHINE_SCP_REQUIRE_n1sdp = "scp-firmware-n1sdp.inc"
MACHINE_SCP_REQUIRE_tc0 = "scp-firmware-tc0.inc"
MACHINE_SCP_REQUIRE_juno = "scp-firmware-juno.inc"
MACHINE_SCP_REQUIRE_sgi575 = "scp-firmware-sgi575.inc"
require ${MACHINE_SCP_REQUIRE}