From patchwork Mon Aug 14 09:03:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 713467 Delivered-To: patch@linaro.org Received: by 2002:a5d:4012:0:b0:317:ecd7:513f with SMTP id n18csp1129944wrp; Mon, 14 Aug 2023 02:04:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFmlf8hJ3U3uGl7lbip0BSK3lXGiYMUctzL9PjALXOOdHT63GHWdho9kO+g5lc2QheQBMK/ X-Received: by 2002:a5d:4e91:0:b0:317:39e3:7c68 with SMTP id e17-20020a5d4e91000000b0031739e37c68mr6438378wru.18.1692003858367; Mon, 14 Aug 2023 02:04:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692003858; cv=none; d=google.com; s=arc-20160816; b=bgxPD+BnhVapEvc3X0/yRgoywsitPSmw038kOh8vocA5SoGOqBD/YyL52gSPSr22B8 Qqv7y+e7l1diYZ1hNDWpAfdNVPNHXkoJtoZCtMbshDU1XjIoIBRD201amo3+CCFYV/Hz 6jv5IRemRUmGQLXwgZ6CKveA3PkBDXPJ8UPhvTdFY+0Vqcmg2ZEuY9XAw7NTPs+6ae+l V26chjGh68m+/enjrgQ3ox1xojQAgoi2fh7RJPfgCzR/jdlfhcN90r+VwhiWttkOsvD2 mK2lkQyjmSA/c4cRdzzBzCW1CCVhvNYG2bQdd7KHcH59N1NRhkUKVbtsgtcPYN4wExcD 57qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=QAYNFTuJijYDp3gJwV+6kxIbSlZccoDYzkk76C8iDSM=; fh=ikJSK2WVWLZPtKfyjzYjMbDKcRMYT5CY2x/iGdlGnWY=; b=RmZRFeH13c0kSaT9m6VYqcrAX/YpDOCteGio5fvV954uYh4FKq8nh1Kcf98LciYM8d 5jfxlvtFQoSHo97T00xJmdlhYPkPENe7Aqqy1xBOxkK0impDa1AMi/w06bF77PSa91ml Y7uQEf77UK/fwCaWvDy8X8QvSBYX0jo/DswwwbMOAJmTWBG5YWj3NnPetP0FRtrP+kAV qgU+DVlymW16sy2KzmYOujEuoas30S4sXGQcruzb2+doHA9UQnjQCzY9Tx7LfQvXk6mf ipBtU1R2489lNDrDT6jfbHcSQrvIOg00SiLf6XkuvQU0II4NCaaCwKvav0l7ADyjRMx9 FGXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id w8-20020adff9c8000000b0031412b685d5si4772307wrr.413.2023.08.14.02.04.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Aug 2023 02:04:18 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C0D4B86895; Mon, 14 Aug 2023 11:03:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 519D580750; Mon, 14 Aug 2023 11:03:53 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.2 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id 60E1986918 for ; Mon, 14 Aug 2023 11:03:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sughosh.ganu@linaro.org 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 BBFCD2F4; Mon, 14 Aug 2023 02:04:32 -0700 (PDT) Received: from a076522.blr.arm.com (a076522.blr.arm.com [10.162.46.7]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 41AC43F6C4; Mon, 14 Aug 2023 02:03:48 -0700 (PDT) From: Sughosh Ganu To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Ilias Apalodimas , Simon Glass , Takahiro Akashi , Tom Rini , Sughosh Ganu Subject: [RFC PATCH 3/4] sandbox: capsule: Add path to the public key ESL file Date: Mon, 14 Aug 2023 14:33:08 +0530 Message-Id: <20230814090309.1548310-4-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230814090309.1548310-1-sughosh.ganu@linaro.org> References: <20230814090309.1548310-1-sughosh.ganu@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Add the path to the public key EFI Signature List(ESL) file for the sandbox variants which enable capsule authentication. This ESL file gets embedded into the platform's device-tree as part of the build. Signed-off-by: Sughosh Ganu --- configs/sandbox_defconfig | 1 + configs/sandbox_flattree_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 1cd1c2ed7c..9f349d482b 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -340,6 +340,7 @@ CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y CONFIG_EFI_CAPSULE_ON_DISK=y CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y CONFIG_EFI_CAPSULE_AUTHENTICATE=y +CONFIG_EFI_CAPSULE_ESL_FILE="board/sandbox/capsule_pub_esl_good.esl" CONFIG_EFI_SECURE_BOOT=y CONFIG_TEST_FDTDEC=y CONFIG_UNIT_TEST=y diff --git a/configs/sandbox_flattree_defconfig b/configs/sandbox_flattree_defconfig index 8aa295686d..2a24b38cfb 100644 --- a/configs/sandbox_flattree_defconfig +++ b/configs/sandbox_flattree_defconfig @@ -227,6 +227,7 @@ CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y CONFIG_EFI_CAPSULE_ON_DISK=y CONFIG_EFI_CAPSULE_FIRMWARE_FIT=y CONFIG_EFI_CAPSULE_AUTHENTICATE=y +CONFIG_EFI_CAPSULE_ESL_FILE="board/sandbox/capsule_pub_esl_good.esl" CONFIG_UNIT_TEST=y CONFIG_UT_TIME=y CONFIG_UT_DM=y