Xen ARM with Virtualization Extensions/Arndale: Difference between revisions

From Xen
Jump to navigationJump to search
Line 1: Line 1:
The work for Xen on the Arndale Development board is on his way. So don't expect to have a usable dom0 yet.
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 ==
== Preparing the board ==
The bootloader provided with the Arndale does not let Xen boot in hypervisor mode, so we will use the u-boot provided by Linaro.
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 [https://wiki.linaro.org/Boards/Arndale/Setup/PXEBoot Linaro wiki], to build and install u-boot.
Follow the step on the [https://wiki.linaro.org/Boards/Arndale/Setup/PXEBoot Linaro wiki], to build and install u-boot.


== Building Xen and Linux ==
To Build, get the source tree from the [http://xenbits.xen.org/gitweb/?p=people/aperard/xen-arm.git;a=summary repo], which contain branches (last one is exynos5250-2013-03-22) with patches to get serial and other device working on the board.


First, will build Linux for dom0, to have a device tree to provide to Xen.
git clone --branch exynos5250-2013-03-22 git://xenbits.xen.org/people/aperard/xen-arm.git


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].
Then, [[Xen_ARMv7_with_Virtualization_Extensions#Building_Xen_on_ARM|Build Xen on ARM]].

Next step is to build Linux for dom0. 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].


Use this [http://xenbits.xen.org/gitweb/?p=people/aperard/linux-arndale.git;a=blob_plain;f=.config;hb=refs/heads/config config] file and add anything you need.
Use this [http://xenbits.xen.org/gitweb/?p=people/aperard/linux-arndale.git;a=blob_plain;f=.config;hb=refs/heads/config config] file and add anything you need.

git clone git://xenbits.xen.org/people/aperard/linux-arndale.git linux
cd linux
wget -O .config 'http://xenbits.xen.org/gitweb/?p=people/aperard/linux-arndale.git;a=blob_plain;f=.config;hb=refs/heads/config'
make uImage
make dtbs

Use arch/arm/boot/exynos5250-arndale.dtb as a device tree provided to Xen at compile time.

To Build, get the source tree from the [http://xenbits.xen.org/gitweb/?p=people/aperard/xen-arm.git;a=summary 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, [[Xen_ARMv7_with_Virtualization_Extensions#Building_Xen_on_ARM|Build Xen on ARM]], with CONFIG_DTB_FILE=$linux_tree/arch/arm/boot/exynos5250-arndale.dtb passed to make.


== Resources ==
== Resources ==

Revision as of 19:07, 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.

Preparing the board

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.

Building Xen and Linux

First, will build Linux for dom0, to have a device tree to provide to Xen.

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

Use this config file and add anything you need.

 git clone git://xenbits.xen.org/people/aperard/linux-arndale.git linux
 cd linux
 wget -O .config 'http://xenbits.xen.org/gitweb/?p=people/aperard/linux-arndale.git;a=blob_plain;f=.config;hb=refs/heads/config'
 make uImage
 make dtbs

Use arch/arm/boot/exynos5250-arndale.dtb as a device tree provided to Xen at compile time.

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, with CONFIG_DTB_FILE=$linux_tree/arch/arm/boot/exynos5250-arndale.dtb passed to make.

Resources