From owner-freebsd-arm@FreeBSD.ORG Sun May 11 10:10:02 2014 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 96E81B57; Sun, 11 May 2014 10:10:02 +0000 (UTC) Received: from server1.xenet.de (server1out.xenet.de [213.221.94.200]) by mx1.freebsd.org (Postfix) with ESMTP id E1F79257A; Sun, 11 May 2014 10:10:00 +0000 (UTC) Received: from [10.1.0.50] (tubercel-gate.xenet.de [213.221.94.54]) (authenticated bits=0) by server1.xenet.de (8.12.5/8.12.5) with ESMTP id s4BA9oBJ042527; Sun, 11 May 2014 12:09:52 +0200 (CEST) (envelope-from meyser@xenet.de) Message-ID: <536F4C6D.8080907@xenet.de> Date: Sun, 11 May 2014 12:09:49 +0200 From: Matthias Meyser Organization: XeNET GmbH User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Ian Lepore Subject: Re: cross compiling & Native installing References: <536DDB0B.7040502@xenet.de> <1399722475.22079.382.camel@revolution.hippie.lan> In-Reply-To: <1399722475.22079.382.camel@revolution.hippie.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.38 Cc: freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2014 10:10:02 -0000 Am 10.05.2014 13:47, schrieb Ian Lepore: > On Sat, 2014-05-10 at 09:53 +0200, Matthias Meyser wrote: >> Hi >> >> I xcompile armv6 World and kernel (BEAGLEBONE) on an amd64 machine with >> >> make buildworld TARGET=arm TARGET_ARCH=armv6 >> make buildkernel TARGET=arm TARGET_ARCH=armv6 KERNCONF=BEAGLEBONE >> [...] >> >> >> Any hints are welcome. >> >> uname Buildsystem: >> FreeBSD slx00.lan.xenet.de 10.0-STABLE FreeBSD 10.0-STABLE #1 r262074: Tue >> Feb 18 01:00:39 CET 2014 >> root@slx00.lan.xenet.de:/usr/obj/usr/src/sys/SLX00 amd64 >> >> uname Beaglebone: >> FreeBSD bbb.lan.xenet.de 11.0-CURRENT FreeBSD 11.0-CURRENT #0: Thu May 8 >> 10:16:09 CEST 2014 root@bbb.lan.xenet.de:/usr/obj/usr/src/sys/BEAGLEBONE >> arm >> >> /usr/src: latest head >> >> > > I think it's the CROSS_BUILD_TESTING that's causing the problem. It's > trying to run the x86 cross-tools during the native install. Try > replacing that with MAKEOBJDIRPREFIX=/usr/obj/arm.armv6. make installkernel KERNCONF=BBB MAKEOBJDIRPREFIX=/usr/obj/arm.armv6 givs the exact same error. > I'm not sure > that'll work, I've never tried to do what you're doing... I do the > install on the same machine as the cross-builds, using > > make installworld TARGET_ARCH=armv6 DESTDIR=/path/to/nfsroot > > and likewise for installkernel but with KERNCONF added. I will use that as a workaround. -- Matthias