This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Another problem with JFFS2
- From: Jani Monoses <jani at iv dot ro>
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 15 Jul 2003 10:27:05 +0300
- Subject: Re: [ECOS] Another problem with JFFS2
- References: <3F12FA9B.7080601@festus.hrz.uni-oldenburg.de>
> ...
>
> I found that the JFFS2 filesystem writes wrong erased block markers to
> the flash. I think it is a compiler problem in erase.c. The values
> (JFFS2_MAGIC_BITMASK, JFFS2_NODETYPE_CLEANMARKER,..) will not be
> copied to the marker structure. In the assembly you can see that the
> marker structure starts at fp-54 but the magic bitmask will be written
> to fp-68.
>
> I use the gcc 3.2.2 ( xscale platform).
If you think it's a compiler problem have you tried 3.3 ?
3.2.2 is known to miscompile at least the arm linux kernel...
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss