[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen support for native EFI boot

>>> On 01.03.12 at 21:40, "Cihula, Joseph" <joseph.cihula@xxxxxxxxx> wrote:
> Can someone provide instructions and the necessary environment/toolchain 
> support needed to get Xen to build and boot on a native EFI system (i.e. with 
> no CSM/legacy support)?

gcc must be 4.5.x or newer (I'd recommend not trying anything below
4.6.x, as I'm unaware of anyone ever having tried that, and I can't
exclude that there are bugs in the relevant code that was newly added
in 4.5.0).

ld must support linking native 64-bit EFI applications, which so far no
released binutils version does. The single relevant change that's
necessary for this to work in 2.21 can be taken from
http://www.sourceware.org/ml/binutils/2011-05/msg00131.html (but
there's at least one other non-essential adjustment in case you want
to do anything with the generated binary that involves its symbol

Next, a suitably enabled Dom0 kernel is needed.

Finally, a config file needs to be placed alongside the xen*.efi
binary; I'm attaching a simplistic example.


Attachment: xen.cfg
Description: Binary data

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.