Skip to contentSkip to conversation

summary patch

DISCUSSION Sergei Sharonov 2 participants 4 messages Apr 29, 2005 – May 5, 2005 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,

after applying summary patch I start getting messages like:

JFFS2: not enough space for summary, padsize = -530
JFFS2: not enough space for summary, padsize = -199
JFFS2: not enough space for summary, padsize = -992
JFFS2: not enough space for summary, padsize = -127

Is that a note, a warning or an error? kernel 2.6.10 with March 28th 2005 mtd snapshot.

Sergei Sharonov

#1 lore raw

Hi Sergei,

Quoted 6 lines

JFFS2: not enough space for summary, padsize = -530
JFFS2: not enough space for summary, padsize = -199
JFFS2: not enough space for summary, padsize = -992
JFFS2: not enough space for summary, padsize = -127

Is that a note, a warning or an error?

It is a warning.

I think you you did not used sumtool2, did you? (it is a user-space tool for generating summary for an image)

Regards,
Ferenc

#2 lore raw

Hi,

Quoted 2 lines

I think you you did not used sumtool2, did you? (it is a user-space tool for generating summary for an image)

I do not use an image, just mount jffs2 on a freshly erased chip. Do I still need to do something special after I erase NAND?

Sergei

#3 lore raw

Hi Sergei,

Unfortunatelly we don't have a real NAND device, just Artem's NAND simulator.

The emulated flash is: size:64M, erase block: 128KiB, page size: 2K page.

We tried the following:

modprobe nandsim
flash_eraseall -j /dev/mtd0c
mount /mnt/flash
cp linux-2.6.11.7.tar.bz2 /mnt/flash (35 MB)
umount /mnt/flash
mount /mnt/flash

There was no error/warning messages, and using

jffs2dump -cv /dev/mtd0c |less

there was summary nodes on the flash at right places.

How did you used it? Which flash device do you use?

Bye,
Ferenc