jffs2 behaviour

gxk gxkahn at gmail.com
Thu Mar 20 09:09:23 EDT 2008


I have kernel 2.6.10 with 3 partitions:
offset		size
0		900000
900000		a00000
1300000		1400000

window address is 0xd0000000

In the uboot prompt doing burn for 2nd partition
erase 0xd09000 +a0000
tftp 0x3800000 image
cp 0x3800000 0xd0900000

The system starts well, but follow messages appear
Mounting /mnt/flash: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 
0x00065400: 0xd9d5 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00065404: 0x20a1 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006540c: 0x923f 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00067400: 0x5351 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00067404: 0x7465 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00067408: 0x6f72 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006740c: 0x7420 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00067410: 0x0400 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00067414: 0x0040 
instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00067464: 0x0500 
instead

They will not appear at 2nd boot.

The workaround for this is to erase 3rd partition after burning the 2nd.

Can somebody can explain how to fix this behavior w/o erasing 3rd partition?

thanks in advance.




More information about the linux-mtd mailing list