Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.evbarm Switch arm64.img to big-endian for aarch64eb,...



details:   https://anonhg.NetBSD.org/src/rev/eb46fd4aeb6e
branches:  trunk
changeset: 379316:eb46fd4aeb6e
user:      rin <rin%NetBSD.org@localhost>
date:      Thu May 27 08:43:02 2021 +0000

description:
Switch arm64.img to big-endian for aarch64eb, as libsa/efiboot support
bi-endian FFS/disklabel now.

Many thanks to mrg@ for working on this!!

diffstat:

 etc/etc.evbarm/Makefile.inc |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (31 lines):

diff -r 062d557d568d -r eb46fd4aeb6e etc/etc.evbarm/Makefile.inc
--- a/etc/etc.evbarm/Makefile.inc       Thu May 27 08:41:35 2021 +0000
+++ b/etc/etc.evbarm/Makefile.inc       Thu May 27 08:43:02 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.122 2020/12/01 04:20:21 rin Exp $
+#      $NetBSD: Makefile.inc,v 1.123 2021/05/27 08:43:02 rin Exp $
 #
 #      etc.evbarm/Makefile.inc -- evbarm-specific etc Makefile targets
 #
@@ -12,12 +12,7 @@ EVBARM_BOARDS=
 EVBARM_BOARDS.${i}=
 .endfor
 
-.if ${MACHINE_ARCH} == "aarch64eb"
-# For AArch64 BE images, we need a LE image for efiboot to be able to
-# read the target file-system (no libsa FFS EI support).
-IMAGEENDIAN=   le
-KERNEL_SETS.arm64+=            GENERIC64
-.elif !empty(MACHINE_ARCH:M*eb)
+.if !empty(MACHINE_ARCH:M*eb)
 IMAGEENDIAN=   be
 # big endian boards
 KERNEL_SETS.armv4+=            IXM1200
@@ -32,6 +27,7 @@ KERNEL_SETS.armv6hf+=         RPI2
 
 KERNEL_SETS.armv7+=            GENERIC
 KERNEL_SETS.armv7hf+=          GENERIC
+KERNEL_SETS.arm64+=            GENERIC64
 .else
 IMAGEENDIAN=   le
 # little endian boards



Home | Main Index | Thread Index | Old Index