suddently, can't use "cp jffs2.img /dev/mtd0" anymore
Josh Boyer
jdub at us.ibm.com
Wed Jul 20 17:32:47 EDT 2005
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