public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Sridhar C.R" <sridharcr@tataelxsi.co.in>
To: <linux-mtd@lists.infradead.org>
Subject: nandwrite problem
Date: Wed, 25 Feb 2009 10:54:40 +0530	[thread overview]
Message-ID: <005a01c99709$5c8ec4d0$72063c0a@telxsi.com> (raw)

Hi,

I am using an 8Gbit ST Micro NAND flash. I am using the cross compiled mtd
utils (mtd-utils-05.07.23) for mips 64.
The flash eraseall is working. But when I try to write an image (jffs2 / any
other), I am getting the following error

# ./nandwrite -p /dev/mtd0 rootfs.jffs2
Writing data to block 0
pwrite: Input/output error
Data did not fit into device, due to bad blocks
: Illegal seek

The block 0 of this partition is a good block. This is verified by the boot
up info as well as the flash_eraseall utility.
Also the partition is large enough to hold the image in spite of few bad
blocks in the partition.

Can anybody have any ideas?

Thanks,
Sridhar


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

             reply	other threads:[~2009-02-25  5:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-25  5:24 Sridhar C.R [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-04-09  7:29 nandwrite problem Donal Morrissey
     [not found] ` <BAY131-W55A4C892E0412CE9650E0EE2830@phx.gbl>
2009-04-09 20:27   ` Donal Morrissey
2006-07-17 14:59 Davide CASCONE
2006-07-17 15:04 ` Josh Boyer
2006-07-17 17:01   ` Raj Kumar Yadav
2006-07-17 17:43     ` Josh Boyer
2006-07-17 18:10     ` 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='005a01c99709$5c8ec4d0$72063c0a@telxsi.com' \
    --to=sridharcr@tataelxsi.co.in \
    --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