meta-arm.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
From: gowtham.sureshkumar@arm.com
To: meta-arm@lists.yoctoproject.org, Ross.Burton@arm.com
Cc: nd@arm.com, Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com>
Subject: [PATCH 3/3] arm-bsp/corstone1000-image: Generate UEFI capsule for corstone1000 platform
Date: Fri, 27 Jan 2023 19:21:22 +0000	[thread overview]
Message-ID: <20230127192122.19338-4-gowtham.sureshkumar@arm.com> (raw)
In-Reply-To: <20230127192122.19338-1-gowtham.sureshkumar@arm.com>

From: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com>

Inherits the UEFI capsule generation class and configures the capsule
variables for the wic.nopt image

Signed-off-by: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com>
---
 meta-arm-bsp/recipes-bsp/images/corstone1000-image.bb | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/meta-arm-bsp/recipes-bsp/images/corstone1000-image.bb b/meta-arm-bsp/recipes-bsp/images/corstone1000-image.bb
index 76a7126b..b0a71bca 100644
--- a/meta-arm-bsp/recipes-bsp/images/corstone1000-image.bb
+++ b/meta-arm-bsp/recipes-bsp/images/corstone1000-image.bb
@@ -7,10 +7,17 @@ COMPATIBLE_MACHINE = "corstone1000"
 
 inherit image
 inherit wic_nopt tfm_sign_image
+inherit  uefi_capsule
 
 PACKAGE_INSTALL = ""
 
-IMAGE_FSTYPES += "wic wic.nopt"
+IMAGE_FSTYPES += "wic wic.nopt uefi_capsule"
+
+UEFI_FIRMWARE_BINARY = "corstone1000-image-${MACHINE}.wic.nopt"
+UEFI_FIRMWARE_VERSION = "5"
+UEFI_FIRMWARE_LSV = "0"
+UEFI_FIRMWARE_GUID = "e2bb9c06-70e9-4b14-97a3-5a7913176e3f"
+UEFI_FIRMWARE_UPDATE_INDEX = "0"
 
 do_sign_images() {
     # Sign TF-A BL2
-- 
2.17.1



  parent reply	other threads:[~2023-01-27 19:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-27 19:21 [PATCH 0/3] Add UEFI capsule generation support gowtham.sureshkumar
2023-01-27 19:21 ` [PATCH 1/3] arm/edk2-basetools: Add edk2 base tool native recipe gowtham.sureshkumar
2023-01-27 21:27   ` [meta-arm] " Denys Dmytriyenko
2023-02-10  0:24     ` Gowtham Suresh Kumar
2023-02-10 20:46       ` Denys Dmytriyenko
2023-01-27 19:21 ` [PATCH 2/3] arm-bsp/uefi_capsule: Add UEFI capsule generation class gowtham.sureshkumar
2023-02-01  9:42   ` [meta-arm] " Ilias Apalodimas
2023-01-27 19:21 ` gowtham.sureshkumar [this message]
2023-02-12 21:29 ` [PATCH 0/3] Add UEFI capsule generation support Jon Mason
2023-02-17  4:30 ` Jon Mason
2023-03-04 16:59 ` Jon Mason

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=20230127192122.19338-4-gowtham.sureshkumar@arm.com \
    --to=gowtham.sureshkumar@arm.com \
    --cc=Ross.Burton@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).