[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JFFS2 endianness.



> What I _will_ do, to accommodate those running BE JFFS2 right now, is avoid
> the standard cpu_to_le16() macros, and instead provide and use some new
> jffs2-specific ones. Then it's trivial to just change the definition of
> those in just one place to make it BE or native-endian again. People
> upgrading existing BE boxen can do just that - and I'll do it for testing
> too. 

Sounds like a job for a user space tool, or even an optional fixer in the
file system mount stage. At boot the log gets walked, is it that infeasible
to have an extra option to include code to switch the fs to the right endian
during the mount.

Alan

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com