From: Wei Liu <wei.liu2@citrix.com>
To: "Ivan Pavić2" <Ivan.Pavic2@fer.hr>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
Julien Grall <julien.grall@arm.com>,
Stefano Stabellini <sstabellini@kernel.org>,
Wei Liu <wei.liu2@citrix.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: Re: ARM bare metal application test
Date: Tue, 10 May 2016 10:49:10 +0100 [thread overview]
Message-ID: <20160510094910.GW12241@citrix.com> (raw)
In-Reply-To: <65387702CB408A468385A8FFC6F5807C33CDD0@POSTAR.fer.hr>
On Mon, May 09, 2016 at 05:59:09PM +0000, Ivan Pavić2 wrote:
> Hello,
>
> > I don't think toolstack tries to load kernel to that guest physical
> > address -- reading from Ivan's log it suggests toolstack loaded the
> > kernel to 0x40008000.
>
> > That (0x8000800) is the address set in PC, right? I don't think
> > toolstack is in a position to sanitise that nor should it care.
>
>
> I posted xl create output when i changed address in linker script. This output when it is set to 0x80008000:
> PC is incorrect?
>
The PC is correct in the sense that it is what the image says. It is
incorrect in the sense that it points to invalid memory.
See below:
> domainbuilder: detail: xc_dom_load_zimage_kernel: kernel seg 0x40008000-0x40009000
> domainbuilder: detail: xc_dom_load_zimage_kernel: copy 52 bytes from blob 0xb6ef0000 to dst 0xb6eef000
> domainbuilder: detail: xc_dom_alloc_segment: devicetree : 0x41fff000 -> 0x42000000 (pfn 0x41fff + 0x1 pages)
> domainbuilder: detail: xc_dom_pfn_to_ptr_retcount: domU mapping: pfn 0x41fff+0x1 at 0xb6eee000
> domainbuilder: detail: alloc_magic_pages: called
> domainbuilder: detail: count_pgtables_arm: called
> domainbuilder: detail: xc_dom_build_image : virt_alloc_end : 0x42000000
> domainbuilder: detail: xc_dom_build_image : virt_pgtab_end : 0x0
[...]
> domainbuilder: detail: Initial state CPSR 0x1d3 PC 0x80008000
Wei.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
prev parent reply other threads:[~2016-05-10 9:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-09 8:34 ARM bare metal application test Ivan Pavić2
2016-05-09 9:16 ` Julien Grall
2016-05-09 10:29 ` Ivan Pavić2
2016-05-09 15:50 ` Konrad Rzeszutek Wilk
2016-05-09 16:21 ` Odgovor: " Ivan Pavić2
2016-05-09 16:31 ` Julien Grall
2016-05-09 16:43 ` Ivan Pavić2
2016-05-09 16:47 ` Julien Grall
2016-05-09 16:55 ` Odgovor: " Ivan Pavić2
2016-05-09 17:39 ` Wei Liu
2016-05-09 17:57 ` Julien Grall
2016-05-10 9:49 ` Wei Liu
2016-05-09 17:59 ` Ivan Pavić2
2016-05-10 9:49 ` Wei Liu [this message]
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=20160510094910.GW12241@citrix.com \
--to=wei.liu2@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=Ivan.Pavic2@fer.hr \
--cc=julien.grall@arm.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.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.