Question about Davinci NAND using 4 bit ECC
Christopher Cordahi
christophercordahi at nanometrics.ca
Wed Jul 19 09:34:36 PDT 2023
On Tue, 18 Jul 2023 at 04:02, Miquel Raynal <miquel.raynal at bootlin.com> wrote:
Thanks Miquel for the quick response
And apologies for sending you the question 3 times. My first attempt included
an HTML copy which was rejected by the mailing list, and it took me an extra
attempt to force my email client to use plain text. And the third email is
still awaiting approval by the mailing list moderator, I suspect due to how I
forwarded and reformatted the original email back to the mailing list.
> It is hard to tell whether these changes are legitimate or not without
> properly testing. If you benchmark your changes and never see any
> error, it does not mean you fall into the pits during your tests.
OK, I was hoping to avoid my own testing because as you write, no errors
doesn't mean it's better. And I was overly optimistic in hoping for an
explanation as to why this driver mostly written by TI 15 years ago doesn't
match their documented procedure.
> Observing bitflips in userspace and detecting them can be achieved
> easily with the nandbiterrs -i tool from the mtd-utils test suite.
Thanks for this tip, I'll look into extending the Yocto mtd-utils recipe [1]
to install it. I see the kernel also has a nandbiterrs mtd test driver[2].
Can it be used? Is there any documentation on how to use this kernel test?
[1] https://git.yoctoproject.org/poky/plain/meta/recipes-devtools/mtd/mtd-utils_git.bb
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/mtd/tests/nandbiterrs.c
--
Chris
--
This message is intended exclusively for the individual or entity to which
it is addressed. This communication may contain information that is
proprietary, privileged, confidential or otherwise legally exempt from
disclosure. If you are not the named addressee, or have been inadvertently
and erroneously referenced in the address line, you are not authorized to
read, print, retain, copy or disseminate this message or any part of it. If
you have received this message in error, please notify the sender
immediately by e-mail and delete all copies of the message.
More information about the linux-mtd
mailing list