Difference between revisions of "Xen ARM with Virtualization Extensions/Arndale"

From Xen
(Building Xen and Linux)
Line 12: Line 12:
 
Then, [[Xen_ARMv7_with_Virtualization_Extensions#Building_Xen_on_ARM|Build Xen on ARM]].
 
Then, [[Xen_ARMv7_with_Virtualization_Extensions#Building_Xen_on_ARM|Build Xen on ARM]].
   
Next step is to build Linux. So far, the development have been done using the Linux tree from Linaro, [https://wiki.linaro.org/Boards/Arndale/Setup/EnterpriseUbuntuServer#Build.2C_burn_uImage_and_dtb building linux]. Just make sure to "git checkout lue_arndale_3.7" and have those config options in .config:
+
Next step is to build Linux. You can get a tree from [http://xenbits.xen.org/gitweb/?p=people/aperard/linux-arndale.git xenbits] which is built on top of Linaro's tree [https://wiki.linaro.org/Boards/Arndale/Setup/EnterpriseUbuntuServer#Build.2C_burn_uImage_and_dtb].
  +
  +
and have those config options in .config:
 
CONFIG_XEN=y
 
CONFIG_XEN=y
 
CONFIG_XEN_DOM0=y
 
CONFIG_XEN_DOM0=y

Revision as of 17:30, 22 March 2013

The work for Xen on the Arndale Development board is on his way. So don't expect to have a usable dom0 yet.

Building Xen and Linux

The bootloader provided with the Arndale does not let Xen boot in hypervisor mode, so we will use the u-boot provided by Linaro.

Follow the step on the Linaro wiki, to build and install u-boot.

To Build, get the source tree from the repo, which contain branches (last one is exynos5250-2013-03-22) with patches to get serial and other device working on the board.

 git clone --branch exynos5250-2013-03-22 git://xenbits.xen.org/people/aperard/xen-arm.git

Then, Build Xen on ARM.

Next step is to build Linux. You can get a tree from xenbits which is built on top of Linaro's tree [1].

and have those config options in .config:

 CONFIG_XEN=y
 CONFIG_XEN_DOM0=y
 CONFIG_HVC_DRIVER=y
 CONFIG_HVC_IRQ=y
 CONFIG_HVC_XEN=y

Also, multi CPU does not work yet with Xen on ARM, so make sure to remove:

 CONFIG_SMP=n

Resources