I: Jffs2 space problem
-----Messaggio originale-----
Da: Calò Massimo [mailto:[email protected]]
Inviato: martedì 26 luglio 2005 12.23
A: 'Artem B. Bityuckiy'
Oggetto: R: Jffs2 space problem
Hi Artem,
Quoted 1 line
Quoted 1 line
Pardon, do you unmount JFFS2 before the erase :-) ?
Yes I did.
I think my strange prblem with the space of the partition is connected to the msg that I receive after the mount command :
/>mount -t jffs2 /dev/mtdblock5 /mnt
I receive the following msg:
Newly-erased block contained wod xxxx at offset xxxx Newly-erased block contained wod xxxx at offset xxxx
Can you help me on finding the rason of this msg?
Many thanks!
-----Messaggio originale-----
Da: Artem B. Bityuckiy [mailto:[email protected]]
Inviato: martedì 26 luglio 2005 12.06
A: Calò Massimo
Cc: ucLinux-Mtd@Lists. Infradead. Org
Oggetto: Re: Jffs2 space problem
Quoted 6 lines · Calò Massimo
Hi all,
I have a problem with my jffs2 partition.
I'm using mtd5 (size = 64 x 8 = 512kb).
I eraseall the partition but if I do the df command I see that it is 100% used ...?!?!?
Pardon, do you unmount JFFS2 before the erase :-) ?
Signature · 3 lines
Best Regards, Artem B. Bityuckiy, St.-Petersburg, Russia.
Quoted 2 lines · Calò Massimo
Newly-erased block contained wod xxxx at offset xxxx Newly-erased block contained wod xxxx at offset xxxx
The messages mean that JFFS2 issued an flash_erase command, then read the newly erased eraseblock and found out it does not have all 0xFFs.
Check that you are able to erase your flash corre3ctly. Try to dump the flash and see if it has all FFs just after you've erased it but before you've mounted JFFS2.
Signature · 3 lines
Best Regards, Artem B. Bityuckiy, St.-Petersburg, Russia.
Quoted 1 line · Calò Massimo
/> eraseall
/dev/mtd5
flash_eraseall -j /dev/mtd5 is definitely better by the way. Read the MTD FAQ why.
Signature · 3 lines
Best Regards, Artem B. Bityuckiy, St.-Petersburg, Russia.