From: rolf liu <rolfliu@gmail.com>
To: Josh Boyer <jdub@us.ibm.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: suddently, can't use "cp jffs2.img /dev/mtd0" anymore
Date: Wed, 20 Jul 2005 14:47:21 -0700 [thread overview]
Message-ID: <2db32b7205072014471289193b@mail.gmail.com> (raw)
In-Reply-To: <1121895167.12397.0.camel@windu.rchland.ibm.com>
I did it every time before I want to write to it :)
It just works yesterday. Today I applied the patch and recompiled the
kernel 2.6.12.
It stops working :(
On 7/20/05, Josh Boyer <jdub@us.ibm.com> wrote:
> On Wed, 2005-07-20 at 11:40 -0700, rolf liu wrote:
> > Yesterday, I can use "cp jffs2.img /dev/mtd0" to copy the jffs2 image
> > to mtd. Today, I applied the cvs snapshot of mtd to kernel and
> > compiled it. Suddenly, the "cp" command stops working.
> >
> > it tells me:
> > MTD do_write_buffer(): software timeout
> > cp: writing '/dev/mtd0' : Input/output error
> >
> > any idea?
>
> Did you erase the chip before writing to it like that again? If not,
> you'll need to do:
>
> flash_eraseall /dev/mtd0
>
> Then try your copy again.
>
> josh
>
>
prev parent reply other threads:[~2005-07-20 21:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-20 18:40 suddently, can't use "cp jffs2.img /dev/mtd0" anymore rolf liu
2005-07-20 21:32 ` Josh Boyer
2005-07-20 21:47 ` rolf liu [this message]
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=2db32b7205072014471289193b@mail.gmail.com \
--to=rolfliu@gmail.com \
--cc=jdub@us.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox