Source-Changes-HG archive

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

[src/trunk]: src/sys/stand/efiboot Enable us to load kernel image of differen...



details:   https://anonhg.NetBSD.org/src/rev/4028ded30710
branches:  trunk
changeset: 457818:4028ded30710
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Jul 21 17:01:39 2019 +0000

description:
Enable us to load kernel image of different byte order. Now, earmv7hf-eb
kernel can successfully boot from EFI bootloader.

XXX
We need to recognize disklabel and filesystem written in opposite byte oder.

diffstat:

 sys/stand/efiboot/Makefile.efiboot |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 9ecd57682f59 -r 4028ded30710 sys/stand/efiboot/Makefile.efiboot
--- a/sys/stand/efiboot/Makefile.efiboot        Sun Jul 21 16:53:17 2019 +0000
+++ b/sys/stand/efiboot/Makefile.efiboot        Sun Jul 21 17:01:39 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.efiboot,v 1.7 2019/04/21 22:30:41 thorpej Exp $
+# $NetBSD: Makefile.efiboot,v 1.8 2019/07/21 17:01:39 rin Exp $
 
 S=             ${.CURDIR}/../../..
 
@@ -97,6 +97,7 @@
 SAMISCMAKEFLAGS+="SA_USE_CREAD=yes"
 SAMISCMAKEFLAGS+="SA_INCLUDE_NET=yes"
 SAMISCMAKEFLAGS+="SA_ENABLE_LS_OP=yes"
+SAMISCMAKEFLAGS+="SA_ENABLE_BIENDIAN=yes"
 .include "${S}/lib/libsa/Makefile.inc"
 LIBSA= ${SALIB}
 



Home | Main Index | Thread Index | Old Index