[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jffs_erasable_size: offset = 0x0034b000
David Woodhouse wrote:
>
> dwmw2@xxxxxxx.org said:
> > Under what circumstances can jffs_flash_erasable_size() get called
> > with an offset which isn't erase-block-aligned?
>
> > jffs_flash_erasable_size() given non-aligned offset 34b000 (erasesize 20000)
>
> Hmmm. Could it perhaps be related to the fact that this JFFS image was
> produced on an MTD device with an erase size of 4Kb and then transplanted to
> real flash with an erase size of 128Kb?
I tried loading an image from a device with 4kb erase sectors on a
device with erase sectors of 128kb (using mtdram) and I got exactly the
same message when I tried to erase a file. This is definitly related...
--
Sébastien Côté