Eric Gradman wrote:
Hey all:
I've just released this: https://github.com/twobitcircus/rpi-build-and-boot
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'm really proud of it. Let me know if the setup-instructions are unclear, or if you encounter any problems!
Posts: 18
Participants: 5