Difference between revisions of "AXY:Virtual Box MIB"

From SoftMC-Wiki
Jump to: navigation, search
m (Installation)
(Virtual MIB as a build machine)
Line 20: Line 20:
 
First download Virtual Box for windows ( ie . if you are running windows )
 
First download Virtual Box for windows ( ie . if you are running windows )
  
Grab the virtual disks from //domainaxy/IL/MC/Linux/Ubunto-Lite-Preempt-RT. They are about 4GB combined so it would probably take some time to download.  
+
<big>Grab the virtual disks from //domainaxy/IL/MC/Linux/Ubunto-Lite-Preempt-RT. They are about 4GB combined so it would probably take some time to download.</big>
 
[[File:vb1.png|picture|Directory]]
 
[[File:vb1.png|picture|Directory]]
  
Now please follow these steps to create a virtual machine.  
+
<big>Now please follow these steps to create a virtual machine.  
Launch the virtual box.
+
Launch the virtual box.</big>
  
  
 
[[File:vb2.png|picture| vbox]]
 
[[File:vb2.png|picture| vbox]]
  
Click on the New button, the bellow window will appear.
+
<big>Click on the New button, the bellow window will appear.
 
Enter the word "Ubunto" and press Next.
 
Enter the word "Ubunto" and press Next.
 
+
</big>
  
 
[[File:vb3.png|picture| ubunto]]
 
[[File:vb3.png|picture| ubunto]]
  
Next, Choose amount of RAM memory. I decided to use 1GB. The do not choose too much as it will slow the host machine.
+
<big>Next, Choose amount of RAM memory. I decided to use 1GB. The do not choose too much as it will slow the host machine.</big>
  
 
[[File:vb4.png|picture| RAM]]
 
[[File:vb4.png|picture| RAM]]
  
Choose the boot disk. Choose vbox-amcs-v1-disk1.  
+
<big>Choose the boot disk. Choose vbox-amcs-v1-disk1 and then Next.</big>
 
   
 
   
 
[[File:vb5.png|picture| Disk ]]
 
[[File:vb5.png|picture| Disk ]]
 +
 +
<big> You should have a bootable image ready </big>
  
 
[[File:vb6.png|picture| Disk ]]
 
[[File:vb6.png|picture| Disk ]]
 +
 +
<big> We need to configure it a little, so Choose Settings </big>
 
[[File:vb7.png|picture| Disk ]]
 
[[File:vb7.png|picture| Disk ]]
 +
 +
<big> We need to configure it a little </big>
 +
 
[[File:vb8.png|picture| Disk ]]
 
[[File:vb8.png|picture| Disk ]]
 
[[File:vb9.png|picture| Disk ]]
 
[[File:vb9.png|picture| Disk ]]

Revision as of 09:00, 17 October 2012

This document describe how to install and build a MIB in a virtual box.

Abstract

There are several usage for the Virtual Box MIB.

  • Virtual MIB as a build machine
  • Virtual MIB as a Codeasys
  • Virtual MIB as mini build machine

Virtual MIB as a build machine

A machine running Ubunto. It provides a full working environment, such as eclipse,gitk, 3s and so on. This machine comes with two kernels, preempt rt and native ubunto kernel. The native kernel comes with ubunto installation, the preempt rt kernel provides a coherent real time operating system to run mc. A cohernet real time operating system here means a system that prioritize threads as mc expects, that is, by their priority.


Installation

First download Virtual Box for windows ( ie . if you are running windows )

Grab the virtual disks from //domainaxy/IL/MC/Linux/Ubunto-Lite-Preempt-RT. They are about 4GB combined so it would probably take some time to download. Directory

Now please follow these steps to create a virtual machine. Launch the virtual box.


vbox

Click on the New button, the bellow window will appear. Enter the word "Ubunto" and press Next.

ubunto

Next, Choose amount of RAM memory. I decided to use 1GB. The do not choose too much as it will slow the host machine.

RAM

Choose the boot disk. Choose vbox-amcs-v1-disk1 and then Next.

Disk

You should have a bootable image ready

Disk

We need to configure it a little, so Choose Settings Disk

We need to configure it a little

Disk Disk Disk Disk Disk Disk Disk Disk Disk Disk Disk Disk


mouse lost in first boot.

Virtual MIB as a Codeasys

Virtual MIB as mini build machine

Virtual MIB, binary only

Getting the Virtual MIB

Execution of mc simulation mode - binary only

First, to install mc , please grab //domainaxy/IL/MC/Linux/mc_sim/mc_sim.tar.gz , copy it into the virtual machine and into a directory with enough space ( ie, not / ) and acts as follows.

open the ball

$ gunzip mc_sim.tar.gz

$ tar xvf mc_strim.tar


$ cd mc_sim

run mc as follows: $ source run_sim.sh