[ECOS] JFFS2/big endian

Jonathan Larmour jlarmour@redhat.com
Wed Jan 23 07:55:00 GMT 2002


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



More information about the Ecos-discuss mailing list