[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] ARM: Xen on Vexpress



On Thu, Jun 12, 2014 at 11:17:43, Ian Campbell wrote:
> On Thu, 2014-06-12 at 10:44 +0100, Jeenu Viswambharan wrote:
> > On Wed, Jun 11, 2014 at 17:36:02, Ian Campbell wrote:
> > > (XEN) Populate P2M 0xa8000000->0xb0000000 (1:1 mapping for dom0)
> > > (XEN) Loading kernel from boot module 2
> > > (XEN) Loading zImage from 00000000a0008000 to 
> > > 00000000afc00000-00000000aff26fb8
> > > (XEN) Loading dom0 DTB to 0x00000000afa00000-0x00000000afa02f10
> > >
> > > In that message 0xa0008000 is the *source* address (which makes
> > > sense, since that is where you loaded it to). The kernel is being
> > > loaded to address 0xafc00000 within dom0 RAM, which spans
> > > 0xa8000000->0xb0000000.  That load address is about where I would
> > > expect given the constraints (just under 128M).
> >
> > I now get that Xen moves the kernel image to 0xafc00000 (PA), and
> > DTB to 0xafa00000 (PA).
> >
> > Few questions:
> >
> >   - What does P2M stand for, and what is it?
>
> "physical to machine". It's the Xen term for what you would call the
> second stage paging.

OK, good to know.

> >   - What does DOM0 see as its PC at entry?
>
> The load address of the kernel image, since the zImage protocol
> requires us to enter the kernel at that offset.

I managed to break at eret before guest entry, and the PC is 0xafc00000
itself. It does fail to boot bare metal too from that address. I'll see
if I can find what's going wrong.

Thanks.

--
Jeenu

-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium.  Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No:  2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No:  2548782
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.