From patchwork Thu Aug 17 05:48:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 714386 Delivered-To: patch@linaro.org Received: by 2002:a5d:4012:0:b0:317:ecd7:513f with SMTP id n18csp2739863wrp; Wed, 16 Aug 2023 22:49:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFS+G7DdjOKnVRF4lVDCLhpgICZgBGxC3ckzUMbLW266QenETAK9TR9TDQgjh4NLUZlppp0 X-Received: by 2002:a5d:4b4f:0:b0:31a:dbe0:ca7d with SMTP id w15-20020a5d4b4f000000b0031adbe0ca7dmr23193wrs.8.1692251391219; Wed, 16 Aug 2023 22:49:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692251391; cv=none; d=google.com; s=arc-20160816; b=yrh1FhU75Du+JotEDjXIaGIWJPaPVAHe4+NMfSppgaKF08wJnJMHxXuPmJa3sdY69R hwMFpq9NJXHkqStP/SWtOqmsQrovkow9xolyDsdwPk2qnMbPWGDoIR9i4VpzQfzTGMtl nGD44huRi7+tD2cldzXXAR5pHNj/LrlCAhibX9D0TpCxHSx1993+dr0pHERZJtru4rqM zzPRp0v07/bM3Q/0/5Kbe/fafgtDQ2rtiYspaoqXf70cPQkqmRgDy43OurV801CwBqKL 1vExYP84UksjTsjOeYtPIFYYJaGG7EzXfWGRVeDns6KoDbE7XqQRbJtSmYYtievk6Cfp CHIQ== 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=tuGK+VcF85lYYNvby1UOnW1TKPrUN756t1aYXkm4uzk=; fh=ikJSK2WVWLZPtKfyjzYjMbDKcRMYT5CY2x/iGdlGnWY=; b=HuDCN0Gu6Tfp27VJtPXL5SLn6LtzWnSyniRcA58N05PjwxndvnabyO5ZNF8GfNGiLK F2g5LSf4+uB+SNOz5UgxxpmJJZlHQ1hsy9YqExnU6TiHgq3TGZxZw57XQI3oP/QOP0Co rOuw2DynLWgpY6UNXGhm/0gOO/dcgR/ghx3t+hkMDIxsOjj7nRQpS4OwSlF3Dl64GyTy owyHYimzD1mqgC06nfPVVgM+l+3UV4rYNXL5+bQ8gywpC4ts8FxzJFi+91+2ANMyGIiA BzCl4ovpEcFeIdz1r3tqbM6BsBcu1Gd7A60qZzdkRueKtCP+Pbw1+mYO7I/BMLAcpXY4 Dobw== 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 b5-20020adfde05000000b00317ab757481si8299746wrm.880.2023.08.16.22.49.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Aug 2023 22:49:51 -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 6B8C286A83; Thu, 17 Aug 2023 07:49:26 +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 5791B86A80; Thu, 17 Aug 2023 07:49:25 +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 B800186979 for ; Thu, 17 Aug 2023 07:49:22 +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 EA16AD75; Wed, 16 Aug 2023 22:50:02 -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 BDEF83F762; Wed, 16 Aug 2023 22:49:19 -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 v2 4/6] sandbox: capsule: Add path to the public key ESL file Date: Thu, 17 Aug 2023 11:18:54 +0530 Message-Id: <20230817054856.2019253-5-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230817054856.2019253-1-sughosh.ganu@linaro.org> References: <20230817054856.2019253-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 V1: 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