EmbeddedXEN Virtualization Framework Code
Brought to you by:
rossierd
********************************************************************************
EmbeddedXEN 2.x
Quick Start Guide
********************************************************************************
I. Getting the files
--------------------
Visit https://sourceforge.net/projects/embeddedxen/ to get the latest tarball
with the most recent source code.
Please note that embeddedxen-2.x is made up of several tar.gz in order to reduce
the size of downloads:
- embeddedxen-2.x-base.tar.gz:
Base files for EmbeddedXEN 2.x framework including hypervisor and config
files. Patches for various guest dom0/domU are also provided. This file
contains a toolchain and the QEMU emulator. This archive file does NOT
contain any domain (Guest OS) related files.
- embeddedxen-2.x-single-dom0.tar.gz:
Contains a single dom0 based on a para-virtualized Linux-2.6.26. This file
also contains a rootfs.
- embeddedxen-2.x-domU.tar.gz:
Contains the para-virtualized SqueezeOS with its rootfs.
- embeddedxen-2.x-others-dom0.tar.gz:
Contains para-virtualized Linux-2.6.29 for Goldfish and Linux-2.6.32 for
HTC Desire HD as well as various tools to manage deployment on HTC.
II. Compilation of QEMU
-----------------------
# Make sure you have the following packets installed:
sudo apt-get install libsdl1.2-dev
sudo apt-get install zlib1g-dev
sudo apt-get install libasound2-dev
sudo apt-get install libglib2.0-dev
# Compilation (from embeddedxen root dir):
make qemu
III. Compilation of virtualization framework
--------------------------------------------
# Make sure you have the following tools installed: eu-strip & mkimage
sudo apt-get install elfutils # eu-strip
sudo apt-get install u-boot-tools # mkimage
# Extract the ARM toolchain
cd tools/toolchain
tar -xf arm-angstrom-linux-gnueabi.tar.gz
# Add toolchain to PATH
export PATH=/path/to/tools/toolchain/arm-angstrom-linux-gnueabi/bin:$PATH
# Compilation (from embeddedxen root dir):
make PLATFORM=versatilev6 DOMAINS="linux-2.6.26-dom0 fab4:linux-2.6.26-domU"
IV. Run
-------
# To launch QEMU running the virtualized framework, simply type:
./stv6h