From: art <art@sigrand.ru>
To: linux-mtd@lists.infradead.org
Subject: Re[2]: Reading data from NAND FLASH without ECC is not recommended
Date: Wed, 17 May 2006 14:28:13 +0700 [thread overview]
Message-ID: <576464173.20060517142813@sigrand.ru> (raw)
In-Reply-To: <1147822606.30771.15.camel@shinybook.infradead.org>
[-- Attachment #1: Type: text/plain, Size: 1199 bytes --]
Hello David,
Wednesday, May 17, 2006, 6:36:46 AM, you wrote:
DW> On Mon, 2006-05-15 at 03:54 +0000, Polyakov Artem wrote:
>> But my debug messages shows this:
>> > write oob(00001890): 65 55 97 5a ffff 69 57 ff ff ff ff ff ff ff ff
>> bytes for ECC are not equal 0xFF!
>> but system dont use this bytes for ECC correction:
>> > Reading data from NAND FLASH without ECC is not recommended
DW> You're saying that the system _writes_ ECC data to the flash, but does
DW> not use ECC when reading from the flash?
DW> Please show your NAND board driver, and also the code you used for
DW> reading from the flash.
Setup mtd device from NAND board driver:
/* Set address of NAND IO lines */
this->IO_ADDR_R = (void __iomem *)adm5120_fio_base;
this->IO_ADDR_W = (void __iomem *)adm5120_fio_base;
/* Set address of hardware control function */
this->hwcontrol = adm5120_hwcontrol;
this->dev_ready = adm5120_device_ready;
/* 20 us command delay time */
this->chip_delay = 20;
this->eccmode = NAND_ECC_SOFT;
and I attach nand_base driver from my kernel.
--
Best regards,
art mailto:art@sigrand.ru
[-- Attachment #2: nand_base.rar --]
[-- Type: application/octet-stream, Size: 17266 bytes --]
next prev parent reply other threads:[~2006-05-17 7:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-15 3:54 Reading data from NAND FLASH without ECC is not recommended Polyakov Artem
2006-05-16 23:36 ` David Woodhouse
2006-05-17 7:28 ` art [this message]
2006-05-17 9:47 ` Re[2]: " David Woodhouse
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=576464173.20060517142813@sigrand.ru \
--to=art@sigrand.ru \
--cc=linux-mtd@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox