Howdy,
Russell Davis (aka ukscone) released the new Raspberry Pi Development VM v0.8 on Sunday, so I downloaded and gave it a try. It can be downloaded here on element14 at:
http://downloads.element14.com/downloads/RaspberryPi-Development-VM-v0.8.ova
However, it is 8.2 GB, so you may find the torrent to be a better option:
It is a .ova file which is an exported VirtualBox virtual machine for developing software for the Raspberry Pi. It contains configured targets for Fedora Remix, Debian & Arch. There is plenty more info in Russell's readme:
http://downloads.raspberrypi.org/tools/ukscone/RaspberryPi-Development%20VM%20v0.8/README.txt
However, he does caution "as things currently stand this VM does not actually emulate any of the RaspberryPi hardware" and "it is only meant to help build/port software using desktop tools".
Well, now, let me give a quick look at what I did:
1) I'm running Ubuntu 11.04 and did not have VirtualBox, so I installed it this way:
apt-get install virtualbox-ose-qt
If you are on another OS, then check out the VirtualBox website to download and install the correct version for you:
https://www.virtualbox.org/https://www.virtualbox.org/wiki/Downloads
2) Then I had to import the downloaded .ova file into VirtualBox which I did via:
VBoxManage import RaspberryPi-Development-VM-v0.8.ova
I hadn't used VirtualBox before so please comment if there is a better way to do this. It did take a noticable amount of time to finish (~15 min), and I pretty much couldn't do anything else on my system during it due to the load. Here's a screenshot of my terminal:
3) Finally I was ready to fire up VirtualBox which I did via Applications->Accessories->VirtualBox OSE in my GNOME desktop (consult the VirtualBox website for details on other OSes). I clicked ok through a couple dialogs about configuration and then finally the VirtualBox manager window opened:
4) I happily clicked the Start button and the VM booted. It is an Ubuntu system running LXDE. To do a quick test of the cross-compliation, I typed up a quick C program and compiled it for the ARM target:
And that's all I've done so far. I'm thankful that Russell put in the hard work to make it easier for everyone else. He mentioned that he will release updates as just tarballs, so folks will be spared having to do the massive download again. I'm very curious to see if some clever people get emulation working in the VM, so that the executables could be tested out. I also think this VM could be useful once I eventually get a Pi and want to take advantage of my laptop's Intel horsepower to compile additional software I may need.
Has anyone tried this VM (or others)? I'd be interested to hear what your experience was like and what you are using it for.
Cheers,
Drew