From: Artem Bityutskiy <dedekind@infradead.org>
To: Wanghao.Yu@infineon.com
Cc: linux-mtd@lists.infradead.org
Subject: Re: How to use MTD util: nandwrite
Date: Tue, 11 Sep 2007 11:44:59 +0300 [thread overview]
Message-ID: <1189500299.14370.110.camel@sauron> (raw)
In-Reply-To: <BA6FCA7F70D9FD43B88BFB2DD4E6EB7701136E41@xiyse301.ap.infineon.com>
On Tue, 2007-09-11 at 10:51 +0800, Wanghao.Yu@infineon.com wrote:
> I met a problem when I used nandwrite to copy file to NandFlash.
> The command I used is as follows.
> #nandwrite /tmp/hello /dev/mtd0 (copy file named hello to /dev/mtd0)
> The error message is
> MEMGETINFO: Inappropriate ioctl for device.
> Before using nandwrite, I have already used "flash_eraseall -j /dev/mtd0" to erase the NandFlash.
> I don't know where the problem is.
> Could anyone help me?
I last tried this a year ago and it worked. But I wouldn't be surprized
if someone broke the utility. So I'd suggest you to debug
nandwrite/kernel.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
next prev parent reply other threads:[~2007-09-11 8:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-11 2:51 How to use MTD util: nandwrite Wanghao.Yu
2007-09-11 8:44 ` Artem Bityutskiy [this message]
2007-09-11 9:23 ` falls huang
2007-09-11 9:36 ` Wanghao.Yu
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=1189500299.14370.110.camel@sauron \
--to=dedekind@infradead.org \
--cc=Wanghao.Yu@infineon.com \
--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 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.