cross compiling & Native installing
Andreas Tobler
andreast-list at fgznet.ch
Sat May 10 13:11:23 UTC 2014
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
More information about the freebsd-arm
mailing list