suddently, can't use "cp jffs2.img /dev/mtd0" anymore
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?
thanks
Quoted 9 lines · rolf liu
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:
MTDdo_write_buffer(): software timeout
cp: writing '/dev/mtd0' : Input/output errorany 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
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 :(
Quoted 21 lines · Josh Boyer
Quoted 9 lines · rolf liu
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:
MTDdo_write_buffer(): software timeout
cp: writing '/dev/mtd0' : Input/output errorany idea?
Did you erase the chip before writing to it like that again? If not, you'll need to do:
flash_eraseall/dev/mtd0Then try your copy again.
josh