From patchwork Thu Aug 10 14:23:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 712355 Delivered-To: patch@linaro.org Received: by 2002:a05:6359:baf:b0:129:c516:61db with SMTP id gf47csp676477rwb; Thu, 10 Aug 2023 07:26:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEV/i6ZcKKdp6FnoNEjtJXnsiPyX8WwRhpwfK21y5Mm8qgMvDc0/Rnc9rYktQD2MjYPKnHO X-Received: by 2002:adf:f9cb:0:b0:317:650e:9030 with SMTP id w11-20020adff9cb000000b00317650e9030mr2170795wrr.57.1691677581765; Thu, 10 Aug 2023 07:26:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691677581; cv=none; d=google.com; s=arc-20160816; b=wPbMLk5xRqp9hkkn+QdYOK8KKkhM/DtnSFAsRqN5GRo3w0aR9tDUybjIEaqnpGzVA1 kDH9ltPR+2v+MlgKPvj1okaB7wLzjnFLQWf+gVvuRFE5gvaA4z1Sq62CfJy42KY6xrWZ BCU4/uiWW8dLId9F34gdxPcscH/WyCxyzCQM3KwIh7jF+V8MAxvwzVE0jEqFhozuQOMB d5ClBV+l5ccsVIM9fPQ9YPlZcwhREOO2dB+iO4dwEgshy11a/kCAY98bulYobJe7YtLQ bwYHvFsZIbfoz7sBDahta9vdH88C7D5586UsMz30yHV7hFQZDHOHk+5ilWI2+4AJFB++ 9tbA== 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=9MvmSXLwLsej0+6QtCm3Z2ZPe6MkpwSzGiLVcW5PY5I=; fh=pvWoYJ8DnC9IyTD46q2s71hlWpPSBdE/YYp0/eyIYcc=; b=0kjNtOxfi7eDfTaoRR9WE5eioa2cNQeOF8bu0niPK3yQuwBIuEn9h0F2bD+97OxbcA aniCPhtvIR0tIEvj+Yi2g9xhJihK0OlaH4TL5nnp1/ejs8xu49brgyDpZ0or5urAUi0N lOq8m09GZifgQp1FwOODNs1bnKRb/Z9t01xe1mJoy36LCnT/507nAA2yJWI/yRuRHMMR /ZRY6GZsULZ6FAPULSn8kMyopQOVeIerCtEEWBpYivXL85VnR5PcxXoiSYgtJe/7PcFJ 0L8vNZy/x3635Qa4khK3L7Ps3kHOlpvbTuKn4/NcoqOW5AHmnvw4BUd4KCAPcat9N8ED 9Tbw== 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 w1-20020adfcd01000000b003177c7bb985si881740wrm.523.2023.08.10.07.25.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Aug 2023 07:26:21 -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 2C13A868F4; Thu, 10 Aug 2023 16:24:52 +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 0BA72868DF; Thu, 10 Aug 2023 16:24:51 +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 42308868E5 for ; Thu, 10 Aug 2023 16:24:41 +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 2F9D0139F; Thu, 10 Aug 2023 07:25:23 -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 095C13F64C; Thu, 10 Aug 2023 07:24:37 -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 v8 8/9] doc: Add documentation to highlight capsule generation related updates Date: Thu, 10 Aug 2023 19:53:37 +0530 Message-Id: <20230810142338.3402963-9-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230810142338.3402963-1-sughosh.ganu@linaro.org> References: <20230810142338.3402963-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 --- Changess since V7: * Change the name of the file which contains the capsule entry binman nodes. 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..93266da45e 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 either through a config file, or +by specifying them 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 *********************