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/7b9ef2957742
branches:  trunk
changeset: 1021347:7b9ef2957742
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 63ba2c31313a -r 7b9ef2957742 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.${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.armv7+=            GENERIC
 KERNEL_SETS.armv7hf+=          GENERIC
+KERNEL_SETS.arm64+=            GENERIC64
 .else
 IMAGEENDIAN=   le
 # little endian boards



Home | Main Index | Thread Index | Old Index