From: Shawn Guo <shawnguo@kernel.org>
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
Date: Thu, 18 Mar 2021 12:07:40 +0800 [thread overview]
Message-ID: <20210318040740.GX11246@dragon> (raw)
In-Reply-To: <1615995909-6240-2-git-send-email-dillon.minfei@gmail.com>
On Wed, Mar 17, 2021 at 11:45:09PM +0800, dillon.minfei@gmail.com wrote:
> From: dillon min <dillon.minfei@gmail.com>
>
> 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 <dillon.minfei@gmail.com>
> Reviewed-by: Fabio Estevam <festevam@gmail.com>
> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
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
WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo@kernel.org>
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
Date: Thu, 18 Mar 2021 12:07:40 +0800 [thread overview]
Message-ID: <20210318040740.GX11246@dragon> (raw)
In-Reply-To: <1615995909-6240-2-git-send-email-dillon.minfei@gmail.com>
On Wed, Mar 17, 2021 at 11:45:09PM +0800, dillon.minfei@gmail.com wrote:
> From: dillon min <dillon.minfei@gmail.com>
>
> 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 <dillon.minfei@gmail.com>
> Reviewed-by: Fabio Estevam <festevam@gmail.com>
> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Replaced with this version.
Shawn
next prev parent reply other threads:[~2021-03-18 4:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-17 15:45 [PATCH v2] ARM: dts: imx6ull: fix ubi mount failed on MYS-6ULX-IOT board dillon.minfei
2021-03-17 15:45 ` dillon.minfei
2021-03-17 15:45 ` [PATCH v2] ARM: dts: imx6ull: fix ubi filesystem mount failed dillon.minfei
2021-03-17 15:45 ` dillon.minfei
2021-03-18 4:07 ` Shawn Guo [this message]
2021-03-18 4:07 ` Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210318040740.GX11246@dragon \
--to=shawnguo@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dillon.minfei@gmail.com \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=parthiban@linumiz.com \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.