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

Re: [Minios-devel] Regarding Mini-os boot up on xen arm


  • To: "minios-devel@xxxxxxxxxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: "Misra Pankaj Kumar (RBEI/EEA2)" <Pankaj.Kumar@xxxxxxxxxxxx>
  • Date: Mon, 21 Dec 2015 13:41:27 +0000
  • Accept-language: en-US, en-SG
  • Delivery-date: Mon, 21 Dec 2015 13:41:35 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AdE5j8h9uOCxFxD/QHyLYTbujevIL///igmA//903oCAAJRVgP/67KqA//W27UA=
  • Thread-topic: [Minios-devel] Regarding Mini-os boot up on xen arm

-----UrsprÃngliche Nachricht-----
Von: minios-devel-bounces@xxxxxxxxxxxxxxxxxxxx 
[mailto:minios-devel-bounces@xxxxxxxxxxxxxxxxxxxx] Im Auftrag von Misra Pankaj 
Kumar (RBEI/EEA2)
Gesendet: Montag, 21. Dezember 2015 13:02
An: minios-devel@xxxxxxxxxxxxxxxxxxxx
Betreff: Re: [Minios-devel] Regarding Mini-os boot up on xen arm

>-----UrsprÃngliche Nachricht-----
>Von: Ian Campbell [mailto:ian.campbell@xxxxxxxxxx]
>Gesendet: Freitag, 18. Dezember 2015 15:01
>An: Misra Pankaj Kumar (RBEI/EEA2) <Pankaj.Kumar@xxxxxxxxxxxx>; 
>minios-devel@xxxxxxxxxxxxxxxxxxxx
>Betreff: Re: [Minios-devel] Regarding Mini-os boot up on xen arm
>
>On Fri, 2015-12-18 at 13:48 +0000, Misra Pankaj Kumar (RBEI/EEA2) wrote: 
>
>Please don't top post.
>> Thanks Ian for quick response.
>> 
>> My hardware is odroid xu4, so here it should be r2 register populated 
>> by Xen.
>> Can you please point me to the code which passes this address to r2. 
>
>SeeÂtools/libxc/xc_dom_arm.c (hopefully you tried using grep etc to answer 
>before asking).

Here I found a comment in this file, before updating r2 register, as :

            /* ATAGS/DTB: We currently require that the guest kernel to be
             * using CONFIG_ARM_APPENDED_DTB. Ensure that r2 does not look
             * like a valid pointer to a set of ATAGS or a DTB.
             */
            ctxt->user_regs.r2_usr = dom->devicetree_blob ?
                dom->devicetree_seg.vstart : 0xffffffff;


Does it mean that DTB pointer is dummy ?

Value loaded in r2 here is 48000000.
If we subtract offset 3fc00000 from it we get 08400000, which is the virtual 
address of DTB.
It fails while de-referencing this pointer.
Is it a valid address? Or the DTB contents are valid ?

I am providing RAM size as 256MB and Max as 512 MB.

>> As its failing in my case
>> (d3) Virtual -> physical offset = 3fc00000
>> (d3) Checking DTB at 08400000...
>> (d3) Fault handler at 004081ac called (prefetch_abort)
>
>Which version of mini-os are you using? IIRC not all of the patches have been 
>applied toÂgit://xenbits.xen.org/mini-os.git. 
I am using following repo :
https://github.com/talex5/xen
where are the patches available?
>Ian.
Thanks,
Pankaj
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel

 


Rackspace

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