From patchwork Fri Apr 16 23:39:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 422685 Delivered-To: patch@linaro.org Received: by 2002:a17:906:6d12:0:0:0:0 with SMTP id m18csp846280ejr; Fri, 16 Apr 2021 16:40:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCl/fohVC1T0LgyUcLU7GbsC7c/ykhv3CE0k9IOBeLBdMfguRzOElK7l95wuh7eBWVg8mV X-Received: by 2002:aa7:db14:: with SMTP id t20mr12368462eds.311.1618616411649; Fri, 16 Apr 2021 16:40:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618616411; cv=none; d=google.com; s=arc-20160816; b=sxuZhRNd+0G5/Jkv86pyG/6sPLtR21XL8VsYr96qezaLhg0GpEsn51/NjtxTuavt2G 65ObpNv39u6dHcLShnxeX0bMK89gm76YJz76c/J8n6nPl+SloEMt4zhv730ZpKpf+TAj 8nu+eUNSTtSowOmKVc2eIyCqHghUoq0nrqsZ1mHTHDMdrWL+grUKAKV1GEdKH9EfwZCz OaHNK/uibAq+PWx/E6QlQQxD+rytKnBRiBvdi1WIoSNaz+79xbBB6gaRuHYzQAmvekMC ka8lPBDGKzKvegVDVstrSn0Yh/zU5p/3nwAG14INJ6DUxK5nZuUFKIwAgfY5pJPJBh/O ihaw== 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=GDOeJCqjA3VIpcW97DTvg+zjeOVcAqssiHCX8Qsm8FE=; b=EAh8ZsBJuJvBngnjznJMXozKrGFHFOf37CczmQ04XE/D4f1rvPvK8q7n5Rtmqkjav7 Z8t8vvfZvMYuTRXEbx3gdUmbR6z1ROdQkSUAm65CaRfnh6bQW4msAD7fL8Acb1OSTOBa H3rVX44/jcaFAZFvm0nzqeuAuwauhdhneEhB6cMsIapXFAEyFSP4dE9UtlHESCca+2mU tWKsrpN+udN0wti+RWvLN7x2zIJEl0Pstz8W+fH+0QU+wqMRTUjh29Kc2saUtWoXBkBp HkGxbwHPCVuG7BH2vUPXj5SIOAHr6lskeEqqTomPe5pKfqkNqbdR0DE3CP5aON7wscO+ Cc4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yirDC1l2; 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=pass (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 jt27si6110367ejc.188.2021.04.16.16.40.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 16:40:11 -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; dkim=pass header.i=@linaro.org header.s=google header.b=yirDC1l2; 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=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 5B3C082061; Sat, 17 Apr 2021 01:39: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="yirDC1l2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 39A6482A81; Sat, 17 Apr 2021 01:39:43 +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 0817780FAA for ; Sat, 17 Apr 2021 01:39:27 +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 h11so1690164pfn.0 for ; Fri, 16 Apr 2021 16:39:26 -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=GDOeJCqjA3VIpcW97DTvg+zjeOVcAqssiHCX8Qsm8FE=; b=yirDC1l2XITOGSX+gkeee8WupDuWd+r6CLmQOy3Zitf0zDGrj7jI3RYvQKljVoYAgJ AhYXhlXiesxbPG+q1qiJEs/ry1Xv958pRNg8pgfscZ8LCFrM1kk2qnKHexKhucUvt0VE 7LE6goD5bBNj/wnKzMEZHIKyYR301E3UO7tedXUsgx3/faSgPbnFXiG7gymssmd0a9Az sZcnfYAgK8by5cyZvYs1tqdxxna/RTOeAqq55Ggg2AiZuPBRqV9qZixWyGinqWck4wxk 2MYnQpJo8WbaCCOOiQsNN3gX2hB/ovXXgy9Oan3hMTT4bbAS4is+2tG9LhLVHv7XCyXq cbcA== 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=GDOeJCqjA3VIpcW97DTvg+zjeOVcAqssiHCX8Qsm8FE=; b=iIDHd2ynONvFSGcRlmJbXVKdB/9POMNgLihXt1rZBxglfvA1TZV8ukLeE4Ajbbh45h /EjuGT9GKYcVO6VS8LCVJTMqIEN4P8wVObr9lWQfqVjkDu/X0xJp2ZQoStbxuNV636E8 3Du6ihsQFYudpsD8HyefBSGvqqZoRYPXiJcqxy7nFhZOyC0eSBy72cf8b89xIQJQVGV3 pxaa6y1E9NUkD0NiwuOEQ7sWJ18z9GrSrPvostavCCnMpE/1hRCt0B4RfipAiVyxwItF vVYNIyrjNWbK92UlIM/sNvDHHf9sg26wg1hd1Z4qICKM+tmbuHV2RgjhW2UaxbFuCkgS 3ryw== X-Gm-Message-State: AOAM530z3HYd/VHgFrxRY5FZAqx+7SaLkFOGlNbJhoUVr/SC21J7UJVI qjBqnpJkDZ3YwSUSUxa2w9o8zg== X-Received: by 2002:a63:4a23:: with SMTP id x35mr1234437pga.270.1618616365465; Fri, 16 Apr 2021 16:39:25 -0700 (PDT) Received: from localhost.localdomain (NE2965lan1.rev.em-net.ne.jp. [210.141.244.193]) by smtp.gmail.com with ESMTPSA id m3sm6765561pjl.14.2021.04.16.16.39.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 16:39:25 -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 v2 12/13] doc: qemu: arm64: Fix the documentation of capsule update Date: Sat, 17 Apr 2021 08:39:20 +0900 Message-Id: <161861636024.298230.15188986250483737028.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <161861622792.298230.15803163505976731363.stgit@localhost> References: <161861622792.298230.15803163505976731363.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 9fec75f8f1..e2a9f0db71 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