From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE5B3C433E0 for ; Thu, 18 Mar 2021 04:09:44 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2747664F10 for ; Thu, 18 Mar 2021 04:09:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2747664F10 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=sFJWlOQthGuWHkHv44ZnjWj0uFiU/cZs5tEOA2H4Z4s=; b=UbzAYTY57d9DRamB+mVVhTj76 9SHP00DHBVyteOCyJRlM7MP282QPAAV7LUGBl4/y0aRhjNJYLHD/mFfpbi9E7jb68XeBMtTs6KR/K wvQPDKkMqpSkuF/shEv/gPlHy4wYbW5YBtk2zlo+OhSfpm3U313xj71j+HaW7BcV59rm5rKM+RvZU /SggZ0SZ9RpOc6DduELQgP2oekxRwgZIcvyWkel0GlIAg8XEh7h2XTOA6DW7n2ktsiREpNVCGY2tW D1Ng9a6bJv0myzKt387G11Sy4XVhb8JTzH+H6tLhLKvvknwZQfN3pEbmZWRBK3SL7QSF4sP/sBzr8 kmvNLTMRA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lMjx4-004OVX-Jk; Thu, 18 Mar 2021 04:08:03 +0000 Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lMjwq-004OUm-9e for linux-arm-kernel@lists.infradead.org; Thu, 18 Mar 2021 04:07:50 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id B2EB964F10; Thu, 18 Mar 2021 04:07:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1616040466; bh=6Z0+ws9wMVStoDerj/3Uu7pkXPXYhZ2EPZ/Tp7i5qCY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gnZ2CoOg7vKcTtb4Eppj2AEMIEfv6vwrj63dLljaa7d8uNWvjX53N7UdURpDmyETR YRPgIJV9Ja/y2MTVAHR95X8sjd1u9ITY5a1K1ESHOK6rmcwXa04wcE0pMQ0iuICFUo gMZ2I6tzjiDznTG36cCeu1MreYTTCc3xYPAMGWpK/blT5C12InPnjzAIGBdBWk45wk PW+vXE64uaZmSH3wfV5qzOhlegwDYrcR8DvTA3JZQhIlhY2fdz/XFRC3gawGafOqI0 iGE4klG5GzJ06oy72pTCMaY7BZBH6LOazPjk73sEUyzexHQ2wcm4iEXGluQ8h6J/ef ReH6ejWhTbzZw== Date: Thu, 18 Mar 2021 12:07:40 +0800 From: Shawn Guo To: dillon.minfei@gmail.com Cc: robh+dt@kernel.org, s.hauer@pengutronix.de, parthiban@linumiz.com, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] ARM: dts: imx6ull: fix ubi filesystem mount failed Message-ID: <20210318040740.GX11246@dragon> References: <1615995909-6240-1-git-send-email-dillon.minfei@gmail.com> <1615995909-6240-2-git-send-email-dillon.minfei@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1615995909-6240-2-git-send-email-dillon.minfei@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210318_040748_647596_16B9F85E X-CRM114-Status: GOOD ( 11.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Mar 17, 2021 at 11:45:09PM +0800, dillon.minfei@gmail.com wrote: > From: dillon min > > For NAND Ecc layout, there is a dependency from old kernel's nand driver > setting and current. if old kernel use 4 bit ecc , we should use 4 bit > in new kernel either. else will run into following error at filesystem > mounting. > > So, enable fsl,use-minimum-ecc from device tree, to fix this mismatch > > [ 9.449265] ubi0: scanning is finished > [ 9.463968] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading > 22528 bytes from PEB 513:4096, read only 22528 bytes, retry > [ 9.486940] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading > 22528 bytes from PEB 513:4096, read only 22528 bytes, retry > [ 9.509906] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading > 22528 bytes from PEB 513:4096, read only 22528 bytes, retry > [ 9.532845] ubi0 error: ubi_io_read: error -74 (ECC error) while reading > 22528 bytes from PEB 513:4096, read 22528 bytes > > Fixes: f9ecf10cb88c ("ARM: dts: imx6ull: add MYiR MYS-6ULX SBC") > Signed-off-by: dillon min > Reviewed-by: Fabio Estevam > Signed-off-by: Shawn Guo Replaced with this version. Shawn _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel