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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 45F61C433EF for ; Thu, 25 Nov 2021 02:21:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9968D811D2; Thu, 25 Nov 2021 03:21:34 +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="Yv7JlKKe"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2AB0B82F87; Thu, 25 Nov 2021 03:21:32 +0100 (CET) Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) (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 AFCE180303 for ; Thu, 25 Nov 2021 03:21:28 +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-x630.google.com with SMTP id q17so3376618plr.11 for ; Wed, 24 Nov 2021 18:21:28 -0800 (PST) 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=9lCBKDSkw9QO9HrdygkJpZ+9PLzQ0nbSm9pW51hsqlU=; b=Yv7JlKKelgwqJlHnXj2LxhhHaPPEMkMS5LuSmwpeuMCMfiTqBvWCGY5wrdB43bPax+ LqWvd33bnQa6FeDN0gRjuNQnDf21mKwbU1jUkMnn6pL8ZNQwq0uVAcR7w3hHbQe3lodw /UQhbQCgXVg3fWoVAvLNAAf/dlfC5y2v/EIIf1wzSlBMgGs8Yj7BH2A5sWx/h7O3Yaeo cFjUyJDVas9/ZTMM5Iw7o//yPtm1oL9JFvifJUThjSU1ly/3SZvEQAX+0ScRK7caCkr4 5pVC4vpNMu/PscTTFT0Nx5jUf1omTwMLwBY3av4rgcftC3FjXD3LkkvcYcUBrWtddMW0 gnlw== 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=9lCBKDSkw9QO9HrdygkJpZ+9PLzQ0nbSm9pW51hsqlU=; b=BeUD2tWAK/NDkIUsKL0PZrxwwRWAyUKWGmcl+T4X5gvoRkYOzBkAtMhBteyjH9EKaJ NuYYkUnhUwuQJMER7xvKWat/FldgVvy/RqmDUhYPyL1PG8Cjg+VGdLKLAoZRvomfCxzC CnqjBf8g3eAlnG/msrE1T8aU1TD9EjnPWIJuDoUkl3ZP9MdCxJV5PVkQB4qeTYPkJ4vr 1L4fqj8zhXf3y61waTJ9d/cL/9xciA/+NAQwo6bZrLJKOY+56HhOH7zSPlqWkzFefDnG bUdZoNUgQFKibEJkSXUDAUpncLyNVw5Uh1uJc/2NOrEWm/CauZRjXsZKIFq40iqXnZBn 5s4A== X-Gm-Message-State: AOAM530nj+4QDKSgLv2ve2kGDe89sbTPaULbT3KeBrcwoD8ooAykpyHN dYgA1ESrQQZrRPUhmh2NRNV0Gg== X-Google-Smtp-Source: ABdhPJwWyfD8+zdGsMLbmErAgNHrKdMXLQj0oj/g08uOHouT+HNwbMbAiYjAl2AMYKO+sgQ+vzfTaw== X-Received: by 2002:a17:902:934a:b0:142:6ed6:5327 with SMTP id g10-20020a170902934a00b001426ed65327mr25419045plp.85.1637806886814; Wed, 24 Nov 2021 18:21:26 -0800 (PST) Received: from laputa ([2400:4050:c3e1:100:9d66:8551:f924:19ea]) by smtp.gmail.com with ESMTPSA id d6sm746650pgv.48.2021.11.24.18.21.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Nov 2021 18:21:26 -0800 (PST) Date: Thu, 25 Nov 2021 11:21:21 +0900 From: AKASHI Takahiro To: Simon Glass Cc: xypron.glpk@gmx.de, agraf@csgraf.de, ilias.apalodimas@linaro.org, sughosh.ganu@linaro.org, masami.hiramatsu@linaro.org, mark.kettenis@xs4all.nl, u-boot@lists.denx.de Subject: Re: [PATCH v7 12/12] (RFC) efi_loader, dts: add public keys for capsules to device tree Message-ID: <20211125022121.GA41281@laputa> Mail-Followup-To: AKASHI Takahiro , Simon Glass , xypron.glpk@gmx.de, agraf@csgraf.de, ilias.apalodimas@linaro.org, sughosh.ganu@linaro.org, masami.hiramatsu@linaro.org, mark.kettenis@xs4all.nl, u-boot@lists.denx.de References: <20211116043238.67226-1-takahiro.akashi@linaro.org> <20211116043238.67226-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.37 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 Hi Simon, On Wed, Nov 24, 2021 at 05:11:49PM -0700, Simon Glass wrote: > Hi Takahiro, > > On Mon, 15 Nov 2021 at 21:33, 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(-) > > > > This should be handled by binman. I can create an etype for it if you like. Basically I'd defer to you, but I don't still understand when and how binman be invoked in this particular use case. > Regards, > Simon