From 3af64cee5bf963359e1aa304e55ff673b07f0294 Mon Sep 17 00:00:00 2001 From: Gowtham Suresh Kumar Date: Fri, 27 Jan 2023 19:21:22 +0000 Subject: [PATCH] arm-bsp/corstone1000-image: Generate UEFI capsule for corstone1000 platform 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