From patchwork Tue Aug 15 16:26:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 713790 Delivered-To: patch@linaro.org Received: by 2002:a5d:4012:0:b0:317:ecd7:513f with SMTP id n18csp1875801wrp; Tue, 15 Aug 2023 09:27:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFpDtdyIGElj6mIOfCTqDL0sCqHGW+cT2LnwSdLnlmZwVW6uOHzD19r+4tPoXuBZHf0aYNp X-Received: by 2002:a05:600c:2301:b0:3fe:1f98:deb7 with SMTP id 1-20020a05600c230100b003fe1f98deb7mr10374870wmo.35.1692116840943; Tue, 15 Aug 2023 09:27:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692116840; cv=none; d=google.com; s=arc-20160816; b=yqcFtAvnZDY7csTyaK8Tfny+CSMYhCl/pv3+ghdWYaNOeHfIJ/eOk3TyDECJJeZGzK DVmdHyuY2EixBEAmF123rfQ5Zn9+KfWnyW92j9IAMD3IkT7Bpa6T8yMiOj7469lblbEA wq7l9d/1IU4lHtDMA3we4CmfrH/sRdfg85YFmwGG0HxmNmAbHSRaWDCx/XB7MQpjgw26 h9oMbgCettVBsAJSe+nJQ7zxuB5zymLfFplDdhxd72PsgTwViHbstkqraZhDTtfPxPMS 8MxcYER+n+LUAWksGa4qK4i0egP3IlpNgF2rAqQF99xEMFapFsy+6/vxKPPnBshGE4oM V2VQ== 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=1Umiwey7Kea28XZo5ZjSw9iQrXuSbyOLRDXThRBr1Xg=; fh=ikJSK2WVWLZPtKfyjzYjMbDKcRMYT5CY2x/iGdlGnWY=; b=Y6669FA4o77Pq6PcQYA1H62LUYQUmpsz/YpFTAZ0EgJdNRzR7gedwUrMGNWjF2906z 13S3/mpIGyArh3JNqhJLgyKkkyGyF77W+osh6XGtN3OyJQ/hTrQIkzvZuyuKIrY6eN2Q 82ZicSHvPE3VPC+xbzt4B4hV+5BNQykLVLro8kfGvPdzAsr6zUba5K55wt5Se5/7uxiw 8ZjV/tejWep2NBozn9dfEglleo1K27TYk7QDPPeY7mpFKGHPBXR0P7I+cdP9+9PArP9i Ku8SymXpnbFJ8fLPTi5XtXCuKD7upb2hDj0iRjLhe8d4W3t9dC5p+izQcRQ+spnPrUi8 sjHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id n1-20020a5d4001000000b00319710672d5si3048990wrp.204.2023.08.15.09.27.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Aug 2023 09:27:20 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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 3EC74869AD; Tue, 15 Aug 2023 18:26:58 +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 2DA6386940; Tue, 15 Aug 2023 18:26:57 +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 490B48671F for ; Tue, 15 Aug 2023 18:26:55 +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 226D91063; Tue, 15 Aug 2023 09:27:37 -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 951113F6C4; Tue, 15 Aug 2023 09:26:52 -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: [PATCH 3/5] sandbox: capsule: Add path to the public key ESL file Date: Tue, 15 Aug 2023 21:56:21 +0530 Message-Id: <20230815162623.1824357-4-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230815162623.1824357-1-sughosh.ganu@linaro.org> References: <20230815162623.1824357-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 --- Changes since RFC series: None 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