From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63304C07E94 for ; Fri, 4 Jun 2021 09:46:01 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E18EB61405 for ; Fri, 4 Jun 2021 09:46:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E18EB61405 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7A85982F12; Fri, 4 Jun 2021 11:45:37 +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="OhgrSlya"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 797F782F47; Fri, 4 Jun 2021 11:45:32 +0200 (CEST) Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) (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 9F88C82EBC for ; Fri, 4 Jun 2021 11:45: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-pj1-x102f.google.com with SMTP id z3-20020a17090a3983b029016bc232e40bso2128532pjb.4 for ; Fri, 04 Jun 2021 02:45:27 -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=OhgrSlyaKil256uC9rDuNrTAO+zzh+fXeCxReNkeK0FLlrk3My/TwCAjYwM3sYM114 sM6ys94tpr8Sn8ZcnbipUOJzWzoCRQBHJlonVDazcEj6QgmQmaxR6XW8tzN/81u5w8Rj k98zbqBiYvTV6s+jfyENh+C2YAB72Wx4qGqnumeZn0bgBai0ijk2chu0HhnMKe5Eyqoy JOx8Layd3pioNggw4qUuc9190yjleNnIzktsKJyPerhhKA38SV4zoaTZ1RhMVEGXqUx5 Xlk12qz/EQxSDU9yIuEfgOHX0F9PSBUcALEzYWJYnZr9hiVzak8m3fWcrSEdT3l3Dp3f +XkQ== 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=kgZU6fEDUsDQx8sVy+b8U9Kqx+5PnWZ0H9gJjxscI2IzNoJ/wGeQfoAWYWmsd7W6/S bDeNyZJFJPs9hy//4d/THL39NAVkjrWqnYlU1kdaWqZKJ0tvWU9BdY70j68PKuiiobb3 SMWv00heJbQ6eTZZ5FF8n/vrPLa504KeOIdKW/8CtcUrkr3hH06McaRtvl9iefCpvwXl Oll4aIVFUle6Yl4QMusE4kK9mGrIr9H3Qd62q7xrRf+nqpcREwt9/dKjO9gK6v0NL143 DTFeW2ugYc40aIs84rarAMt+XuFSpx20fNjpmvvOxOaxlqKNP53qYw46oX5IWN1+9ugD fLVQ== X-Gm-Message-State: AOAM532pngKRsDAjUl+FW75BxTTbbAsf+1NUgPRZQ09gVneCUsVu+XI4 uHPljbQ7IeXz7JYryw3K6oQllg== X-Google-Smtp-Source: ABdhPJwIUwwQQApP01tuyVkBbktZqckEBmYKQiuG7TZqgEHOI0vjJjxwG9CJrtGCV7lSogayBut1WA== X-Received: by 2002:a17:902:820a:b029:10c:a12b:e524 with SMTP id x10-20020a170902820ab029010ca12be524mr3335192pln.79.1622799926147; Fri, 04 Jun 2021 02:45:26 -0700 (PDT) Received: from localhost.localdomain (NE2965lan1.rev.em-net.ne.jp. [210.141.244.193]) by smtp.gmail.com with ESMTPSA id o17sm1577275pgj.25.2021.06.04.02.45.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Jun 2021 02:45: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, Jaehoon Chung Subject: [PATCH v5 12/13] doc: qemu: arm64: Fix the documentation of capsule update Date: Fri, 4 Jun 2021 18:45:21 +0900 Message-Id: <162279992080.518877.6026424590329874827.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: <162279979193.518877.11119025270138617301.stgit@localhost> References: <162279979193.518877.11119025270138617301.stgit@localhost> User-Agent: StGit/0.19 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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