Xen ARM with Virtualization Extensions/OMAP5432 uEVM: Difference between revisions

From Xen
Jump to navigationJump to search
No edit summary
Line 8: Line 8:


== 2.1 Build Xen hypervisor ==
== 2.1 Build Xen hypervisor ==

Build Xen:

<pre>
# git clone git://xenbits.xen.org/xen.git
# cd xen
# make dist-xen XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- CONFIG_EARLY_PRINTK=omap5432
</pre>

Create uImage for Xen:

<pre>
# mkimage -A arm -T kernel -a 0x80200000 -e 0x80200000 -C none -d "xen/xen" xen-uImage
</pre>


== 2.2 Build Linux Dom0 kernel ==
== 2.2 Build Linux Dom0 kernel ==

Revision as of 14:39, 29 April 2014

The OMAP5432 uEVM board is now supported in Xen upstream.

1. Prepare U-boot

Xen hypervisor requires to be booted in HYP mode by the bootloader. Make sure that the U-boot you use would keep staying in HYP mode when switching the control to Xen.

2. Build Xen and Linux Dom0

2.1 Build Xen hypervisor

Build Xen:

# git clone git://xenbits.xen.org/xen.git
# cd xen
# make dist-xen XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- CONFIG_EARLY_PRINTK=omap5432

Create uImage for Xen:

 # mkimage -A arm -T kernel -a 0x80200000 -e 0x80200000 -C none -d "xen/xen" xen-uImage

2.2 Build Linux Dom0 kernel

2.3 Build FDT

2.4 All together

3. Boot Xen and Dom0