All of lore.kernel.org
 help / color / mirror / Atom feed
From: prabin.ca@arm.com
To: meta-arm@lists.yoctoproject.org
Cc: nd@arm.com, Prabin CA <prabin.ca@arm.com>
Subject: [PATCH 1/7] arm-bsp/scp-firmware: Build SCP/MCP for sgi575
Date: Mon, 10 Aug 2020 23:02:10 +0530	[thread overview]
Message-ID: <20200810173216.10411-1-prabin.ca@arm.com> (raw)

    - 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>
---
 meta-arm-bsp/conf/machine/sgi575.conf         | 11 +++++++++++
 .../scp-firmware/scp-firmware-sgi575.inc      | 19 +++++++++++++++++++
 .../scp-firmware/scp-firmware_%.bbappend      |  1 +
 3 files changed, 31 insertions(+)
 create mode 100644 meta-arm-bsp/conf/machine/sgi575.conf
 create mode 100644 meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware-sgi575.inc

diff --git a/meta-arm-bsp/conf/machine/sgi575.conf b/meta-arm-bsp/conf/machine/sgi575.conf
new file mode 100644
index 0000000..04c4900
--- /dev/null
+++ b/meta-arm-bsp/conf/machine/sgi575.conf
@@ -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"
diff --git a/meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware-sgi575.inc b/meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware-sgi575.inc
new file mode 100644
index 0000000..158f481
--- /dev/null
+++ b/meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware-sgi575.inc
@@ -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}"
+
diff --git a/meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware_%.bbappend b/meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware_%.bbappend
index 33ae7fe..9594cb4 100644
--- a/meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware_%.bbappend
+++ b/meta-arm-bsp/recipes-bsp/scp-firmware/scp-firmware_%.bbappend
@@ -4,5 +4,6 @@ MACHINE_SCP_REQUIRE ?= ""
 
 MACHINE_SCP_REQUIRE_n1sdp = "scp-firmware-n1sdp.inc"
 MACHINE_SCP_REQUIRE_tc0 = "scp-firmware-tc0.inc"
+MACHINE_SCP_REQUIRE_sgi575 = "scp-firmware-sgi575.inc"
 
 require ${MACHINE_SCP_REQUIRE}
-- 
2.28.0


             reply	other threads:[~2020-08-10 17:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-10 17:32 prabin.ca [this message]
2020-08-10 17:32 ` [PATCH 2/7] arm-bsp/fip-image: Build TFA/UEFI for sgi575 Prabin CA
2020-08-10 17:32 ` [PATCH 3/7] arm-bsp/linux: Build Linux stable 5.7 " Prabin CA
2020-08-10 17:32 ` [PATCH 4/7] arm-bsp/grub: Add grub-efi support for SGI575 Prabin CA
2020-08-10 17:32 ` [PATCH 5/7] arm-bsp/sgi575: Add RAM filesystem support Prabin CA
2020-08-10 17:32 ` [PATCH 6/7] arm-bsp/wic: Introduce WIC support for sgi575 Prabin CA
2020-08-10 17:32 ` [PATCH 7/7] arm/trusted-firmware-a: add branch name for mbedtls Prabin CA
2020-08-12 10:22 ` [meta-arm] [PATCH 1/7] arm-bsp/scp-firmware: Build SCP/MCP for sgi575 Ross Burton
2020-08-13 17:27   ` Ross Burton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200810173216.10411-1-prabin.ca@arm.com \
    --to=prabin.ca@arm.com \
    --cc=meta-arm@lists.yoctoproject.org \
    --cc=nd@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.