Is there a Vagrant box that simulates a Raspberry Pi?

混江龙づ霸主 提交于 2019-12-03 16:16:33

问题


I am looking at evaluating a tool-chain for programming ARM chips with a Raspberry Pi and I would like to run a Vagrant box that simulates a Raspberry Environment.

Does anyone know if something like that is available? (I have searched online for a solution but I might be asking Google the wrong questions :)


回答1:


There is no Vagant box to simulate the RPi because as @Cerin said Virtual Box (which Vagrant uses) doesn't support Rapsberry Pi architecture (ARM). But there is a docker that provide a shell to a Raspbian image running on qemu.

Look here for a quick setup : https://gist.github.com/Manu343726/ca0ceb224ea789415387

Note that this guide is made for arch linux. You can do the same with debian/ubuntu changing yaourt -S call with sudo apt install




回答2:


There exists the rpi-build-and-boot or the older raspberry-devbox Vagrant development box for Raspberry Pi.



来源:https://stackoverflow.com/questions/34051322/is-there-a-vagrant-box-that-simulates-a-raspberry-pi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!