From patchwork Tue Feb 28 14:41:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gowtham Suresh Kumar X-Patchwork-Id: 20277 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2BCADC64ED6 for ; Tue, 28 Feb 2023 14:42:29 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.24997.1677595339810985088 for ; Tue, 28 Feb 2023 06:42:19 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: gowtham.sureshkumar@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A6987FEC; Tue, 28 Feb 2023 06:43:02 -0800 (PST) Received: from e126345.cambridge.arm.com (e126345.cambridge.arm.com [10.1.32.131]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2612E3F67D; Tue, 28 Feb 2023 06:42:17 -0800 (PST) From: gowtham.sureshkumar@arm.com To: meta-arm@lists.yoctoproject.org, Ross.Burton@arm.com Cc: nd@arm.com, Gowtham Suresh Kumar , Jon Mason Subject: [PATCH langdale 3/6] arm-bsp/corstone1000-image: Generate UEFI capsule for corstone1000 platform Date: Tue, 28 Feb 2023 14:41:49 +0000 Message-Id: <20230228144152.17041-4-gowtham.sureshkumar@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230228144152.17041-1-gowtham.sureshkumar@arm.com> References: <20230228144152.17041-1-gowtham.sureshkumar@arm.com> List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 28 Feb 2023 14:42:29 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/4461 From: Gowtham Suresh Kumar Inherits the UEFI capsule generation class and configures the capsule variables for the wic.nopt image Signed-off-by: Gowtham Suresh Kumar Signed-off-by: Jon Mason --- 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