This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: JFFS2/big endian
Peter Graf wrote:
>
> >Do you know you need to modify your flash driver to support unaligned
> >writes?
>
> Yes, I am aware of that. But the flash write routines were not even called
> by the file write/unlink!
> I debugged into it, and at the problem always seems to be that no free
> space is found on the device (I don't know exactly how the amount of free
> space is determined).
Perhaps start from an erased flash, and try creating a new clean
filesystem, rather than a previously created image. e.g. try the fileio1
test.
> Do you think I should try a mkfs.jffs2 on a big-endian linux box to create
> my initial image?
I'm not convinced that's necessarily the problem. I think just adding more
debugging outputs, and tracing the flow of control would be better IMHO.
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