All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Roy Franz <roy.franz@linaro.org>,
	Stefano Stabellini <stefano.stabellini@citrix.com>,
	xen-devel <xen-devel@lists.xen.org>
Subject: Re: Remaining EFI Xen on ARM issues (on Juno at least)
Date: Wed, 22 Oct 2014 15:24:21 +0100	[thread overview]
Message-ID: <1413987861.19198.22.camel@citrix.com> (raw)
In-Reply-To: <5447D7CE020000780004111B@mail.emea.novell.com>

On Wed, 2014-10-22 at 15:14 +0100, Jan Beulich wrote:

> >> Did you verify that your EFI binary got control passed at all (i.e.
> >> whether it really is an issue with reading the config file)?
> > 
> > It prints:
> >         Xen 4.5-unstable (c/s Mon Oct 20 20:55:25 2014 -0700 git:91086d0) 
> > EFI loader
> >         No configuration file found.
> > So I'm pretty sure xen.efi has been called.
> 
> Definitely. Did I overlook that being mentioned before?

I think it had been trimmed by the time you were CCd.

> >> > work, since they specify the disk directly, but maybe I just don't
> >> > understand this aspect of EFI and the application/stub needs to parse
> >> > that if it wants to support loading things from other volumes (and
> >> > doesn't, which is fine).
> >> > 
> >> > It's interesting that Linux on juno is correctly able to load the
> >> > dtb=juno from its command line. Is there some difference here between
> >> > the interfaces used by the Linux stub vs the Xen one?
> >> 
> >> Quite possible - ours is derived from code we had been using for an
> >> abandoned OS project over ten years ago.
> > 
> > OK, so it probably is worth investigating what Xen does differently a
> > little then.
> 
> Or at least adding verbosity to the operations it does, to see when
> which error code(s) get(s) returned. Since failure is being accounted
> for (and recovered from), those error codes wouldn't normally make
> sense to print out.

Yes.

>  But first of all - I suppose this NOR thing has a
> proper file system (and hence a respective EFI protocol) on it? I ask
> because iirc we can't currently handle being remote booted because
> we expect a file system protocol, yet in that case it's a different one
> that would need to be used. There simply was no-one to ask for
> that functionality yet...

A proper filesystem is perhaps a bit of a stretch, you feed the lower
level firmware an index file mapping filenames to regions of flash and
it fakes up a filesystem, so it looks like a file system protocol to the
UEFI app I think.

It doesn't do subdirs (AFAIK) or any modern newfangled concepts like
that ;-)

Ian.

  reply	other threads:[~2014-10-22 14:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-21  3:55 [PATCH] xen/arm64: Use __flush_dcache_area instead of __flush_dcache_all Roy Franz
2014-10-21  3:57 ` Roy Franz
2014-10-21  8:17 ` Ian Campbell
2014-10-21 14:17   ` Remaining EFI Xen on ARM issues (on Juno at least) Ian Campbell
2014-10-22  3:59     ` Roy Franz
2014-10-22  8:47       ` Ian Campbell
2014-10-22  9:51         ` Jan Beulich
2014-10-22 10:45           ` Ian Campbell
2014-10-22 14:14             ` Jan Beulich
2014-10-22 14:24               ` Ian Campbell [this message]
2014-10-22 14:31                 ` Jan Beulich
2014-10-23 22:49                   ` Roy Franz
2014-10-25  0:29                     ` Roy Franz

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=1413987861.19198.22.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=roy.franz@linaro.org \
    --cc=stefano.stabellini@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /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 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.