From patchwork Mon May 10 06:33:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 433043 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp2565879jao; Sun, 9 May 2021 23:33:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRB44O6Z8Z0n7B5KC2Tu36rgTv5ksA05OCYXrOvczyo0CWu9X+MC5bY7x56v4Irp1ivqNL X-Received: by 2002:a17:906:38c5:: with SMTP id r5mr22932391ejd.230.1620628430860; Sun, 09 May 2021 23:33:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620628430; cv=none; d=google.com; s=arc-20160816; b=dzIjr+vp0ivDwNiv3S1gB19i7rmpWT9rX5CT9CR8IA1i7K+zK5aSIyowPz21d/T8H2 IT8gYCsVim5OrjvEXJFoZIBY+fb9h9QmWRWNWDbKJ2sinXAHGQlbphcq7lMm/L4tqzDQ 2L0BdUMyBX5bkGh4v72T/aUXMRV3FBKEDLrfEuF96jcNWLjDrio0GY1DNcH5Lq9ivvBi M1JVLEeu1OqPNXBjwulzjUOx5WPJp+7/n5r60Wn8YaqFKrOUU9FgFQ/29lmf3iPBEQXP Zv6FEDie253nQ0Y7dNgb7Fht9tdLxfYDbw8ZgIHncuxBA/+MxbOPlUDGo353NaHzx3fm IfOw== 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:user-agent:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=C84QPnrWb+SNq0zwr680+GUxeBQNRmJ86P2otfOHeCc=; b=JVfvC1LpJC5HoNDoCMxRrxRr6ulhR8jwcpN1orwO9XJSPP6SnxH6Zu8canrX9uWgoU nlVvLb/E5YpGJmOrVQQHYUGC4NMhs3a4hGDGCxk+zjNEGBgO64s+HlE3ibyKUAh7yv+v w+urwYqaKk6jcwL/WF78jew0Ikt8U718D2kmsFrz1WCE0YISnSaeRAv/mIugnvscdX9d JgDEIBwzstFwjWFOt0cyv00Hdx+7pk9fndwdbeiB051pT9xEqhB08erLt31k39h40FhH JuGFN7tsJUQRsQthkvz6s+uCFqlTQXGmVK16uxdsZcXtCMphosTXssSC3MjwiDdG02nv m02Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ciiAKxJt; 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=pass (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 j7si15375642ejm.492.2021.05.09.23.33.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 May 2021 23:33:50 -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; dkim=pass header.i=@linaro.org header.s=google header.b=ciiAKxJt; 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=pass (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 B73D482EEF; Mon, 10 May 2021 08:33:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ciiAKxJt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0AB4C81D43; Mon, 10 May 2021 08:33:23 +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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2FD7A81D43 for ; Mon, 10 May 2021 08:33:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=masami.hiramatsu@linaro.org Received: by mail-pf1-x433.google.com with SMTP id x188so12912529pfd.7 for ; Sun, 09 May 2021 23:33:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=C84QPnrWb+SNq0zwr680+GUxeBQNRmJ86P2otfOHeCc=; b=ciiAKxJtyfh1Hyq3Iq4Zo/tP//Z5eLg8Tk0Ly8zA/rcVJQMMlcPQA4EvuEKo8Bek6M gb7uVXP4NwGlIHVKB0RwgGgxC/4EKFbW9eoG7V+TGzPsXP8z4lOAfVP1ucWX9VLV2NUW Vo70jBnayhDoEZh3jcKhcTUt0XFLIcJyTh6obCRvu3nAIP5PqhSSGQ7CF9i+VSRxJb3b fK2L6BFiDcQ8nLbxomdgNHict7tGyFgnyoY/V3KhpeJq3smoDoT8ivo3d5CsNSpdojFr SFoN8ObgV+EvK9r0m3ZXFNBZM/PnIvN/dg+zwDRBpr1VCrylduvTvozNzqm/yf9SGQ8G X4hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=C84QPnrWb+SNq0zwr680+GUxeBQNRmJ86P2otfOHeCc=; b=sucwjVVsUioZvI7CgBM4xICch0AS9IQvn8Yyzc5f2svbVhRRn4Kq19uE08/xiUpJ59 5DnC8bZFl6NhnhK6gJ23BSZS8hTaMwgOhxw3R3zycgssZe5p/08bzmVFaqz55gbTm1b5 BdrTh1o80VADhNDxSo26Y/rooM4uz3L0mOF9uRmO6tg/L5RPKe6c8/UYJ8oLbK/dWN5R eysH4qW4vQX2X8Nd8ZVDIGSdXJ3QDD37gZCAh7LaT29MyB2b5FbZ4XzYUg8Wu9MZ2lPc C1Wm5Yv1JHTKVGMsJ/VcKeZ/OFFadWkplaaciCDcp/q0GIgp8MkVVQoGVL5Qqk13UBKl 4O2Q== X-Gm-Message-State: AOAM5307pnIFclBd7esAWN1Kf4U5IQPaFO2RBQic/izKcJuDEYVv6qJ1 pq5KtvcrxQm9Af/ktKm835VCYw== X-Received: by 2002:a62:ee09:0:b029:211:1113:2e7c with SMTP id e9-20020a62ee090000b029021111132e7cmr23327732pfi.49.1620628398702; Sun, 09 May 2021 23:33:18 -0700 (PDT) Received: from localhost.localdomain (NE2965lan1.rev.em-net.ne.jp. [210.141.244.193]) by smtp.gmail.com with ESMTPSA id d8sm9719427pfl.156.2021.05.09.23.33.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 May 2021 23:33:18 -0700 (PDT) From: Masami Hiramatsu To: Peng Fan , Simon Glass , Tom Rini , Heinrich Schuchardt , Alexander Graf , Jagan Teki , Vignesh R , Joe Hershberger , Ramon Fried , Sughosh Ganu Cc: Masami Hiramatsu , Jassi Brar , Ilias Apalodimas , Masahisa Kojima , Takahiro Akashi , Tim Harvey , Bin Meng , u-boot@lists.denx.de Subject: [PATCH v3 13/14] doc: qemu: arm64: Fix the documentation of capsule update Date: Mon, 10 May 2021 15:33:13 +0900 Message-Id: <162062839322.501222.2563286012019838613.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <162062825393.501222.13616174511857694530.stgit@localhost> References: <162062825393.501222.13616174511857694530.stgit@localhost> User-Agent: StGit/0.19 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.4 at phobos.denx.de X-Virus-Status: Clean Since the EDK2 GenerateCapsule script is out of date and it doesn't generate the supported version capsule file, the document should refer the mkeficapsule in tools. Signed-off-by: Masami Hiramatsu --- doc/board/emulation/qemu_capsule_update.rst | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/doc/board/emulation/qemu_capsule_update.rst b/doc/board/emulation/qemu_capsule_update.rst index 33ce4bcd32..0a2286d039 100644 --- a/doc/board/emulation/qemu_capsule_update.rst +++ b/doc/board/emulation/qemu_capsule_update.rst @@ -39,16 +39,9 @@ In addition, the following config needs to be disabled(QEMU ARM specific):: CONFIG_TFABOOT -The capsule file can be generated by using the GenerateCapsule.py -script in EDKII:: - - $ ./BaseTools/BinWrappers/PosixLike/GenerateCapsule -e -o \ - --fw-version --lsv --guid \ - e2bb9c06-70e9-4b14-97a3-5a7913176e3f --verbose --update-image-index \ - --verbose +The capsule file can be generated by using the tools/mkeficapsule:: -The above is a wrapper script(GenerateCapsule) which eventually calls -the actual GenerateCapsule.py script. + $ mkeficapsule --raw --index 1 As per the UEFI specification, the capsule file needs to be placed on the EFI System Partition, under the \EFI\UpdateCapsule directory. The