public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] ARMv8: Use U-Boot to boot Xen?
Date: Fri, 29 Jan 2016 16:54:45 +0100	[thread overview]
Message-ID: <56AB8B45.5070801@gmail.com> (raw)
In-Reply-To: <1454059136.26591.95.camel@hellion.org.uk>

On 29.01.2016 10:18, Ian Campbell wrote:
> On Fri, 2016-01-29 at 12:04 +0800, Peng Fan wrote:
>> Hi Dirk,
>>
>> Cc Ian xen experts.
>>
>> On Thu, Jan 28, 2016 at 08:06:30PM +0100, Dirk Behme wrote:
>>> Hi,
>>>
>>> are there any U-Boot examples/patches to boot Xen on an ARMv8/aarch64
>>> system?
>>>
>>> I've found
>>>
>>> http://lists.denx.de/pipermail/u-boot/2015-October/230077.html
>>>
>>> what might be helpful.
>>>
>>> But maybe I missed anything else?
>>
>> I guess you are asking steps how to boot xen using uboot?
>>
>> You may need to take this:
>> http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions
>
> Indeed.
>
> In addition one AArch64 system which uses u-boot and which has concrete
> instructions is the APM X-Gene/Mustang:
>      http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/APMXGeneMustang
> which would likely be helpful.


Yes, that page is very helpful, thanks!

But I think it misses one information, or most probably the 
configuration on that board is different. Above page just do a 'run 
xen_run' which in the end does the necessary tftp loading and finally 
the bootm to start Xen.

So I'd assume that on that board U-Boot runs at EL3 or EL2 (?).

In my environment, U-Boot runs at EL1. I.e. after loading Xen by tftp 
I somehow need to switch to EL2 to be able to start Xen.

And this is what I think I miss. How to switch from U-Boot running at 
EL1 to hypervisor mode EL2? Therefore I'd think that

http://lists.denx.de/pipermail/u-boot/2015-October/230077.html

might be helpful.

Best regards

Dirk

  reply	other threads:[~2016-01-29 15:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-28 19:06 [U-Boot] ARMv8: Use U-Boot to boot Xen? Dirk Behme
2016-01-29  0:29 ` Simon Glass
2016-01-29  4:04 ` Peng Fan
2016-01-29  9:18   ` Ian Campbell
2016-01-29 15:54     ` Dirk Behme [this message]
2016-01-29 16:23       ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56AB8B45.5070801@gmail.com \
    --to=dirk.behme@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox