Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp227028pxf; Wed, 17 Mar 2021 21:09:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3aTaFYiM/4UMP8Hvei6Eki1FnLuZAqLNNn0fY2EhHCFcrO4jqrvbpyzElyfPx/hCk8s7K X-Received: by 2002:a17:906:ecfb:: with SMTP id qt27mr38299892ejb.245.1616040573578; Wed, 17 Mar 2021 21:09:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616040573; cv=none; d=google.com; s=arc-20160816; b=XfiUbAVCtk5QE1p5G26LXxAZga2x1EyTcd4zh0YUiTWqMEe04dklF+M34qAUE4ALOL mhYiDLLeWT2qh565fMOSbQyqYEBvImLsYsclwzI8R/oOHaOIO0JIHJvyI0377/sIfkXQ U1hBxzHCvebMveAYEhWbWAp0iKQ8+BYaKRpz2y0iX62NNG7EHT07lZzYudlcvSsD89Oj ymJI2xD0XOxGgNoPzMdJhFuUYipy+4YsYlIXw/FU4LDRv/4JfN8YlYdp//5cgzGD+5Y1 oq+BluyvvucEo7zSd8X/Oq/n4qg6fxugCVO+nq1BFg8bzHojJjDvUVhHtpn7xt1qmHO8 c0SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=clcXEFq6ynP4G3FgScoQ0dPCugLOCY2XE7EgZ6uFg9c=; b=DrNc748bo7DHSvqfE7v/HkKPZ34niTAuLC68eeT1u4O7e7kvZPwExzUt4Juh5RCl0D KMNOq0JFO7THSChWxXs4aojx9afSXhY65PwMTVnV/h7sMiGEukqb6G67BIslvDwmDWjm uyWymdBAGRbQaGLzQdG2SmTVzlPZZMgUyMfXC5mcMWcnCvePDFA0gCD69BP1Q7cCQfq1 WihdJu5pqm00U5fhloy0ejNuAaQYFerULsQsW763snlR0VtJZN4tnBh3DXiIPKK2bDDp c7oIsIPoot62Ekhp+kgO5hCNQ1rpOo/UFjTGo2PFYF//PkYN9kmiy9nGhFuPViCsTWXv 46Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gnZ2CoOg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pw11si638016ejb.2.2021.03.17.21.09.11; Wed, 17 Mar 2021 21:09:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gnZ2CoOg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229618AbhCREIK (ORCPT + 99 others); Thu, 18 Mar 2021 00:08:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:37474 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbhCREHr (ORCPT ); Thu, 18 Mar 2021 00:07:47 -0400 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-Type: text/plain; charset=us-ascii 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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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