-
Notifications
You must be signed in to change notification settings - Fork 0
OCADrone OS : VM utilities
Tools to manage OCADrone OS from virtual machines.
Tools are available in installer/ocadrone_os/vmutils/
This tool can start an OCADrone virtual machine in qemu. The image can still be written in the Raspbery Pi SD-Card after.
Script require the following:
-
qemu-system-arm
package (you have to install it manually) -
qemu-kernel
ARM kernel. You can download it here: http://xecdesign.com/downloads/linux-qemu/kernel-qemu - A Raspbian or OCADrone OS image.
- Raspbian is available here: http://www.raspberrypi.org/downloads/
- OCADrone OS is build from a Raspbian installation: https://github.com/OCADrone/Installer/wiki/OCADrone-OS-:-setup
If you don't have necessary components, you can download them using the install
action: qemu-ocadrone.sh install
command will download the dependencies for you.
You can specify in which mode to boot, where the image is stored, ... call script with --help
option to see a list of available options: qemu-ocadrone.sh -h
If you never run Raspbian before, you'll have to disable a library loading. Boot the OS in single mode using: qemu-ocadrone.sh single
and comment the line /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
in file /etc/ld.so.preload
in the virtual machine.
Just run qemu-ocadrone.sh
to boot the system.