Skip to contentSkip to conversation

Regarding Mini-os boot up on xen arm

DISCUSSION Misra Pankaj Kumar (RBEI/EEA2) 2 participants 2 messages Dec 18, 2015

lore
Share & tools
lore
#0 lore raw

Hello,

I am facing problem during mini-os boot-up. The execution breaks while checking for fdt_check_header while calling fdt32_to_cpu. I think it is not able to use the address of the dtb provided during arch_init. The address i can see is 0x08400000.

(d3) Virtual -> physical offset = 3fc00000 (d3) Checking DTB at 08400000...
(d3) Fault handler at 004081ac called (prefetch_abort)

after this it dumps registers.

I am not understanding where have we specified the address of dtb, and first of all we have not compiled any dtb with mini-os, so which dtb will be used here ?

--> I came to know after some gooogling that xen provides DTB to guest os.

I checked verbose output of "xl create" and came to know that xen tools are allocating some space and populating it with DTB info, but since that address is virtual and so is changing every time, i can not hardcode it into r2 register.

So i want to know how xen passes DTB to guest os.

Thanks,
Pankaj

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw
Quoted 1 line · On Fri, 2015-12-18 at 13:17 +0000, Misra Pankaj Kumar (RBEI/EEA2) wrote:

Hello,

I've just replied to this message on minios-devel.

While cross posting might be appropriate in this case, please do it in a single message so we don't end up with two threads.

Ian.