From patchwork Tue Aug 22 17:40:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 715780 Delivered-To: patch@linaro.org Received: by 2002:adf:f747:0:b0:317:ecd7:513f with SMTP id z7csp393452wrp; Tue, 22 Aug 2023 10:43:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEm06BcsurSxNH799+YnNbKDyDlx0D28m3y46LCuNxtoa4Mkm9IsJZsJHTkDIO61iWhT5X9 X-Received: by 2002:a05:600c:2191:b0:3fe:fd06:89ca with SMTP id e17-20020a05600c219100b003fefd0689camr1295868wme.13.1692726183602; Tue, 22 Aug 2023 10:43:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692726183; cv=none; d=google.com; s=arc-20160816; b=xC1dRhrtCYNiL6s/2w5eXctiWr1uE6dfzgKBgyljVD60azvMn2zV8y+CsvsX540P0D sq8Dd2DXWWOwqnOymhr01ffpOGERVyr+Yd9GM9FlvNBghClA8OuFkRmdWVZLyrgYx1Ia 2yR2YMR2BPExpOODnpyVEHsz58lwr0u6ftxYu6SVO8tTIl0/77eZmP/cI/wJnzonhNdW XdIuqsljqBxdzlxtj+KwXRByz5yuPMXGluzqx0DngJQrx3dd/CL7rFqR+cVgxNEtYuDP CfBEvL8RkCaZYNj7IVJwtONNsn/kwXis1LigNy9EWGxj0bjrfPrKT5ervIzfVx3d7VWq idqA== 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=my+6giXLNxOXsAu5yDHCoPXIJ33jRrxGwPPsoCmvoQQ=; fh=ikJSK2WVWLZPtKfyjzYjMbDKcRMYT5CY2x/iGdlGnWY=; b=gCZp6FJvVue+p+yCpRxUi6klH05RWg7qk5hdcQ0p9KPjByr9p7/lXs+FDgOAIokGKj 2b/AFnXJ60EX5Pt5m4f+2WTHnfzX+rYCwG5NivS4cjYtIww6Cr/2Gq1zHu9USbn/xYwW NZkDH+i7Omep1IXe8+oNuaUq7C1ECgWyDHW501rQg/fvKfcwTyToN4K8aGyGqTDRLvd0 47O3UsvXohr6ME7TnHwMMcV+dd+Q/eSK1TVIyGMBYTvoDgmSsKadKHb8At5Dzs3RbgHn CZx2YoKwYILMgDPdAQnP+rxGTRruBiHJXQicfWyruMGTIe7klr42e9pBswqECxf+jBs9 aqUQ== 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 m20-20020a7bce14000000b003fee6d781d0si1342051wmc.189.2023.08.22.10.43.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Aug 2023 10:43:03 -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 20BAB86502; Tue, 22 Aug 2023 19:41:14 +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 710FE86502; Tue, 22 Aug 2023 19:41:13 +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 CA0F7864F7 for ; Tue, 22 Aug 2023 19:41:10 +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 36D2611FB; Tue, 22 Aug 2023 10:41:51 -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 20B9B3F762; Tue, 22 Aug 2023 10:41:07 -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 v11 13/15] sandbox: capsule: Add path to the public key ESL file Date: Tue, 22 Aug 2023 23:10:06 +0530 Message-Id: <20230822174008.626239-14-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230822174008.626239-1-sughosh.ganu@linaro.org> References: <20230822174008.626239-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 V10: 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