Eric Gradman has developed a pre-built environment for cross-compiling for the Raspberry Pi that also implements NFS booting. Here’s the description from his site:
It uses Vagrant and Ansible to spin up a Virtualbox virtual machine that runs on Mac, Linux, or Windows(?). In no time at all, you’ll have an environment that:
-
Cross-compiles for the Raspberry Pi armv6l architecture.
-
NFS boots one or more Raspberry Pis. The root partition is loop-mounted from a .img file, so you can later dd it to an SD card for standalone operation.
-
Is ready to cross-compile OpenFrameworks applications and run them on a cluster of Raspberry Pis.You won’t have to do any of the things on the Raspberry Pi Cross-Compiling Guide page. I have contributed to that guide to make the process more smooth, but it’s still a mess.Here, Vagrant automates the process of setting up a Virtualbox virtual machine and Ansible automates the process of setting up the cross-compiler, the NFS server, and OpenFrameworks.
I’ve not tried any of it out, but it does sound interesting.
[…] Michael Horne Eric Gradman has developed a pre-built environment for cross-compiling for the Raspberry Pi that […]