Difference between revisions of "Xen ARM with Virtualization Extensions/OMAP5432 uEVM"
From Xen
(→2.1 Build Xen hypervisor) |
|||
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.
Contents
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