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


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...

Also there's the linux-mtd list where JFFS2 is discussed, and someone's more likely to have come across this there. http://www.linux-mtd.infradead.org/


Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


-- 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]