From patchwork Sat Mar 26 06:00:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 554341 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:1248:0:0:0:0 with SMTP id z8csp6151641mag; Fri, 25 Mar 2022 23:01:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSZIsc+Z/9YV/Cl3CWt+RXP+YO4EvreRlgo71gpbOOKIs7mOf4GLs5kMDMn32HiY3BVbYX X-Received: by 2002:a17:907:8a1a:b0:6df:db53:3489 with SMTP id sc26-20020a1709078a1a00b006dfdb533489mr15666946ejc.674.1648274480761; Fri, 25 Mar 2022 23:01:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648274480; cv=none; d=google.com; s=arc-20160816; b=brs20fz/Agu0xV+/BvmiIuv86uU7FmLR66N0CYGLeiqjHA5ciTSXyroziG2YbnHKiV 0V+mYrB+SVratZ4Y97GJFt0EykKZQG8I31r3XPrfBu650b9AG9P16fzZUfVrTZDKn6i8 9Z0u6XKSg+xB8HtglExN4w7YXIFzhHeSw8e2OaPZQKF20Mkjz23AHUVe4vyZoO8SJ/j+ qTItzGrKRfd8+osTbXAjYALSSH9biq2g4d0Qv6s7ouqjQv8r1w3jq5sUJWrxM4cCgtk0 0iOpeisytofTJS98BCt2MOSgBtYgqP26MAtznux0xScdQsCMDh3lRSkX23kpIRJ6n08U pbDQ== 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=jRFYgKH+pWkDs6Br05GdrAaIBv8D8WAauZk72rlCzKk=; b=0gkWd06OZ5XyO+KGbDBMb4bkUQoa1JeLjmPYv8Ei51GISH4UN1uEq8lruz8UT8v3Vo TNOjOm+WmtJGpVjK8PLojvEgO6Uo6DHyid2r4e/9qpTR7nhEYFqlw/is8FXO3bXBn3+e 6ZAeSWwyoafuhvD8oIaWbGfsdlf7uOJipW8PTV+hrBj6SzBAJIB4DXFhYcTVXue04/A9 maRmAJ1ATan1eUx/1yOJVhaa+gkCONM6gDUnUb/hcMcyvN/XwDcBymM7EGna8EPzeu7w L8JBIP5Qsfp7CqawwcJqkOWhBBiMfb0wLo0tPO68xq3rdUcFTKqP+7YK/F8DejXdeafP IUQw== 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 e21-20020a17090681d500b006df76385e26si4821371ejx.710.2022.03.25.23.01.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 23:01:20 -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 21A4A83C76; Sat, 26 Mar 2022 07:00:54 +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 E7C6681FBB; Sat, 26 Mar 2022 07:00: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 1D5ED83C80 for ; Sat, 26 Mar 2022 07:00:50 +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 2C80812FC; Fri, 25 Mar 2022 23:00:49 -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 35EE03F73D; Fri, 25 Mar 2022 23:00: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: [PATCH v2 4/6] doc: uefi: Update the capsule update related documentation Date: Sat, 26 Mar 2022 11:30:10 +0530 Message-Id: <20220326060012.689960-5-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220326060012.689960-1-sughosh.ganu@linaro.org> References: <20220326060012.689960-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 --- Changes since V1: None 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