latest mtd changes broke collie
Pavel Machek
pavel at ucw.cz
Mon Nov 14 07:10:06 EST 2005
Hi!
> > I tried this one. Size 0xc0000 is reported as a "bootloader" during
> > boot.
> >
> > [Plus I get a warning from jffs2 that flashsize is not aligned to
> > erasesize. Then I get lot of messages that empty flash at XXX ends at
> > XXX.]
>
> What erase size did you end up using? Is 0xc0000 a multiple of it?
I ended up using ERASEINFO(0x10000,64), but I should probably be using
ERASEINFO(0x40000,16).
> > + subdev->mtd->unlock(subdev->mtd, 0xc0000, subdev->mtd->size);
>
> Probably unrelated to the actual problems, but shouldn't that be
> subdev->mtd->size - 0xc0000 at the end?
Fixed, thanks.
Pavel
--
Thanks, Sharp!
More information about the linux-mtd
mailing list