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: Another problem with JFFS2



Hi I tried it with the 3.3 version. With this compiler I have no problems. :-)

thanks.

Jani Monoses wrote:

...

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


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