R: [uClinux-dev] Jffs2 space problem

Calò Massimo m.calo at ctsgroup.it
Tue Aug 9 07:23:59 EDT 2005


Lars,

> 
> Says who?
> Did you read the contents of the flash device and made sure 
> that everything from 0x00180000 to 0x00200000 is set to 0xFF?

**NOTE **I had modifyed the size of mtd5 because my romfs became bigger(I
added mkfs.jffs2).
So the size of mtd5 is 384Kb and not 512kb. The situation is unaltered...

I did "blank check" from 0x1A0000 to 0x200000 with my flash programmer and
the result of the check was : passed!

> 
> Yes. You suppress the warning message and mount abort if you 
> force the filesystem with the -t flag. Just checked this. Try 
> to mount the filesystem without the -t jffs2 parameter.

I did the following :

Sash command shell (version 1.1.1)
/> eraseall /dev/mtd5
MTD_open
MTD_ioctl
Erasing 64 Kibyte @ 0 --  0 % complete.MTD_ioctl
Erasing 64 Kibyte @ 10000 -- 16 % complete.MTD_ioctl
Erasing 64 Kibyte @ 20000 -- 33 % complete.MTD_ioctl
Erasing 64 Kibyte @ 30000 -- 50 % complete.MTD_ioctl
Erasing 64 Kibyte @ 40000 -- 66 % complete.MTD_ioctl
Erasing 64 Kibyte @ 50000 -- 83 % complete.MTD_ioctl
Erased 384 Kibyte @ 0 -- 100% complete.
MTD_close
/>
/> mount /dev/mtdblock5 /mnt
mtdblock_open
ok
mtdblock: read on "user Jffs2 (512K)" at 0x400, size 0x400
VFS: Can't find ext2 filesystem on dev mtdblock(31,5).
mtdblock_release
ok
mtdblock_open
ok
/> Newly-erased block contained word 0x4c004c at offset 0x00040000
Newly-erased block contained word 0x4c004c at offset 0x00030000
 

/> mount
/dev/root on / type romfs (ro)
/proc on /proc type proc (rw)
/dev/ram0 on /var type ext2 (rw)
/dev/mtdblock5 on /mnt type jffs2 (rw)
/>
/> df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/root                  589       589         0 100% /
/dev/ram0                  987         7       980   1% /var
/dev/mtdblock5             384       384         0 100% /mnt
/>




More information about the uClinux-dev mailing list