From patchwork Sat Aug 5 11:34:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosh Ganu X-Patchwork-Id: 710654 Delivered-To: patch@linaro.org Received: by 2002:a05:6359:d30:b0:129:c516:61db with SMTP id gp48csp502631rwb; Sat, 5 Aug 2023 04:37:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHAiz7+G2g2ejmSjlMK/Oi/gF4zQTtrGLgQ+qgcM1KJrbYYDQMCkESqY/fFORxKQI7dbGdX X-Received: by 2002:adf:fa84:0:b0:317:e08b:7b1d with SMTP id h4-20020adffa84000000b00317e08b7b1dmr157wrr.11.1691235434333; Sat, 05 Aug 2023 04:37:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691235434; cv=none; d=google.com; s=arc-20160816; b=uHbYaaOXrcxgCBIcF6n2YVIuHx5NZ56Rlk2RbFXxy/LEMhsIcofrrUvhabPmF2sOZp LjcaLxjuYuyN2mj05X6rTlb4bwJXQGaPQQ1KfHoRqTdrPnqLxhT3oJ1DbWmwPMAj5Ee4 vGLif+Sp7ddmo2/R1vThgx9zOhICL6lo40a3dJv710z9S8OH8hnLzdcJC5298x1aqzEQ qwEhZf1xL8g0hzaTxIuQj0JnWykWJ0uuywlP2VdRuVzbF/BZcDwXIUT37G0Xh4i9ru4x glqsDoXjLkJ7TSfn1LVUSAKeawWWFIOgE+tkokwcXMTV8iKgvIHMYNVnqw1t0IvgqlF7 EZSA== 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=sdjMetskrrb4dNHeoU2tQC/+FaQGHbQmo0mM3imi+aU=; fh=pvWoYJ8DnC9IyTD46q2s71hlWpPSBdE/YYp0/eyIYcc=; b=vt1rnMCpi61Md0ODXl0HepYw3OJ+yPeZXQW6IyNPce1xgm57jNKKW7ViJWdhkknRVu Zz/2f+JKt2WQMIsSzAYyyfnoavLPl3q3tAdbQ6smazVIz069Aqz3jEP21UECxr/P2JuO Svfhy1WkC31EtkrqjG2XQ8EkMyRr6AH+dpSFjwMibwkJlum6Eu8wNcRYGPp57tid2UKz y9UtMD8JltYHRGRU534LIQlgSZ5LAc+X1P1C6NkMgnYan1npuuxhyXEhszglncgOTzWD snrGk0gQ+NncHVV2h3sG5vt/YLUc0L7lL5doxrtVHXQss4/g+cMEdbrqjH5gytrWZQjU xE7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id o3-20020a5d62c3000000b0031775f69aa8si1956972wrv.236.2023.08.05.04.37.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Aug 2023 04:37:14 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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 9D32F8686A; Sat, 5 Aug 2023 13:35:59 +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 D73E4868A9; Sat, 5 Aug 2023 13:35:57 +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 C713B861F7 for ; Sat, 5 Aug 2023 13:35:55 +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 D04BD1FB; Sat, 5 Aug 2023 04:36:37 -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 54A683F5A1; Sat, 5 Aug 2023 04:35:52 -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 v7 10/11] doc: Add documentation to highlight capsule generation related updates Date: Sat, 5 Aug 2023 17:04:57 +0530 Message-Id: <20230805113458.1430239-11-sughosh.ganu@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230805113458.1430239-1-sughosh.ganu@linaro.org> References: <20230805113458.1430239-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 V6: None 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 *********************