From patchwork Sat Aug 12 05:57:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 713191 Delivered-To: patch@linaro.org Received: by 2002:a5d:4012:0:b0:317:ecd7:513f with SMTP id n18csp240708wrp; Fri, 11 Aug 2023 22:59:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG7juv+3ONB+MwJGIWTM4a2QrEVXLy5nnWOaUrx0trAX/D4DRvdn0JJZbM7int6EmhdxBSU X-Received: by 2002:a5d:4d4f:0:b0:319:67ac:4191 with SMTP id a15-20020a5d4d4f000000b0031967ac4191mr994817wru.37.1691819962909; Fri, 11 Aug 2023 22:59:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691819962; cv=none; d=google.com; s=arc-20160816; b=fAPxA6rLs8HymixGFKvYj1GDXxYPFZJYcTFawI/DnId+JKnn+uRaG2CZi3Jn1f8JmA xq/MReQP54LKycx23TdiHYcZnejs6T+61Uf0bxaI0iqFS/+E2oCFpxi6/GVozwfVX+52 Xd039MP4mpehCmUrDjKrpgXdNp62n+eIPF4XM+lnUWagfxb0t53Aqg5qJMRU2LAvw7cS gsL6otdSQPa4k/6RNaNN7Fx30id55w5Pdf0QlI62F4T5hlZ8f4p16lvdnAIEWgCktIvF mV+aicY0P7W5zrctF9BtC2+kSGvHL1moLGp522r3izuPTZJKePBn1SVJoxhOCEZo1iGl huXQ== 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=6AmnTk1cjqnfylcKz6jXaZP6G9U5oJv02rVDHKSkJx4=; fh=pvWoYJ8DnC9IyTD46q2s71hlWpPSBdE/YYp0/eyIYcc=; b=Gs7wFxSpQXEcWBtclXpxLLbyhhAIYCDmus+yWT4LhRwIrQNrUv1hwkgklCJm9FFf3R 1dUEQRviMbyJGka5Z8+11QLGmLjJWevj1j83SjeubHq7K8k6eAgmmnQTX4Cl3YpDZRku ka8FKt5HKetB11wJlG4KUn9QNALThqXF13LPgZ/NA25Jn7qSLZZSSIivshJ2mj7M52pO BhECoydYCLIorpw1JM/wIyzS/0/NY1YNe1Qa2rwJ7M4s6CJqnq+nHJ+H6cYzQBYsWkPn 6j8W0UYXZfHMU5+jo9eldsofrg6YOYqY/aUS4Z0jzN/U4XUEvv0HgjvJlzOYpnm7XAUh dRBA== 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 x3-20020adff0c3000000b003173e2b779fsi3046740wro.752.2023.08.11.22.59.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 22:59:22 -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 98B4E8698B; Sat, 12 Aug 2023 07:58:17 +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 23A8586994; Sat, 12 Aug 2023 07:58:16 +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 3465C86903 for ; Sat, 12 Aug 2023 07:58:14 +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 BF8DD1042; Fri, 11 Aug 2023 22:58:55 -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 03D8A3F64C; Fri, 11 Aug 2023 22:58:10 -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 v9 09/10] doc: Add documentation to highlight capsule generation related updates Date: Sat, 12 Aug 2023 11:27:24 +0530 Message-Id: <20230812055725.252424-10-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230812055725.252424-1-sughosh.ganu@linaro.org> References: <20230812055725.252424-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 Acked-by: Heinrich Schuchardt --- Changes since V8: * Remove mention of capsule generation through config file. doc/develop/uefi/uefi.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/develop/uefi/uefi.rst b/doc/develop/uefi/uefi.rst index a7a41f2fac..1ab5e5e2d1 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,19 @@ 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 as properties in the capsule +entry node. + +Check the arch/sandbox/dts/sandbox_capsule.dtsi file for the sandbox +platform as reference for how to generate capsules through binman as +part of u-boot build. + Performing the update *********************