NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-arm/48164: BEAGLEBONE_INSTALL kernel not built with preferred ABI for platform
>Number: 48164
>Category: port-arm
>Synopsis: BEAGLEBONE_INSTALL kernel not built with preferred ABI for
>platform
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-arm-maintainer
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Aug 29 17:35:00 +0000 2013
>Originator: Dennis Ferguson
>Release: 6.99.23
>Organization:
>Environment:
NetBSD beagle4.to.akit-ferguson.com 6.99.23 NetBSD 6.99.23 (BEAGLEBONE) #0: Fri
Aug 2 02:14:24 EDT 2013
dennis%ts1.to.mistimed.ca@localhost:/usr/obj/sys/arch/evbarm/compile/BEAGLEBONE
evbarm
>Description:
The ARM MPUs on BeagleBone boards always have hardware floating point so
it is useful to compile -a earmhf systems to run on these. Unfortunately
a BEAGLEBONE_INSTALL kernel is not built when the system is built for
earmhf; BEAGLEBONE_INSTALL kernels are only built with -a arm builds.
It would be better to build BEAGLEBONE_INSTALL kernels for earmhf,
the preferred architecture, and perhaps for any ABI which might
reasonably be used on that CPU, when asked to. The attached patch
does for BEAGLEBONE_INSTALL what is done for RPI_INSTALL.
(Note that this fixes my particular problem but doesn't address a
wider issue, that earm builds should run on most (all?) ARM
platforms and should probably be used in preference to the
now-deprecated arm ABI, yet most install kernels are built for
-a arm alone).
>How-To-Repeat:
>Fix:
Index: distrib/evbarm/instkernel/instkernel/Makefile
===================================================================
RCS file: /cvsroot/src/distrib/evbarm/instkernel/instkernel/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- distrib/evbarm/instkernel/instkernel/Makefile 11 Aug 2013 17:18:11
-0000 1.22
+++ distrib/evbarm/instkernel/instkernel/Makefile 29 Aug 2013 16:37:25
-0000
@@ -12,7 +12,6 @@
# Little endian platforms.
MDSETTARGETS= ADI_BRH_INSTALL ${RAMDISK} - \
BCM5301X_INSTALL ${RAMDISK} - \
- BEAGLEBONE_INSTALL ${RAMDISK} - \
CP3100_INSTALL ${RAMDISK} - \
GEMINI_INSTALL ${RAMDISK} - \
GUMSTIX_INSTALL ${RAMDISK} - \
@@ -36,7 +35,8 @@
${MACHINE_ARCH} == "earmv6" || \
${MACHINE_ARCH} == "earmv6hf"
# Little endian (any ABI) platforms.
-MDSETTARGETS+= RPI_INSTALL ${SSHRAMDISK} -
+MDSETTARGETS+= RPI_INSTALL ${SSHRAMDISK} - \
+ BEAGLEBONE_INSTALL ${RAMDISK} -
.endif
MDSET_RELEASEDIR= installation/instkernel
Home |
Main Index |
Thread Index |
Old Index