From: "Alex Samoutin" <samoutin@hotbox.ru>
To: <linux-mtd@lists.infradead.org>
Subject: NAND subsector writing problem
Date: Wed, 29 Jan 2003 17:10:09 -0800 [thread overview]
Message-ID: <007801c2c7fc$5834da60$1a00a8c0@itc.intrinsyc.com> (raw)
Hello,
I've implemented hardware driver for Toshiba TC5818AFT NAND flash . (I took
Jan 27 snapshot of MTD drivers).
When I do write and read using "nandwrite/nanddump" utilities - it is look
like all working fine. However "nandtest" showed me error message during
subsector writing (see log below). Can I use jffs2 with this type of
problem or I have to fix it? (And may be you know - what can cause this
error?)
Thanks.
Alex.
debian:/home/util# ./nandtest /dev/mtd1
MTD_open
MTD_ioctl
This will erase the first block of device, continue? y
Performing FlashMTD_ioctl
Erase of lengthnand_erase: start = 0x00200000, len = 16384
16384 at offset 0...
MTD_read
OK
Test if block was erased...
nand_read_ecc: from = 0x00200000, len = 512
MTD_ioctl
nand_read_oob: from = 0x00200000, len = 16
MTD_read
[..censored..]
nand_read_ecc: from = 0x00203e00, len = 512
MTD_ioctl
nand_read_oob: from = 0x00203e00, len = 16
OK
Writing 512 byte sectors...
MTD_write
nand_write_ecc: to = 0x00200800, len = 512
MTD_write
nand_write_ecc: to = 0x00200a00, len = 512
MTD_write
nand_write_ecc: to = 0x00200c00, len = 512
MTD_write
nand_write_ecc: to = 0x00200e00, len = 512
OK MTD_read
Reading 512 byte sectors...
nand_read_ecc: from = 0x00200800, len = 512
MTD_read
nand_read_ecc: from = 0x00200a00, len = 512
MTD_read
nand_read_ecc: from = 0x00200c00, len = 512
MTD_read
nand_read_ecc: from = 0x00200e00, len = 512
OK MTD_write
Testing subsector writing... nand_write_ecc: to = 0x00200190, len = 112
MTD_write
nand_write_ecc: to = 0x00200064, len = 100
nand_write_page: Failed write verify, page 0x00001001 pwrite: Input/output
error <6>
MTD_close
nand_sync: called
next reply other threads:[~2003-01-30 0:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-30 1:10 Alex Samoutin [this message]
2003-01-30 8:23 ` NAND subsector writing problem David Woodhouse
2003-01-30 20:57 ` Charles Manning
2003-01-31 2:11 ` Alex Samoutin
2003-01-31 4:01 ` Charles Manning
2003-01-31 7:10 ` Thomas Gleixner
2003-02-01 2:10 ` Alex Samoutin
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='007801c2c7fc$5834da60$1a00a8c0@itc.intrinsyc.com' \
--to=samoutin@hotbox.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