Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12624C433F5 for ; Fri, 22 Oct 2021 22:20:15 +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 E19E060EB1 for ; Fri, 22 Oct 2021 22:20:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E19E060EB1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de 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) 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 Content-Transfer-Encoding: 8bit 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 ----------------- -- 2.26.2