linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* arm64: how to check endianness of Image file?
@ 2015-08-28 22:23 Kevin Hilman
  2015-09-01 14:17 ` Mark Rutland
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Hilman @ 2015-08-28 22:23 UTC (permalink / raw)
  To: linux-arm-kernel

Will, Catalin,

Any suggestions on a quick way to check if an arm64 kernel Image file
is big-endian?

We're adding more boot support for arm64 defconfig +
CONFIG_CPU_BIG_ENDIAN=y to kernelci.org, and are looking for a
reliable way to check the endianness of the kernel Image file, we
don't have the vmlinux around to check the ELF headers.

On arm32, the zImage has some magic fields set from
arch/arm/boot/compressed/head.S, but arm64 doesn't have the
equivalent.

Kevin

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

end of thread, other threads:[~2015-09-01 14:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-28 22:23 arm64: how to check endianness of Image file? Kevin Hilman
2015-09-01 14:17 ` Mark Rutland
2015-09-01 14:57   ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).