Date: Sat, 10 May 2014 15:11:06 +0200 From: Andreas Tobler <andreast-list@fgznet.ch> To: Matthias Meyser <meyser@xenet.de>, freebsd-arm@freebsd.org Subject: Re: cross compiling & Native installing Message-ID: <536E256A.3060003@fgznet.ch> In-Reply-To: <536DDB0B.7040502@xenet.de>
index | next in thread | previous in thread | raw e-mail
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 ... Andreashelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?536E256A.3060003>
