[meta-arm,2/6] arm-bsp/scp-firmware: Build SCP/MCP for rdn1edge
Submitted by Thomas Abraham on Nov. 20, 2020, 4:28 a.m.
|
Patch ID: 178121
Details
Commit Message
@@ -5,3 +5,6 @@
#@DESCRIPTION: Machine configuration for RD-N1-Edge
require conf/machine/include/tune-neoversen1.inc
+
+#include SCP/MCP firmware
+EXTRA_IMAGEDEPENDS += "virtual/control-processor-firmware"
new file mode 100644
@@ -0,0 +1,16 @@
+# RD-N1-Edge specific SCP configurations and build instructions
+
+#it’s a tested tag post-2.6.0
+SRCREV = "3e99f94ad195ab902a50d0368c80810ec10f0e42"
+SCP_PLATFORM = "rdn1e1"
+
+COMPATIBLE_MACHINE_rdn1edge = "rdn1edge"
+
+do_install() {
+ install -d ${D}/firmware
+ install -D "${B}/product/${SCP_PLATFORM}/scp_romfw/${SCP_BUILD_STR}/bin/scp_romfw.bin" "${D}/firmware/"
+ install -D "${B}/product/${SCP_PLATFORM}/scp_ramfw/${SCP_BUILD_STR}/bin/scp_ramfw.bin" "${D}/firmware/"
+ install -D "${B}/product/${SCP_PLATFORM}/mcp_romfw/${SCP_BUILD_STR}/bin/mcp_romfw.bin" "${D}/firmware/"
+}
+
+PV = "2.6.0+git${SRCPV}"
@@ -6,6 +6,7 @@ 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"
+MACHINE_SCP_REQUIRE_rdn1edge = "scp-firmware-rdn1edge.inc"
MACHINE_SCP_REQUIRE_corstone700 = "scp-firmware-corstone700.inc"
require ${MACHINE_SCP_REQUIRE}