R: [uClinux-dev] Jffs2 space problem
m.calo at ctsgroup.it
Tue Aug 9 07:23:59 EDT 2005
> 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
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
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.
/> mount /dev/mtdblock5 /mnt
mtdblock: read on "user Jffs2 (512K)" at 0x400, size 0x400
VFS: Can't find ext2 filesystem on dev mtdblock(31,5).
/> Newly-erased block contained word 0x4c004c at offset 0x00040000
Newly-erased block contained word 0x4c004c at offset 0x00030000
/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)
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