xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Bader <stefan.bader@canonical.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Paolo Pisati <paolo.pisati@canonical.com>,
	Xen-devel@lists.xen.org
Subject: Re: Stuck trying to boot Xen 4.3 on Arm Midway
Date: Mon, 02 Dec 2013 20:59:43 +0100	[thread overview]
Message-ID: <529CE6AF.2070704@canonical.com> (raw)
In-Reply-To: <1385999562.16012.14.camel@kazak.uk.xensource.com>


[-- Attachment #1.1: Type: text/plain, Size: 2771 bytes --]

On 02.12.2013 16:52, Ian Campbell wrote:
> On Mon, 2013-12-02 at 16:43 +0100, Stefan Bader wrote:
>> On 02.12.2013 16:24, Ian Campbell wrote:
>>> On Mon, 2013-12-02 at 15:59 +0100, Stefan Bader wrote:
>>>> I am trying to extract and combine the various pieces of information found in
>>>> [1] and its sub-pages and the Xen in-tree documentation in order to make xen
>>>> boot (potentially non-smp without some later changes). But since I am not
>>>> familiar enough with Arm I think I am stuck doing something wrong.
>>>>
>>>> I compiled the hypervisor with debug and early printk for midway and use the
>>>> xen.bin file (I could get no output at all when trying to create a uboot image
>>>> with mkimage from the uncompressed xen.gz).
>>>
>>> What version are you using? xen.bin went away in July, the right file is
>>> now just "xen".
>>
>> The released version of xen 4.3. At some point I might update to 4.3.1 (or
>> whatever stable is current then). This probably implies picking some additional
>> patches when I want to get it running on Midway.
> 
> Xen 4.3 for ARM was a tech preview. I believe at the time it ran on
> Model and versatile express. Getting it running on anything else is
> going to be a big job I'm afraid. I'd suggest either waiting for 4.4 or
> using current tip in the meantime.
> 
>>  The xen.bin would not be
>> packaged right now but it had the right format to be used by bootz while xen.gz
>> (or xen after unpacking) would not be usable in uboot without converting and
>> that need some more address values which I could and likely do get wrong.
> 
> In 4.3 xen.bin was the correct zImage compatible thing. I'm not sure
> what you mean about the address values, but as I say if you are
> expecting it to work on midway easily you are going to be disappointed.

Not really expecting _anything_ to work easily these days. :) What I meant there
was that you have to specify base address and start offset in the mkimage call
and I used the 0x8000000 (give or take a zero I am typing from memory) that was
used in the xen build to convert from xen-bin into xen for both.

> 
> 
>> Thanks, I will look through that later. One thin I noted is the dtb setup.
>> Examples out there often vary in having a modules sub-leaf or not. I would think
>> that from the early printk I am at least right to use the deeper nesting. At
>> least consistent with the in-source doc at that time/ release.
> 
> I can't remember what 4.3 did, but at least these days the depth is not
> that important, it's the compatabile string and presence beneath /chosen
> which matter.

Ok, sounds like I can abandon all hope for 4.3 anyway. But good to know that.
Just a bit confusing.

-Stefan
> 
> Ian.
> 
> 



[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  parent reply	other threads:[~2013-12-02 19:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-02 14:59 Stuck trying to boot Xen 4.3 on Arm Midway Stefan Bader
2013-12-02 15:24 ` Ian Campbell
2013-12-02 15:43   ` Stefan Bader
2013-12-02 15:52     ` Ian Campbell
2013-12-02 16:00       ` Julien Grall
2013-12-02 19:18         ` Stefan Bader
2013-12-02 19:59       ` Stefan Bader [this message]
2013-12-02 20:11         ` Stefano Stabellini

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=529CE6AF.2070704@canonical.com \
    --to=stefan.bader@canonical.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Xen-devel@lists.xen.org \
    --cc=paolo.pisati@canonical.com \
    --cc=stefano.stabellini@eu.citrix.com \
    /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;
as well as URLs for NNTP newsgroup(s).