From patchwork Fri Oct 22 22:19:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 1545118 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Hbf1L196vz9sRN for ; Sat, 23 Oct 2021 09:20:22 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0E7B88352E; Sat, 23 Oct 2021 00:20:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 3338F834F1; Sat, 23 Oct 2021 00:19:55 +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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 655B383461 for ; Sat, 23 Oct 2021 00:19:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=marcel@ziswiler.com Received: from toolbox.cardiotech.int ([194.191.235.54]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MvruF-1mw8Gh1XcN-00svev; Sat, 23 Oct 2021 00:19:40 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Cc: Michael Walle , Marcel Ziswiler , Frieder Schrempf , Priyanka Jain Subject: [PATCH v4 5/5] board: sl28: add update image documentation Date: Sat, 23 Oct 2021 00:19:24 +0200 Message-Id: <20211022221924.1226010-6-marcel@ziswiler.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20211022221924.1226010-1-marcel@ziswiler.com> References: <20211022221924.1226010-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:bHtYoqax/wrj96RiuvuwLHz8P5bgYD9+/JXmSMMUNfMqO7kmEqh ZziwFKW83IwlXvo3v0qpvTvXsnwg0couvNiiRX+4jJbTQNSF1MzsuBGth0gh91uCfxTzhEc /Y5GvPamPHL1tZv8iQq0sLw7rWs5CLNGWhMPd4xONJ7k9WfA0qsvPmjhIKrHM+Z+02d+blo zrJxDJ0s1vR3OvQWVFNcA== X-UI-Out-Filterresults: notjunk:1;V03:K0:U4S9s2F4n30=:XwI7ttjT2hyPh1z4iHHLgQ aTc0HeTMrsl/gel1nduGNPe37l4M99jf8JqvpTzQkWJxmnMB96Ya3phhCjOqHACxwEk6pBJQK uURljTKqiYk0ldoTbVmIob81lwTp28sCwP+YxxtsRBF5aXg7pLM08bf+vBXDKx00bzZGC7Ewe Pzsp2RS0MMpZhoPk8dW8oyD7TFAO1gBFrjXkZIteakpslzR1xjL3FPXOA5PW1n7orKRVVRW6j MlS1oKUpW0JuMl8/yGWxrphbG3lrEFTQ2DzoTQVStIVflLP3sZyvNXXD6vPh1edUGcRO7TPnB VJegR+AtyWCuEdnxJ2DDQJmfvTCqsuozKd+vHzR1KA1rekojNHm5jN1eRPjKXB0TURP3JpioB pmG/7JkT4f4q9K+6NZhpgVpkwFoVYcmuG8ut4mwJs7VbZ7h7vqL4Y66krAa44QE+o+qrPvz8o WHXwXgc/rAiTjPLFMezk7ASGtBPLh5PJzB8fYrsgdrVqYhqNaXfljOsHsVaOt8+kRH3OGEFnu gYY6Shc9rL4QilqZ+wJ1ecitetotRfNE9ZovbiVctTBXloDhRy/DtqSKxBF3UY/gr+Z8Avxzo Sxu4Tp3n+tO9TX8B8u4e7MJm38xu5phDfGdPF1DC+7TGCy6VwtsQMZsBah7vbyEHbJxYet2Kx hUOw+O+CrQyFxZSdRrVr3czleFMvudG8zniP9q92d9heTdkGP8RryWuOtKWJR2GzERGI= 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.103.2 at phobos.denx.de X-Virus-Status: Clean From: Michael Walle Document the update image and how to use the EFI UpdateCapsule. Signed-off-by: Michael Walle Signed-off-by: Marcel Ziswiler --- Changes in v4: - Re-based on top of imx/master. Changes in v3: - none Changes in v2: - new patch doc/board/kontron/sl28.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/board/kontron/sl28.rst b/doc/board/kontron/sl28.rst index 07431986d8f..c7b18bed10c 100644 --- a/doc/board/kontron/sl28.rst +++ b/doc/board/kontron/sl28.rst @@ -52,6 +52,21 @@ Disable the builtin watchdog - power-cycle the board +Update image +------------ + +After the build finished, there will be an update image called +u-boot.update. This can either be used in the DFU mode (which isn't +supported yet) or encapsulated in an EFI UpdateCapsule. + +To build the capsule use the following command + + $ tools/mkeficapsule -f u-boot.update -i 1 UpdateUboot + +Afterward you can copy this file to your ESP into the /EFI/UpdateCapsule/ +folder. On the next EFI boot this will automatically update your +bootloader. + Useful I2C tricks -----------------