usage of mkfs.jffs2 --incremental=

Harald Krammer Harald.Krammer at hkr.at
Thu Mar 20 11:47:12 EDT 2008


Hello,

I have a question about the usage of "--incremental=<img> in mkfs.jffs2.

I made following test code (flash_img.jffs2 is already there):

mkfs.jffs2 --incremental=flash_img.jffs2  -o flash_backup.jffs2
--root=backup/
cat flash_backup.jffs2 >>flash_img.jffs2
rm flash_backup.jffs2
fcp -v flash_img.jffs2 /dev/mtd3

After mounting I get many error message...

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002e0024:
0x2e94 instead
Further such events for this erase block will not be printed
Empty flash at 0x002e2288 ends at 0x002e228c
CLEANMARKER node found at 0x002e228c, not first node in block (0x002e0000)
Node at 0x002ef82c with length 0x00000a06 would run over the end of the
erase block
Perhaps the file system was created with the wrong erase size?
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002f0000:
0x9a8f instead

What is my mistake?

Any help are welcome
nice greetings,
Harald

-- 
Harald Krammer
Brucknerstrasse 33
A - 4020  Linz
AUSTRIA

Mobil +43.(0) 664. 130 59 58
Mail: Harald.Krammer (at) hkr.at




More information about the linux-mtd mailing list