From patchwork Thu Mar 24 12:38:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 553908 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:1248:0:0:0:0 with SMTP id z8csp4371001mag; Thu, 24 Mar 2022 05:40:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbHYvpdOGxj+fDMFvtnvJeoHdLnjIHqy6Zr8WRI12bgbKkxhw/0OzaeD6rjTdgP8ReAtkn X-Received: by 2002:a17:906:53c7:b0:6ce:6f32:ce53 with SMTP id p7-20020a17090653c700b006ce6f32ce53mr5696314ejo.352.1648125623940; Thu, 24 Mar 2022 05:40:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648125623; cv=none; d=google.com; s=arc-20160816; b=giVfbwW7rip2BnzyuVUU0cxmFVVODqDEOrDB2MvPIea5DHrTqo/8GAND/bpluEiHnd 9ljSdmVkWZDHV6VQyFjmf9h/ZwUk2ryTM0jQNI3QhJUDptjyoxfpgYG8lBAGx9LZgDxH nxgi9UwVUjSl8L+u88dga7PpVrycb18X9u+OTOuAbM4+SCGqtkjRwtamn4s8IfC4TDbY wtAHd9kjUoSda2PLhhFAZRcSha+ifq/WwNvWuWXS+E1c+gB/9RgKVURkdHu4ql3P4y3L SX18w13NdzqdIlGMBdfXEAel8RxV2gjokZZw3AQu4CH+WYr8VTLnJvh/zLRzEa3HPjwZ R3JQ== 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=NDalIzN8KuQxElAQT7OdsAKMapPDGLsg8Lpbu4cuHPQ=; b=yZeh/6E2UZj3CY8KFSd5Ml+R+1O2dF7+reotmC4OtfCL4Fm6y7AuXaZvSpQ1qjk1IS vw2DN+LgwaKyk0SxHIGepPyCxiSjEm/kaf5MV43hu7KdTXHopkgq5mJDRnJurm0MZaIK nuwZ1NzqtXTXtQ2XPWcx400HkL4fY8cvq58OxrepaToJjhPcqFtu4qf4Amd9TTBZznDk 5TfvI7Aysyx0Vh/Nbf5m9gvyK9g0lJCYiifvYhQ3JuSDK7ax0rNp4rwHFjhDgYuuSikg poq9Si7/LalqzEeCKJ8/IyXvO6SU3mkNa6pnGnCLhY3XM8b3cx0GliBJSnr7zLLgxoFa x32g== 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 h21-20020a170906531500b006df76385b68si11990319ejo.8.2022.03.24.05.40.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Mar 2022 05:40:23 -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 5EF9A840BB; Thu, 24 Mar 2022 13:39:59 +0100 (CET) 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 866A9840AE; Thu, 24 Mar 2022 13:39:52 +0100 (CET) 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 4206A8406F for ; Thu, 24 Mar 2022 13:39:49 +0100 (CET) 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 A4C9DD6E; Thu, 24 Mar 2022 05:39:48 -0700 (PDT) Received: from a076522.blr.arm.com (a076522.blr.arm.com [10.162.16.44]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C5F053F73D; Thu, 24 Mar 2022 05:39:44 -0700 (PDT) From: Sughosh Ganu To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Ilias Apalodimas , AKASHI Takahiro , Ying-Chun Liu , Tuomas Tynkkynen , Heiko Thiery , Frieder Schrempf , Michael Walle , Masami Hiramatsu , Jassi Brar , Michal Simek , Michal Simek , Sughosh Ganu Subject: [RFC PATCH 4/6] doc: uefi: Update the capsule update related documentation Date: Thu, 24 Mar 2022 18:08:59 +0530 Message-Id: <20220324123901.429472-5-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220324123901.429472-1-sughosh.ganu@linaro.org> References: <20220324123901.429472-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.5 at phobos.denx.de X-Virus-Status: Clean Update the capsule update functionality related documentation to refect the fact that a unique image GUID is to be used per image that forms part of the capsule file. Signed-off-by: Sughosh Ganu --- doc/develop/uefi/uefi.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/develop/uefi/uefi.rst b/doc/develop/uefi/uefi.rst index fe337c88bd..0d2825ce88 100644 --- a/doc/develop/uefi/uefi.rst +++ b/doc/develop/uefi/uefi.rst @@ -312,8 +312,8 @@ Run the following command .. code-block:: console $ mkeficapsule \ - --index 1 --instance 0 \ - [--fit | --raw ] \ + --index --instance 0 \ + --guid \ Performing the update @@ -333,6 +333,12 @@ won't be taken over across the reboot. If this is the case, you can skip this feature check with the Kconfig option (CONFIG_EFI_IGNORE_OSINDICATIONS) set. +Define GUID values of the images that are to be updated through the +capsule update feature in the platform file. The GUID values are to be +defined as part of the fw_images array. These GUID values would be +used by the Firmware Management Protocol(FMP) to populate the image +descriptor array and also displayed as part of the ESRT table. + Finally, the capsule update can be initiated by rebooting the board. Enabling Capsule Authentication