From owner-freebsd-arm@FreeBSD.ORG Sat May 10 13:11:23 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 3252AC5A for ; Sat, 10 May 2014 13:11:23 +0000 (UTC) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC78DC65 for ; Sat, 10 May 2014 13:11:21 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id s4ADB6FW051057; Sat, 10 May 2014 15:11:11 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <536E256A.3060003@fgznet.ch> Date: Sat, 10 May 2014 15:11:06 +0200 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Matthias Meyser , freebsd-arm@freebsd.org Subject: Re: cross compiling & Native installing References: <536DDB0B.7040502@xenet.de> In-Reply-To: <536DDB0B.7040502@xenet.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 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: Sat, 10 May 2014 13:11:23 -0000 On 10.05.14 09:53, 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 > > this works as expected. > > The I want to install world/kernel on the target machine (Beagelbone black) > > on the Beagkebone I nfsmount /usr/src /usr/doc /usr/obj exported from > the build machine. > The other way round it works, at least for me. On the buildmachine mount the / from the beaglebone. And install it there: mount beaglebone:/ /mnt make installworld installkernel KERNCONF=BEAGELBONE TARGET=arm TARGET_ARCH=armv6 DESTDIR /mnt This works fine if you have one partition on the bbb. If you have spread your fs over several partitions you have to mount them under /mnt like this: /mnt/ -> dev1 /mnt/usr -> dev2 ... Andreas