wiki:Developer/VirtualMachines/VirtualBox

Version 2 (modified by Cdcs, on 06/09/10 at 21:39:45) (diff)

RTEMS on Virtualbox

You can run RTEMS in the VirtualBox x86 virtualizer.

The main advantage of VirtualBox over other virtualizers is that it provides several board/controller emulation options, including a SATA controller and several network adapters.= Introduction =

This page describes how to setup a “one click solution” for booting RTEMS in VirtualBox; if the RTEMS application gets updated is just a matter of rebooting the virtual machine to boot the new updated application.

A solution for debugging RTEMS remotely through VirtualBox serial port is also described. = What we will need? =

  • VirtualBox
  • Etherboot
  • Opentftp
  • Socat relay= Get Virtual Box =

The first step is to get and install VirtualBox.

You can get Virtual box from here; you can download the file suited for your Linux distribution or setup the VirtualBox repository.

The pre-requirements for this installation are:

  • Qt 4.4.0 or higher;
  • SDL 1.2.7 or higher (this graphics library is typically called libsdl or similar)
  • DKMS

They should be already installed, if not install them from your distro’s repository:

yum install qt
yum install SDL
yum install dkms

Assuming that you added the VirtualBox repository you only have to issue:

yum install VirtualBox

VirtualBox installations can become quite tricky because a kernel module needs to be installed, so please refer to the VirtualBox documentation if you have any problem.