mkfs.jffs2 and mksum

Artem Bityutskiy dedekind at infradead.org
Wed Sep 19 08:50:17 EDT 2007


Hi,

On Wed, 2007-09-19 at 15:45 +0300, Timo Piiroinen wrote:
> I have done jffs2 image with --pad option to match my flash size and it 
> works fine. However, if I want to use summary, the sumtool creates smaller 
> image than original padded jffs2 image and the flash isn't fully used. 
> I write the jffs2 image using bootloader, where I set the size of the 
> flashing length match the filesize. Is there any way to pad summed 
> image to larger so that i can fully occupy flash?
> sumtool -p option doesn't allow to set filesize.

If your flash is NAND flash I do not recommend you to pad it because
writing FFs may have side-effects.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list