JFFS2 on Samsung NAND

srinath.satyanarayana at wipro.com srinath.satyanarayana at wipro.com
Tue Sep 20 01:47:39 EDT 2005


Hi ,

I am using linux-2.6.12 and Redboot on my board.  I have Samsung 32Mb,
16Kb erase block flash on my board
I am not able to mount the  jffs2 partition of NAND.
The procedure followed

mkfs.jffs2 -d jffs2  -n -o fs.jffs2 -e 0x4000 --pad=0x400000
flasheraseall -j /dev/mtd/7
nandwrite  /dev/mtd/7 fs.jffs2
mount -t jffs2 /dev/mtdblock/7 /mnt


Node at 0x00003eec with length 0x00000615 would run over the end of the
erase block Perhaps the file system was  reated with the wrong erase
size?
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00003ef0:
0x0615 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00003ef4:
0xef68 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00003ef8:
0x001e in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00003efc:
0x0004 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00003f00:
0x81ed in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00003f04:
0x01f5 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00003f08:
0x4de2 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00003f18:
0x3000 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00003f1c:
0x05d1 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00003f20:
0x1000 in
stead
Further such events for this erase block will not be printed

Is steps followed  are corrent? Any suggestion is appreciated.

Thanks
Srinath



Confidentiality Notice

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin at wipro.com immediately
and destroy all copies of this message and any attachments.




More information about the linux-mtd mailing list