* Building 32-bit xen.efi for 32-bit EFI platforms
@ 2014-11-24 14:59 Zhuan Chen
2014-11-24 15:09 ` Andrew Cooper
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Zhuan Chen @ 2014-11-24 14:59 UTC (permalink / raw)
To: xen-devel
Hi,
I am wondering whether it's possible to build 32-bit xen.efi for the
32-bit EFI platform? One way of building xen.efi I learnt is to make
the binutils configured with the x86_64-pep emulation (according to
the document http://xenbits.xenproject.org/docs/unstable/misc/efi.html).
The resulted xen.efi is 64-bit mode. Is it possible to build xen.efi
as the 32-bit mode?
The reason for this question is due to my effort of installing Xen on
the Asus Transformer Book T100, which is one of the Bay Trail Atom
(64-bit processors) tablets shipped with 32-bit EFI firmware. This
requires the support of the 32-bit EFI bootloader. Such platforms seem
to become common and Linux kernel from 3.15 also provides the EFI
mixed mode to support 64-bit kernels running from 32-bit EFI firmware.
Thanks,
Zhuan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Building 32-bit xen.efi for 32-bit EFI platforms
2014-11-24 14:59 Building 32-bit xen.efi for 32-bit EFI platforms Zhuan Chen
@ 2014-11-24 15:09 ` Andrew Cooper
2014-11-24 15:22 ` Ian Campbell
2014-11-24 16:16 ` Jan Beulich
2014-12-01 13:11 ` David Vrabel
2 siblings, 1 reply; 5+ messages in thread
From: Andrew Cooper @ 2014-11-24 15:09 UTC (permalink / raw)
To: Zhuan Chen, xen-devel
On 24/11/14 14:59, Zhuan Chen wrote:
> Hi,
>
> I am wondering whether it's possible to build 32-bit xen.efi for the
> 32-bit EFI platform? One way of building xen.efi I learnt is to make
> the binutils configured with the x86_64-pep emulation (according to
> the document http://xenbits.xenproject.org/docs/unstable/misc/efi.html).
> The resulted xen.efi is 64-bit mode. Is it possible to build xen.efi
> as the 32-bit mode?
>
> The reason for this question is due to my effort of installing Xen on
> the Asus Transformer Book T100, which is one of the Bay Trail Atom
> (64-bit processors) tablets shipped with 32-bit EFI firmware. This
> requires the support of the 32-bit EFI bootloader. Such platforms seem
> to become common and Linux kernel from 3.15 also provides the EFI
> mixed mode to support 64-bit kernels running from 32-bit EFI firmware.
>
> Thanks,
> Zhuan
32bit Xen support was removed in Xen 4.3, so building a pure 32bit
hypervisor is not possible.
There is an argument to be made for building a 32bit Xen.efi which is
bootable by a 32bit firmware and moves into 64bit mode on boot.
There is however no support for this that I am aware of.
~Andrew
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Building 32-bit xen.efi for 32-bit EFI platforms
2014-11-24 15:09 ` Andrew Cooper
@ 2014-11-24 15:22 ` Ian Campbell
0 siblings, 0 replies; 5+ messages in thread
From: Ian Campbell @ 2014-11-24 15:22 UTC (permalink / raw)
To: Andrew Cooper; +Cc: Zhuan Chen, xen-devel
On Mon, 2014-11-24 at 15:09 +0000, Andrew Cooper wrote:
> On 24/11/14 14:59, Zhuan Chen wrote:
> > Hi,
> >
> > I am wondering whether it's possible to build 32-bit xen.efi for the
> > 32-bit EFI platform? One way of building xen.efi I learnt is to make
> > the binutils configured with the x86_64-pep emulation (according to
> > the document http://xenbits.xenproject.org/docs/unstable/misc/efi.html).
> > The resulted xen.efi is 64-bit mode. Is it possible to build xen.efi
> > as the 32-bit mode?
> >
> > The reason for this question is due to my effort of installing Xen on
> > the Asus Transformer Book T100, which is one of the Bay Trail Atom
> > (64-bit processors) tablets shipped with 32-bit EFI firmware. This
> > requires the support of the 32-bit EFI bootloader. Such platforms seem
> > to become common and Linux kernel from 3.15 also provides the EFI
> > mixed mode to support 64-bit kernels running from 32-bit EFI firmware.
> >
> > Thanks,
> > Zhuan
>
> 32bit Xen support was removed in Xen 4.3, so building a pure 32bit
> hypervisor is not possible.
That's not what was asked for.
> There is an argument to be made for building a 32bit Xen.efi which is
> bootable by a 32bit firmware and moves into 64bit mode on boot.
This was.
> There is however no support for this that I am aware of.
Me neither.
Ian.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Building 32-bit xen.efi for 32-bit EFI platforms
2014-11-24 14:59 Building 32-bit xen.efi for 32-bit EFI platforms Zhuan Chen
2014-11-24 15:09 ` Andrew Cooper
@ 2014-11-24 16:16 ` Jan Beulich
2014-12-01 13:11 ` David Vrabel
2 siblings, 0 replies; 5+ messages in thread
From: Jan Beulich @ 2014-11-24 16:16 UTC (permalink / raw)
To: Zhuan Chen; +Cc: xen-devel
>>> On 24.11.14 at 15:59, <zhuanchen@gmail.com> wrote:
> I am wondering whether it's possible to build 32-bit xen.efi for the
> 32-bit EFI platform? One way of building xen.efi I learnt is to make
> the binutils configured with the x86_64-pep emulation (according to
> the document http://xenbits.xenproject.org/docs/unstable/misc/efi.html).
> The resulted xen.efi is 64-bit mode. Is it possible to build xen.efi
> as the 32-bit mode?
>
> The reason for this question is due to my effort of installing Xen on
> the Asus Transformer Book T100, which is one of the Bay Trail Atom
> (64-bit processors) tablets shipped with 32-bit EFI firmware. This
> requires the support of the 32-bit EFI bootloader. Such platforms seem
> to become common and Linux kernel from 3.15 also provides the EFI
> mixed mode to support 64-bit kernels running from 32-bit EFI firmware.
This mixed mode support is kind of crippled, as it suppresses all use
of runtime services. But that aside, as others said what you ask for
is currently not possible - feel free to submit patches to improve the
situation, but be aware that a number of assumptions of being 64-bit
are currently made in the boot loader code, so you'd have to do
careful code review first to spot all places needing adjustment.
Jan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Building 32-bit xen.efi for 32-bit EFI platforms
2014-11-24 14:59 Building 32-bit xen.efi for 32-bit EFI platforms Zhuan Chen
2014-11-24 15:09 ` Andrew Cooper
2014-11-24 16:16 ` Jan Beulich
@ 2014-12-01 13:11 ` David Vrabel
2 siblings, 0 replies; 5+ messages in thread
From: David Vrabel @ 2014-12-01 13:11 UTC (permalink / raw)
To: Zhuan Chen, xen-devel, Daniel Kiper
On 24/11/14 14:59, Zhuan Chen wrote:
> Hi,
>
> I am wondering whether it's possible to build 32-bit xen.efi for the
> 32-bit EFI platform? One way of building xen.efi I learnt is to make
> the binutils configured with the x86_64-pep emulation (according to
> the document http://xenbits.xenproject.org/docs/unstable/misc/efi.html).
> The resulted xen.efi is 64-bit mode. Is it possible to build xen.efi
> as the 32-bit mode?
>
> The reason for this question is due to my effort of installing Xen on
> the Asus Transformer Book T100, which is one of the Bay Trail Atom
> (64-bit processors) tablets shipped with 32-bit EFI firmware. This
> requires the support of the 32-bit EFI bootloader. Such platforms seem
> to become common and Linux kernel from 3.15 also provides the EFI
> mixed mode to support 64-bit kernels running from 32-bit EFI firmware.
You may want to look at using another bootloader (such as grub 2) to
chainload Xen.
Daniel Kiper has the necessary patches to Xen to make this work
(although I've only tried it with 64-bit grub 2).
David
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-12-01 13:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-24 14:59 Building 32-bit xen.efi for 32-bit EFI platforms Zhuan Chen
2014-11-24 15:09 ` Andrew Cooper
2014-11-24 15:22 ` Ian Campbell
2014-11-24 16:16 ` Jan Beulich
2014-12-01 13:11 ` David Vrabel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.