JFFS2 with AM29LV256M

David Woodhouse dwmw2 at infradead.org
Thu Aug 19 06:16:37 EDT 2004


On Thu, 2004-08-19 at 11:40 +0200, Manfred Gruber wrote:
> Am Donnerstag, 19. August 2004 10:32 schrieben Sie:
> 
> > Our code which should handle suspending erases to allow programming is
> > broken. So we disabled it -- you have to wait for erases to complete
> > before the code will write data to the flash instead.
> 
> Then i have to change the do_write_oneword function to wait until erase is 
> finshed ?

No, we did that already. And we put that printk in to remind us to fix
it properly some time soon.
> the difference is: cp rootfs.img /dev/mtd only uses:
> 
> MTD_write
> MTD_do_write_buffer
> and so on ...
> 
> and cp a file on the mounted image uses:
> 
> MTD do_write_buffer(): WRITE 0x0028641c(0xe0011985)
> MTD do_write_oneword(): WRITE 0x0028641c(0xd5997a45)
> MTD do_write_oneword(): software timeout

Hmmm ok, so it's do_write_oneword() which is broken.

-- 
dwmw2





More information about the linux-mtd mailing list