From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A511C433F5 for ; Thu, 4 Nov 2021 02:18:08 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6586461058 for ; Thu, 4 Nov 2021 02:18:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6586461058 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E110783645; Thu, 4 Nov 2021 03:18:04 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="xMPaXtM1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4D57983645; Thu, 4 Nov 2021 03:18:02 +0100 (CET) Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BFA5C8320C for ; Thu, 4 Nov 2021 03:17:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pl1-x636.google.com with SMTP id y1so4714050plk.10 for ; Wed, 03 Nov 2021 19:17:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=HANaYDfeXY0U6JU5JlzhSGyv+IW+RNIPeYGGiD+Phsk=; b=xMPaXtM1U7FLDATgWi02BwthhLbs2Bm7k6gMryA+gaDXIA7aP+04Gs5B9MkB/0ou8O vC+v+Ge+b5/lkYjM9Vv+mXdnNb/8yPAeOplJLKob9Z/J8EBnsXRxPTnZDtnOtAjPCFer dRNzUVIECv88wzRKq/zEzRU8o2UbTd2EFD3V1mZK4oBgH5W+byR2FBZT0zv4kG6wNaFO PFx9eA7wcOzh1WUsY1HaPENq+t5k7bapmvuSYJLhUp2UCmKgRT/l5FwfHlNEfNK3b3Fu 11iAgfwMhYUH4FHdFT/LyxNEhD+UjFsw9Aa2r6ccMkNT/9a6q1hn2K4ju18+wDp8dL07 UlaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=HANaYDfeXY0U6JU5JlzhSGyv+IW+RNIPeYGGiD+Phsk=; b=UfsCFzpxw13yXPvAFP54n43cbQ3VFD72yBQCZyAf7Qu1xroseBsoCK5jhTWMH7voyM ZtqGCzFDCoFlev32usAuuhiey8V95U00bAcU2mteteqgN8d9TIO+VXf3888Z+l4dBSoP qeRPmkZbfMFr3bDKksSg8yxpA3mr7VKFSDT9bEAzOgBLGwaEtJHghL0bIrL+RbZvALmb lHLoGkykOE00yioUy6c8ROPYk8aTHg1nOM7W46tE1Tmgx+lktF1jALhMXNZdCatU4+AO e/a8o6qY+08c9wRhNN0fFRuoIAA2mMN/vQVTGq3tA22XZbJPx/28cqiMQLSvWXBvyylK UNMA== X-Gm-Message-State: AOAM530+D0uyGm0ZbXcabEtuCM1WWC8gJZZXYRfqLjO4vYi5D/Nt4A24 /+CwgTjfsGqtKHfZLFwWNp6QFw== X-Google-Smtp-Source: ABdhPJzeRCVT+HnfF5XFTcAubCCH9DOfoO/VMsvpPwkpirQqXMfVNnv5wX6tz3cfBra8W+KqlR30Ig== X-Received: by 2002:a17:90b:17ca:: with SMTP id me10mr18217735pjb.134.1635992277221; Wed, 03 Nov 2021 19:17:57 -0700 (PDT) Received: from laputa ([2400:4050:c3e1:100:9171:d985:c6fb:194d]) by smtp.gmail.com with ESMTPSA id l17sm4012445pfc.94.2021.11.03.19.17.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Nov 2021 19:17:56 -0700 (PDT) Date: Thu, 4 Nov 2021 11:17:52 +0900 From: AKASHI Takahiro To: Simon Glass Cc: Heinrich Schuchardt , Alex Graf , Ilias Apalodimas , Sughosh Ganu , Masami Hiramatsu , U-Boot Mailing List Subject: Re: [PATCH v6 12/12] (RFC) efi_loader, dts: add public keys for capsules to device tree Message-ID: <20211104021752.GD46422@laputa> Mail-Followup-To: AKASHI Takahiro , Simon Glass , Heinrich Schuchardt , Alex Graf , Ilias Apalodimas , Sughosh Ganu , Masami Hiramatsu , U-Boot Mailing List References: <20211102005512.96019-1-takahiro.akashi@linaro.org> <20211102005512.96019-13-takahiro.akashi@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean On Tue, Nov 02, 2021 at 08:58:30AM -0600, Simon Glass wrote: > Hi Takahiro, > > On Mon, 1 Nov 2021 at 18:56, AKASHI Takahiro wrote: > > > > By specifying CONFIG_EFI_CAPSULE_KEY_PATH, the build process will > > automatically insert the given key into the device tree. > > Otherwise, users are required to do so manually, possibly, with > > the utility script, fdtsig.sh. > > > > Signed-off-by: AKASHI Takahiro > > --- > > doc/develop/uefi/uefi.rst | 4 ++++ > > dts/Makefile | 23 +++++++++++++++++++++-- > > lib/efi_loader/Kconfig | 7 +++++++ > > 3 files changed, 32 insertions(+), 2 deletions(-) > > I'd like to explore how binman could handle this, perhaps by calling > the capsule tool you have written. What do you think? Please do so if you like :) -Takahiro Akashi > Regards, > Simon