mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Cramfs Endianness
@ 2001-09-26 23:55 Brad
  2001-09-30 20:05 ` Pavel Machek
  0 siblings, 1 reply; 2+ messages in thread
From: Brad @ 2001-09-26 23:55 UTC (permalink / raw)
  To: linux-kernel

Although the documentation states that always going with little endian is
the easiest solution and what was "decided" on, neither the kernel nor
mkcramfs swabs on a big endian machine.  This is decidedly a problem with
what we're doing, so I wrote a patch to swab the easy and not-quite-so-easy
bitfields such that mkcramfs writes little endian images and the kernel
swabs (if byteorder is defined as big_endian or __MIPSEB__ is defined)..
It looks at the magic to determine whether to swab or not.

We've needed this, so we will have to incorporate this into a parallel
repository if not added to the kernel.  Is there another solution afoot,
or might I submit this patch? (please cc me if you respond)

Thanks,
Brad



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-01 20:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-26 23:55 Cramfs Endianness Brad
2001-09-30 20:05 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome