New Raspberry Pi development vm version 0.2
I haven't seen this mentioned in the forums anywhere else so posting a link here now:
Below is the README that is included with the exported appliance.
RaspberryPi Development Virtual Machine 0.2
This is an exported virtualbox virtual machine for developing software for
the RaspberryPi. It is setup using the git versions of scratcbox2 & qemu (19/01/12), the fedora 13 for ARM as rootfs seed & arm-2011.03 codesourcery toolchain.
The root password is toor and the username and password for the normal user
To compile software for the raspberrypi as you would normally on an x86 machine
prefixing sb2 to any command. e.g. instead of gcc hello.c -o hello you would type sb2 gcc hello.c -o hello
To update, install or remove libraries and software in the seed rootfs use the command sb2 -eR yum ... where update, install, remove etc.
If you want to build and install libraries to use when building other software
that are not availble via fedora yum then rather than prefixing with sb2 prefix the command with sb2 -eR e.g. sb2 -eR make && make install
You can upgrade scratchbox2, qemu, the rootfs or toolchain quite easily as they are all in seperate dirs inside the raspberry_pi_development directory. it shoudl be possible to just swap them out when/if you need/want.
I have installed apache2 adn linked the $HOME/build directory so you can download anything you build to another system. You will probably want to change the network settings for the VM from NAT to Bridged though.
An ssh server is also installed so you can ssh in to the vm if you want as well (same proviso as above though. You'll need to change from NAT to Bridged to get it working).
If you have any other questions about the VM then you can send them via my blog (http://russelldavis.org
) or post on the raspberry pi forum. (http://raspberrypi.org
I have added one of my favourite bash aliases to the .bashrc doch is very handy in case you forget to use the sudo prefix to a command. just type doch and it'll redo the command but with sudo added.
Russell Davis (ukscone) 20/01/12