This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re[2]: JFFS2 & magic bitmask
- From: Michael Jastrebtsoff <jam2000 at pisem dot net>
- To: Andrew Lunn <andrew at lunn dot ch>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 6 Jul 2004 17:54:26 +0700
- Subject: Re[2]: [ECOS] JFFS2 & magic bitmask
- References: <409497053.20040706135117@pisem.net><20040706082331.GM11101@lunn.ch>
- Reply-to: Michael Jastrebtsoff <jam2000 at pisem dot net>
Hello, Andrew.
I use Linux mkfs.jffs2 tool(ver. 1.40 from MTD snapshot) with
following command line:
$ mkfs.jffs2 -d ./my_root -l -v -e 64Kib -p 64Kib -o jffs2.img
May be I used wrong version of it?
--
Regards,
Michael
AL> On Tue, Jul 06, 2004 at 01:51:17PM +0700, Michael Jastrebtsoff wrote:
>> Hello,
>>
>> I use JFFS2 with EB55.
>> My device can be switched off at any moment without calling umount(...).
AL> Im not an jffs2 expert, but i think that is reasonably OK. All writes
AL> go directly to the flash, there is no caching etc. And since it is a
AL> journeling FS, it should be able to handle writes that got corrupted
AL> by a power off.
>> After a while jffs driver starts to heap up the following messages:
>> "jffs2_scan_eraseblock(): Magic bitmask 0xXXXX not found at 0xXXXX:
>> 0xXXXX instead\n".
AL> How did you format the filesystem?
AL> Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss