Month: July 2014

  • Using the xdev target with qemu-user-static on #FreeBSD

    I’ve been playing with building ports for ARM on an AMD64 machine via a bunch of tools.  The duct tape and bailing wire is a bit thick with this method, but if you keep at it, this should work. 1. build armv6 chroot: make buildworld TARGET=arm TARGET_ARCH=armv6 make installworld TARGET=arm TARGET_ARCH=armv6 DESTDIR=/armv6 make distribution TARGET=arm […]

  • Using qemu-user to chroot and bootstrap other architectures on #FreeBSD

    My last post spawned enough feedback that I thought I would dump some notes here for those interested in building a chroot on FreeBSD that allows you to test and prototype architectures, e.g. ARMv6 on AMD64. The FreeBSD buildsys has many targets used for many things, the two we care about here are buildworld and […]

  • Cross building ports with qemu-user and poudriere-devel on #FreeBSD

    I’ve spent the last few months banging though the bits and pieces of the work that Stacey Son implemented for QEMU to allow us to more or less chroot into a foreign architecture as though it were a normal chroot.  This has opened up a lot of opportunities to bootstrap the non-x86 architectures on FreeBSD. […]