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 9F6B8C433FE for ; Thu, 3 Feb 2022 17:47:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 78020838B7; Thu, 3 Feb 2022 18:47:24 +0100 (CET) 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 C4F48838BF; Thu, 3 Feb 2022 18:47:22 +0100 (CET) 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 0ED4F836C3 for ; Thu, 3 Feb 2022 18:47:19 +0100 (CET) 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 localhost.localdomain ([81.221.85.15]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LhPqo-1mTR472X9E-00meZI; Thu, 03 Feb 2022 18:41:40 +0100 From: Marcel Ziswiler To: u-boot@lists.denx.de Cc: Heiko Schocher , Stephan Gerhold , Oleksandr Suvorov , Sebastian Reichel , Fabio Estevam , Harm Berntsen , Philippe Schenker , Weijie Gao , Stefano Babic , Linus Walleij , Hannes Schmelzer , "NXP i . MX U-Boot Team" , Stefan Roese , Simon Glass , Max Krummenacher , Michal Simek , Marcel Ziswiler Subject: [PATCH v2 0/2] Use the complete 512kb (4 blocks) nand partition reserved for u-boot Date: Thu, 3 Feb 2022 18:41:23 +0100 Message-Id: <20220203174125.712632-1-marcel@ziswiler.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:kgkfnkmr/+2peqDiRVzw5Ndl1FlAhq4/1yqR97eAVTLe+cJkqV7 p+dC+peIAcYShm1Rd19i98LYa1TODQD0ZEjXwCdbx1GYvwaLf0xeBPad6uRUJL9oq5RzIsO I1yHwxpdwhkp9Zf04mJx5NTy17Hv7Hnc4LechcQ0pcgN3ZjOhbFZQ3qeCZJ2+Ub3IaKxUlv 5e/nwMfE+qeoTRK41hoFg== X-UI-Out-Filterresults: notjunk:1;V03:K0:8+Pto4GkYUY=:9oMdQqTbJO0QPw1C2kKiYH g/EvUNjZi8gY9H9r3jeufHz2N2X4nvz51a7+7PSNKR+5FQYWuK2Nz7mVQDj4Ddm5iiEV4PH2q LH1vZEBXuREywFGhzuyGGAzFXBErI5FN8iubfKLb6EPcsRWGc5QYGBlrstX2e9fK87zCpPYWP Mu8m4As2p++w+heTKf3xikVACsb0xFaSQ5R8IOYZ4dsNCcJnHvh6xQc+JeMS/BKax9OL8YlnD XFyOxP6lnnguERP2Kci/Ur70wN5rXa+mC0w62sZcf2474i5HZjVfm+jrpUpf5TMCkNyGoy9Qo NkhLO2L2ufD0QF+M0JWRu7/N7fbxZ+S3RDSPI1eLpFjhFqQZrRBspWVJHWTcj3GqAoIsGFJZY 1ttKs7WgXj5ockp76r2Am1pExGcmG1B3RvEarBvElUgiC44JPNOPSL6ab/9p5+3FbfJQv7f/B BgIIg9jt9fe8GZ2tontfnuNe9gN9Jjq6Ji5DoaA+FLww/o7njC+Vfyb+wi/QO1hXYG738Ggwu 9ocpNKflkkwJN4LPW9XneH9v5/cnAPQ8faoMboEh5VTQ3OhMSE4kxsFuiS/0iJfOnWtfRuHzV ETgVvv/e2sBF3g88aw40SvIq2oCZz+x/XcsGDa83LznAwL092TIGYeZMN7Jfz5bOBDZLnUcbG Cajr+1u5y+wQ1NYm25LGEPdSWNn27TftbpVnV8wbOwVQ+/qQIdLXozk1HMRHtvmJhtws= 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.5 at phobos.denx.de X-Virus-Status: Clean From: Marcel Ziswiler environment instead of just the first block, this allows the module to have a working environment even if 3 blocks are bad. Changes in v2: - Re-based on top of today's master taking our recent addition of the eMMC SKU into account. - Just remove stale eMMC environment comment after Kconfig move. Francesco Dolcini (2): colibri-imx6ull: improve env badblock management colibri-imx7: improve env badblock management include/configs/colibri-imx6ull.h | 5 +++-- include/configs/colibri_imx7.h | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) -- 2.34.1