From patchwork Tue Aug 1 17:40:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 708744 Delivered-To: patch@linaro.org Received: by 2002:a5d:55c5:0:b0:317:2194:b2bc with SMTP id i5csp473230wrw; Tue, 1 Aug 2023 10:41:58 -0700 (PDT) X-Google-Smtp-Source: APBJJlFCHw7qnnFFAgF1kOStRZsxpWnKGZv6OfEOch1yT0xcl+1mExwlDZuJK8d8wDeqlYKuuBU4 X-Received: by 2002:adf:dd89:0:b0:316:f4b9:a952 with SMTP id x9-20020adfdd89000000b00316f4b9a952mr2695255wrl.31.1690911718197; Tue, 01 Aug 2023 10:41:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690911718; cv=none; d=google.com; s=arc-20160816; b=K+tRJ/yc4db+lv9qi36wdzB30FFWMYE2G7YwDjRbz/Z4aJ/MTkhr+Z7uXfqv33VM9e WflMcl9A3y1KhVVBnjEMeD5xf9hbaCHfGSunPuw6M0wURY1p5MxdxjB955REGyrVNXEu /Ib1B2fnAwFiZVpmsRUfC/MjbXeHlwlpjkcdPlSDl0WOC1/gVrCc9nORJZxsbq4rbyEp 8GF8yJYywIpVAEPZacCGB2q7rZMSvmkpvP+rMRQZtNTN9syQD+ld9ltACqb59QWFmfhi h6E9hIiljQ6p74nfF8QOB9EvXckiLZP7sSpm50bXlDXgQZsA4oZp77vXxpZ5a1s1LDMR RbNA== 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=P8D4HtLLj27DtP87D9qfe4aXUhnwEblt7dT2U/bJFMU=; fh=pvWoYJ8DnC9IyTD46q2s71hlWpPSBdE/YYp0/eyIYcc=; b=mh4Uby+++VTPU0F5pFgLWwgGGITUhK+/3MrRm4F1BKZR6yZx1LzldZXcerps56DUJp 7EhYhtqfS8GvecCVDrRkmx2QEDTsfnqMedvv3tpHvI1snZQy8y0D3GA9ZrVE4gvpp8ch 4sukoKQq+UvJXlyP2d553Hlq1fYM5Pw2XgyK8y08ccOj8pEgI7gOOrtr4Mv7BLsyMjvO bZRA6BbF10mEpiP7E7iqOcmp573sXfMty842jx28b+anwWpnDlknDxo1uA92MdW3iyni Y3OxSN2IVgceH9MrTLPt8qQ5scwcvkVcScKvkmj3C9lfyiNDx7u8RMlOx/8GVflkGpj2 fSRw== 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 m6-20020a5d4a06000000b003141238d67dsi5991462wrq.335.2023.08.01.10.41.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Aug 2023 10:41:58 -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 7D8D186CD3; Tue, 1 Aug 2023 19:41:05 +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 B498A86B09; Tue, 1 Aug 2023 19:41:03 +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,T_SCC_BODY_TEXT_LINE 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 7170586B09 for ; Tue, 1 Aug 2023 19:41:01 +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 9648ED75; Tue, 1 Aug 2023 10:41:44 -0700 (PDT) Received: from a076522.blr.arm.com (unknown [10.162.46.7]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4758B3F59C; Tue, 1 Aug 2023 10:40:58 -0700 (PDT) From: Sughosh Ganu To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Ilias Apalodimas , Simon Glass , Takahiro Akashi , Malte Schmidt , Michal Simek , Tom Rini , Sughosh Ganu Subject: [PATCH v6 7/9] doc: Add documentation to highlight capsule generation related updates Date: Tue, 1 Aug 2023 23:10:16 +0530 Message-Id: <20230801174018.1342555-8-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230801174018.1342555-1-sughosh.ganu@linaro.org> References: <20230801174018.1342555-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 The EFI capsules can now be generated as part of u-boot build, through binman. Highlight these changes in the documentation. Signed-off-by: Sughosh Ganu --- Changes since V5: * Remove the documentation for generating the capsule through config file, as that functionality is not added through this series. doc/develop/uefi/uefi.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/doc/develop/uefi/uefi.rst b/doc/develop/uefi/uefi.rst index b2854b52a6..3150d6fb9c 100644 --- a/doc/develop/uefi/uefi.rst +++ b/doc/develop/uefi/uefi.rst @@ -318,6 +318,9 @@ Run the following command --guid \ +Capsule with firmware version +***************************** + The UEFI specification does not define the firmware versioning mechanism. EDK II reference implementation inserts the FMP Payload Header right before the payload. It coutains the fw_version and lowest supported version, @@ -345,6 +348,21 @@ add --fw-version option in mkeficapsule tool. If the --fw-version option is not set, FMP Payload Header is not inserted and fw_version is set as 0. + +Capsule Generation through binman +********************************* + +Support has also been added to generate capsules during u-boot build +through binman. This requires the platform's DTB to be populated with +the capsule entry nodes for binman. The capsules then can be generated +by specifying the capsule parameters either through a config file, or +by specifying them as properties in the capsule entry node. + +Check the arch/sandbox/dts/u-boot.dtsi file for the sandbox platform +as reference for how to generate capsules through binman as part of +u-boot build. + + Performing the update *********************