From patchwork Fri Jun 4 09:45:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 454015 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp259148jae; Fri, 4 Jun 2021 02:46:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWHxC6EfIBCqKFvkuwH1i/FRbCqIAVWutv+HqgsEzFUbGyG8ONtYuO/oMLfCYzM/Yrb2Ri X-Received: by 2002:a05:6402:22fa:: with SMTP id dn26mr3708366edb.230.1622799961669; Fri, 04 Jun 2021 02:46:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622799961; cv=none; d=google.com; s=arc-20160816; b=WDeaHaE/ydRl1S1B+7Y+42mwopNBj26GT7DCXecd2X56Drj5EuRHLUhfmRMa5uN25a YLcXncDy8SYmqQeS75J39ph83RsdnXInPEYtueXq5+xhSJu7+mhMbZlvMwtJt3I1tB46 R2bjqv3ekB1mTIJZcoMYYR9Qux330I7HHHug6XvO7wGRCQqCCtGBJbRnXLu8RQ4XL//G 8gaHf9QRttIyzCkYDxh2L/uPOkmdzennFvlWuUB0LDPTwW+dhuiFhuIhYO2BI3dZb4P4 BQZoXiSGnff9wsEzxIvfFwCPo5nUvTyzauzKGymW9/au2WiWXY3IhOsZfPgivJkcdvDo 7N3A== 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=C3QFtvP3zNMZwz1iD/olcXSFdxSDxJVF8k1WxM8ZLytslu1FqISfUl8x5oI83grNqG kYfH9xpJ1Nwyr+7xZIyfwTfb6WEBYQbDHsJmQ10u/C9NYRyjvFAudp9TXDVitEfDCVPc Fg/YO/zfZuCGcKcl5PleZOeTUp+RMi7TmZjNmqG/xctNGy29iz6sp/t+AWDLTZyuq2ju CmyAUhHP9AWD0hHy//dB1/UpjUPXl/KinRHpiuRPdfXBOwt2u5cSFn4nKoxhjXBX+49/ TkSlMdxPm9TsoGCVKYgp9gZiCU8rtHTtdKnuJHx+r7esovaF5uNf9Dr+ozc0c8l0LHmk 0xag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OhgrSlya; 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 cd8si5129174ejb.132.2021.06.04.02.46.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Jun 2021 02:46:01 -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=OhgrSlya; 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 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) 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-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-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 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