Difference between revisions of "Xen ARM with Virtualization Extensions"

From Xen
(Dom0 kernel)
Line 17: Line 17:
   
 
Enable at least ARCH_VEXPRESS, ARCH_VEXPRESS_DT, ARM_APPENDED_DTB and ARM_ATAG_DTB_COMPAT. Disable SPARSE_IRQ (it doesn't play nicely with device tree support).
 
Enable at least ARCH_VEXPRESS, ARCH_VEXPRESS_DT, ARM_APPENDED_DTB and ARM_ATAG_DTB_COMPAT. Disable SPARSE_IRQ (it doesn't play nicely with device tree support).
  +
  +
A working configuration is available [http://www.davidvrabel.org.uk/~david/xen/vexpress-dt.config here].
   
 
=== Device Tree Blob (DTB) ===
 
=== Device Tree Blob (DTB) ===
   
 
Build the device tree blobs (flattened device tree binary files) with <tt>make dtbs</tt>. A suitable DTB file for the envelope model is vexpress-v2p-aem-v7a.dtb.
 
Build the device tree blobs (flattened device tree binary files) with <tt>make dtbs</tt>. A suitable DTB file for the envelope model is vexpress-v2p-aem-v7a.dtb.
  +
  +
=== Flash Image ===
  +
  +
The dom0 kernel is loaded by Xen from the beginning of the flash. The kernel zImage and the DTB should be appended. e.g., <tt>cat zImage vexpress-v2p-aem-v7a.dtb &gt; flash.bin</tt>.
   
 
=== Native boot ===
 
=== Native boot ===

Revision as of 14:56, 11 January 2012

The ARM v7-A architecture includes the optional virtualization extensions that allow a hypervisor to manage fully hardware virtualized guests. These extensions are available in the ARM Cortex A15 and Cortex A7 processors.

Requirements

Real-time System Model
Either the v7-A Envelope Model or the Cortex A15/A7 models (single CPU only).
Xen
arm-v4 branch of git://xenbits.xen.org/people/sstabellini/xen-unstable.git/.git
Linux kernel for dom0
vexpress-dt branch of git://xenbits.xen.org/people/dvrabel/linux.git
dom0 userspace
(more details here)

Dom0 kernel

Enable at least ARCH_VEXPRESS, ARCH_VEXPRESS_DT, ARM_APPENDED_DTB and ARM_ATAG_DTB_COMPAT. Disable SPARSE_IRQ (it doesn't play nicely with device tree support).

A working configuration is available here.

Device Tree Blob (DTB)

Build the device tree blobs (flattened device tree binary files) with make dtbs. A suitable DTB file for the envelope model is vexpress-v2p-aem-v7a.dtb.

Flash Image

The dom0 kernel is loaded by Xen from the beginning of the flash. The kernel zImage and the DTB should be appended. e.g., cat zImage vexpress-v2p-aem-v7a.dtb > flash.bin.

Native boot

To boot the kernel natively use an updated boot-wrapper from git://xenbits.xen.org/people/dvrabel/boot-wrapper.git.