Xen support for native EFI boot
Quoted 22 lines
Quoted 1 line
Quoted 1 line · Keir Fraser
Quoted 3 lines · Jan Beulich
Quoted 3 lines
Quoted 1 line
Quoted 1 line · Joseph
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
Quoted 7 lines
Quoted 1 line
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).
Quoted 7 lines
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 table).
Quoted 1 line
Has that patch been picked up by the maintainers?
Wait - I was actually wrong: The patch pre-dates 2.22, and hence no change is needed when using this (newest) binutils version.
Jan