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

Re: [Xen-devel] ARM bare metal application test



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@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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