[Cerowrt-devel] Cross-compiling to armhf

Juliusz Chroboczek jch at pps.univ-paris-diderot.fr
Wed Jun 22 09:10:06 EDT 2016


> you could also run the following qemu+docker trick,

That's like taking a machine gun to a knife fight ;-)

Just set up a chroot (I like deboostrap, but you could simply copy the
contents of the device's rootfs), and do

  sudo apt-get install qemu-user-static
  sudo cp /usr/bin/qemu-arm-static ~/chroot/usr/bin/
  sudo chroot ~/chroot

and everything should work (but check /proc/sys/fs/binfmt_misc/qemu-arm
first).

-- Juliusz


More information about the Cerowrt-devel mailing list