suddently, can't use "cp jffs2.img /dev/mtd0" anymore
rolf liu
rolfliu at gmail.com
Wed Jul 20 17:47:21 EDT 2005
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 at 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
>
>
More information about the linux-mtd
mailing list