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/big endian


Peter Graf wrote:
> 
> Mounting, Reading, chdir, decompression, and so on seemed to work nicely.
> The JFFS2 system was able to write to flash to fix inconsistencies, too.
> 
> But writing files or even removing files (to free space) did not work.
> 
> - Writing to an already existing file did not cause any errors, but the
> flash contents did not change.

There are a few issues with the code as it stands, which are being worked
on right now hopefully in time for eCos 2.0. There are bugs in readdir and
the garbage collector at least, off the top of my head, but this is still
being played with.

> - Writing to a non-existing file or removing a file resulted in the "no
> space left" error.

> Has anybody tried JFFS2 on a big-endian target?

JFFS2 is host endian only. (This may well change at some point).

Do you know you need to modify your flash driver to support unaligned
writes? And depending on how you write your code, that may be endian
specific!

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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