This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: JFFS2 & magic bitmask


On Tue, Jul 06, 2004 at 05:54:26PM +0700, Michael Jastrebtsoff wrote:
> Hello, Andrew.
> 
> I use Linux mkfs.jffs2 tool(ver. 1.40 from MTD snapshot) with
> following command line:

Some people forget the format it at all, but not you. Good.

> 
>   $ mkfs.jffs2 -d ./my_root -l -v -e 64Kib -p 64Kib -o jffs2.img

Like i said, im not an jffs2 expert....

I think this creates a filesystem with blocks of 64Kbytes which just
one block. In practice, i expect you have more than one block in your
filesystem. I think the -p option should be the size of your partition
in flash.

What you have would probably work for around first 64Kbytes of writes,
ie what goes into the first block. When it then goes into the second
block it then might generate these errors....

        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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]