From patchwork Mon Aug 21 07:29:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 715365 Delivered-To: patch@linaro.org Received: by 2002:a5d:484e:0:b0:317:ecd7:513f with SMTP id n14csp1698939wrs; Mon, 21 Aug 2023 00:30:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH5YryDlyoz4Gg+5D0M9/5NE63DQ3gcwf8vAHP0XJQquJXW0+/nnKDaFJQqyC3S5OBtm/hF X-Received: by 2002:adf:f9c4:0:b0:314:1270:8fc with SMTP id w4-20020adff9c4000000b00314127008fcmr4611516wrr.0.1692603013973; Mon, 21 Aug 2023 00:30:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692603013; cv=none; d=google.com; s=arc-20160816; b=p6KEr01GEo8IoGHbjca0/3KTUryAtxNgurKXAELwtiKAoZMocCSj6Uac2DmGpEUQgt tKU2fZFFCr3l7Rl2HGD0GsJj63sSomSD82Wnd1+/AejV4EUeASfaMSVaufNuF27Kk2PL QCyKD/+cxDAe9c+6FMv1ldJNFgj0eJlpnS52mINxsjpSnTFpKeGf/Izah1jo18Z5DK24 lI6POuqgkRkV9uGlaFQnxRzqBwx8BO/Oat3DvPQhrO+JSNv7FCLhAQp5ikXdZIq4QCcm bIRWRE4JH3FJTG1gX+0m+2R1tywvjF1gWkcdKX7tTsMgyLyOeLoSY1dIT0jARW0DWUF1 CCkw== 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=jGkdiQFE64bqE3tjeTxEX9Q2EAMMWAUBWpnnZQdfj5Q=; fh=ikJSK2WVWLZPtKfyjzYjMbDKcRMYT5CY2x/iGdlGnWY=; b=Ul3npGg8bNqkvTyLy7oX1hUXC4LIR1d1T8J8RBb/JcPgiGhEVsz//XTyP1Hf0qfN+Y +7c95wSOy0nzZl85/LgbtwUD0hfq6cA3qVcF8AOfrwwpA2mT6y+PBnyUQtOWnWromoEf txi17MCx4uY+yPOsKm6V3D8ZdVXaBw//wysqFG9CMXXVym9v6O+zm2LNRN3KgFIk/DEt Rsv5S64SjxQN8l5eG+5PdegcS/og9Rb1UdaDiXb94GcsYyW3WhZTrYsLysgpe8HoIikH tpEk4xcgf8gR2ZKPEnzmlmUZwzx9SFsPI4b6eK16snfItMIeONBRB+fsbF9Lj/KsCfgj ZkSA== 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 x10-20020adfdd8a000000b0031ad112953csi3521508wrl.837.2023.08.21.00.30.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Aug 2023 00:30:13 -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 CB46487040; Mon, 21 Aug 2023 09:29:41 +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 B22F58704B; Mon, 21 Aug 2023 09:29:40 +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 155C287015 for ; Mon, 21 Aug 2023 09:29:38 +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 4D1F62F4; Mon, 21 Aug 2023 00:30:18 -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 4E7113F740; Mon, 21 Aug 2023 00:29:35 -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 v3 4/6] sandbox: capsule: Add path to the public key ESL file Date: Mon, 21 Aug 2023 12:59:07 +0530 Message-Id: <20230821072909.2387400-5-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230821072909.2387400-1-sughosh.ganu@linaro.org> References: <20230821072909.2387400-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 V2: 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