Mount-failure (jffs2_scan_empty()) mounting SmartMedia with jffs2
Martin Egholm Nielsen
martin at egholm-nielsen.dk
Tue Oct 21 05:52:32 EDT 2003
>>And now I'm lost... Any ideas of how to get any further?
> Can you read back the contents of the flash after writing, and compare
> with the image you attempted to write?
Heh, good point! I tried the following:
# dd if=/tmp/image of=/dev/mtd/2
32+0 records in
32+0 records out
# dd if=/dev/mtd/2 of=/tmp/copy count=32 bs=512
32+0 records in
32+0 records out
# ls -l /tmp
-rw-r--r-- 1 root root 16384 Jan 1 00:00 image
-rw-r--r-- 1 root root 16384 Jan 1 00:01 copy
# diff /tmp/image /tmp/copy
Binary files /tmp/image and /tmp/copy differ
I.e. not the same, no... You know why?
Regards,
Martin Egholm Nielsen
More information about the linux-mtd
mailing list