NetBSD Problem Report #48164
From www@NetBSD.org Thu Aug 29 17:31:58 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 5722D71A25
for <gnats-bugs@gnats.NetBSD.org>; Thu, 29 Aug 2013 17:31:58 +0000 (UTC)
Message-Id: <20130829173156.A218A71B58@mollari.NetBSD.org>
Date: Thu, 29 Aug 2013 17:31:56 +0000 (UTC)
From: dennis.c.ferguson@gmail.com
Reply-To: dennis.c.ferguson@gmail.com
To: gnats-bugs@NetBSD.org
Subject: BEAGLEBONE_INSTALL kernel not built with preferred ABI for platform
X-Send-Pr-Version: www-1.0
>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: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Aug 29 17:35:00 +0000 2013
>Closed-Date: Fri Aug 30 10:16:20 +0000 2013
>Last-Modified: Fri Aug 30 10:16:20 +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:/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
>Release-Note:
>Audit-Trail:
From: "Nick Hudson" <skrll@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48164 CVS commit: src/distrib/evbarm/instkernel/instkernel
Date: Fri, 30 Aug 2013 10:13:39 +0000
Module Name: src
Committed By: skrll
Date: Fri Aug 30 10:13:39 UTC 2013
Modified Files:
src/distrib/evbarm/instkernel/instkernel: Makefile
Log Message:
PR/48164: BEAGLEBONE_INSTALL kernel not built with preferred ABI for
platform
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/distrib/evbarm/instkernel/instkernel/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Fri, 30 Aug 2013 10:16:20 +0000
State-Changed-Why:
Change committed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.