[U-Boot-Users] CramFS endianness
Laurent Pinchart
laurent.pinchart at tbox.biz
Wed Jul 12 15:31:03 CEST 2006
Hi everybody,
I recently had a problem with cramfs endianness. cramfs tools generates a
host-endian file system, which was incompatible with my big-endian MPC8260
system. I patched mkcramfs to reverse the bit order, and was able to read the
cramfs image from Linux.
However, even though Linux doesn't do any byte swapping, U-Boot assumes
little-endian byte order and swap bytes on big-endian architectures. Why is
that ? U-Boot and Linux are clearly not compatible on big-endian
architectures, and I'd like to fix the problem in the right place.
Laurent Pinchart
More information about the U-Boot
mailing list