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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 20D2AC00140 for ; Sun, 21 Aug 2022 07:16:25 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BD3368411C; Sun, 21 Aug 2022 09:16:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.b="VBOaQBqt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 563D284133; Sun, 21 Aug 2022 09:16:20 +0200 (CEST) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (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 B8262840AE for ; Sun, 21 Aug 2022 09:16:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=xypron.glpk@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1661066174; bh=08qUGTXKs5dHNgeEPryEX9f0aFwDnuMS+jmpsKcixwA=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=VBOaQBqtBV8KW++quAC5Z0IzMQ9KAANEe7LWiYzr1dGY7cgffc6l7ctYTHClArov+ 3PejrSK7jgLgiurwoxF6v/8Iwbf7ACksYMos4oAETzkNpIjhDAlihIVU2MN28uDpD5 swJipfvgKiO+yiARsu7+lEBMkuVI29JfaDhhczdU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.123.94] ([84.118.157.2]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M89Gj-1oUJkj0n5P-005HuS; Sun, 21 Aug 2022 09:16:14 +0200 Message-ID: <904f572b-9bb9-2dee-5c4f-58ee82bf37f5@gmx.de> Date: Sun, 21 Aug 2022 09:16:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.0 Subject: Re: [PATCH 0/5] FWU: Add support for mtd backed feature on DeveloperBox Content-Language: en-US To: jassisinghbrar@gmail.com Cc: ilias.apalodimas@linaro.org, takahiro.akashi@linaro.org, patrick.delaunay@foss.st.com, patrice.chotard@foss.st.com, sjg@chromium.org, bmeng.cn@gmail.com, trini@konsulko.com, etienne.carriere@linaro.org, monstr@monstr.eu, Jassi Brar , Sughosh Ganu , u-boot@lists.denx.de, Masami Hiramatsu References: <20220714183913.118505-1-sughosh.ganu@linaro.org> <20220722174240.63935-1-jassisinghbrar@gmail.com> From: Heinrich Schuchardt In-Reply-To: <20220722174240.63935-1-jassisinghbrar@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:pl4TOE4hkcX/iw+aZv31n5ZgXx/+QNPpjHdz6SnbqBUu7B9q0kx dk0GGfU/K2r93X6NgzTtYC5WOhzm1uE4teo9OEpCGjFa8BM8uhOt1CWMwoSipzQMRvzYHrF rVhFy2fYyOvbcey4CjYjQrx2no9syrs/6VrLow4xyhGN95QYi6nSlJTG7YFwJHlQKPeEkqh eyvtxNmHknEgt6oqMeexg== X-UI-Out-Filterresults: notjunk:1;V03:K0:uQpXVTQOoR0=:Vp7RESJNS9ejCD/Rk9kLLb SbIfavV8XNzAk+Ld669bhz8w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2RI3MashGJrCfRQSgAkNvAMx2pTi0SHp9iM1DojJZblCRx2PFbMHOBQw== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean On 7/22/22 19:42, jassisinghbrar@gmail.com wrote: > From: Jassi Brar > > The mtd and synquacer (developerbox) support was dropped from v6[1] > This patchset re-introduces the support over last v7[2] submission of th= e patchset. So this series should have been marked v8? > > All the comments on this code over v5 submission have been addressed. Mo= ving forward > a changelog will be maintained. > > [1] https://lore.kernel.org/all/20220704051658.1085442-1-sughosh.ganu@li= naro.org/ > [2] https://lore.kernel.org/all/20220714183913.118505-1-sughosh.ganu@lin= aro.org/ How does this series relate to [PATCH v8 00/13] FWU: Add FWU Multi Bank Update feature support https://lore.kernel.org/all/20220817124323.375968-1-sughosh.ganu@linaro.or= g/? Is it superseded by that series? This series has "FWU metadata on MTD device without GPT" while the other has "FWU metadata on device with GPT partitioned layout". Do we need both? Best regards Heinrich > > Jassi Brar (2): > dt: fwu: developerbox: enable fwu banks and mdata regions > fwu: DeveloperBox: add support for FWU > > Sughosh Ganu (3): > dt/bindings: Add bindings for FWU Metadata mtd storage > FWU: Add FWU metadata access driver for MTD storage regions > FWU: mtd: Add helper functions for accessing FWU metadata > > .../synquacer-sc2a11-developerbox-u-boot.dtsi | 22 +- > board/socionext/developerbox/Makefile | 1 + > board/socionext/developerbox/developerbox.c | 13 + > board/socionext/developerbox/fwu_plat.c | 95 ++++++ > configs/synquacer_developerbox_defconfig | 13 +- > doc/board/socionext/developerbox.rst | 96 ++++++ > .../firmware/fwu-mdata-mtd.yaml | 38 +++ > drivers/fwu-mdata/Kconfig | 8 + > drivers/fwu-mdata/Makefile | 1 + > drivers/fwu-mdata/fwu_mdata_mtd.c | 308 ++++++++++++++++++ > include/configs/synquacer.h | 10 + > lib/fwu_updates/Makefile | 1 + > lib/fwu_updates/fwu_mtd.c | 173 ++++++++++ > 13 files changed, 776 insertions(+), 3 deletions(-) > create mode 100644 board/socionext/developerbox/fwu_plat.c > create mode 100644 doc/device-tree-bindings/firmware/fwu-mdata-mtd.yam= l > create mode 100644 drivers/fwu-mdata/fwu_mdata_mtd.c > create mode 100644 lib/fwu_updates/fwu_mtd.c >