From patchwork Wed May 19 05:46:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 442370 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp986048jac; Tue, 18 May 2021 22:47:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNZptv93ksGqJTFFHU1hjiKBXwyHY9bNp0FC7pB5yFHnGtGGsqEg24yt6OAIZQWfYBPtCz X-Received: by 2002:aa7:d58b:: with SMTP id r11mr12090796edq.231.1621403249334; Tue, 18 May 2021 22:47:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621403249; cv=none; d=google.com; s=arc-20160816; b=pipQW6cliMjgeTTmvtdoO+br3OXsf4zTibIqSu+dimHIJJQnYm4sivwAnn1xD/tEcS CgHBaiNaODyfOcN5zr1uRF8S2+OZOEKtpeeb9ybveW3oYfxnJZKsMJfqe8TxCQV1xU+d nPgjCjWjf2k04rfdXcHAfZUsBwtYTaI6JZxaKPrM0eBIHxjMRPNvKgkXMGCMtOYfxPXt bdtpllU3HLNTHTvafl8Fn4qV+kKyY0TRk5WCIP48Eu83PDLhI0YYzABlxcny1lk1tZL2 nt+tLq/z6O6UqJwbDg6lPSY79AD/YHlAGe5eMnzeKryEIic5KZG1RRuc350cVuVgRiJR 5oog== 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=GofRm/ZWtendikFk3l2eFNrHgUggF3Phmv+m9TvJcPC2THUBd9bV81v5RhravVWCql G0sfdA2bnr9owbLqrVQEThsDSIRlFixbSGpigAgFem6uzbBTFQUlpY2DoeNQbq6I5V96 vN2gH6TiA5CAnisN2hTihdigU3qijYUfx5hADEIzl6+jnW3+PX81CBo4PZt32xILECoI Ap71JZyB2YjQAhb0Gwamu8oObhvDwD+a9273UXDDJ++0G9mrCDSdOe02EWGhjkfcw3AY lZMMiOSl9tzxkTV7f0VwxxQIKdLKodYgGrskNjXifg44dOY1XkTzaWcLzQQx4Zr0IJvi ETyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JnWTG5ld; 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 2si5495371edw.66.2021.05.18.22.47.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 22:47:29 -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=JnWTG5ld; 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 31F9682E36; Wed, 19 May 2021 07:46:56 +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="JnWTG5ld"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ABF1282E36; Wed, 19 May 2021 07:46:54 +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-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) (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 AA75D82E1A for ; Wed, 19 May 2021 07:46:51 +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-x42a.google.com with SMTP id q2so9106061pfh.13 for ; Tue, 18 May 2021 22:46:51 -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=JnWTG5lda3LFi58bjH6ZOvUsiCNg3RnC82ncNadO7Dlcs1iLAgbZItCJmqYKFzkrh+ mT3P8Gc0YBctzwOXQUZ6J73efhmh44ywq8uw5e117b8WXpKIB690QhQogPxgu8/1SIHn UmnRG4TWocjuU35lX6qEkuQgLZiRywQ+pFix43ZrOXigeUojVtjCfeSi5EdhJqgOeJ3P 7S8wUSNDGbYG4Mki/y5vGGOIcCBsOPrGY0/3vLAmc17ukUtLdvMq1jdd8bIOtB00XHnV lhQLOtCLM8/AVZQ4XFiFCzaNPhpl8BogedaBoPPfdOZoBq93xuENrr0eAcw41qNtzGYF cTSA== 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=nggqY0zTBAMp6M4LRxHW7icaleOKBZQgZQdcuCKRH7ZPz1o5GnS37jjAGsYQmJ24mJ hBz1zK3p4CmGLr7hyXLa7lcX3zBv1wgM94bfCGsCqMgZYbI50yyi4CALM7cPjvuK0ZQj EKd4RsDZSzn1tR6KG/k1dqRLvs+gdABSn16kEkW4aST6DRfArk3gEjuq30cFYybl2/zy 5VRnJG1ShFKqx6PAf3RLmBcPrGxcYcj390i/jLOBwaUjnCoBn+YTL4F00p5nyq8865T3 tJaWsgE42eICMdylQf0/uVrMhlw/D8ndaHEyv1uap0fmTz9qtd38XG9o99TzuItjgOmx 1uWg== X-Gm-Message-State: AOAM532wpIkTZX+0/RIlbz5vxTPZPYoyzBnTPzJYWZfiQm6uDodvy8A7 P3pHQ98mgI16Aet5NSNKsXB6Lw== X-Received: by 2002:aa7:8809:0:b029:2de:3b94:487e with SMTP id c9-20020aa788090000b02902de3b94487emr7445738pfo.33.1621403210192; Tue, 18 May 2021 22:46:50 -0700 (PDT) Received: from localhost.localdomain (NE2965lan1.rev.em-net.ne.jp. [210.141.244.193]) by smtp.gmail.com with ESMTPSA id ie5sm3265688pjb.14.2021.05.18.22.46.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 22:46:49 -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, Jaehoon Chung Subject: [PATCH v4 13/14] doc: qemu: arm64: Fix the documentation of capsule update Date: Wed, 19 May 2021 14:46:44 +0900 Message-Id: <162140320457.47256.13291335681919916919.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <162140306116.47256.6799058439792039400.stgit@localhost> References: <162140306116.47256.6799058439792039400.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