[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Booting dom0 on OMAP5432 board
Hi John, On May 15, 2014, at 23:33, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote: > On Thu, 2014-05-15 at 11:10 -0400, John Paul Walters wrote: >>> >>> This is the point where you would normally start to see dom0 output. >>> >>> Have you enabled the XEN HVC driver in your kernel and passed >>> console=hvc0 to the kernel? >>> >>> If you have then you could trying pressing CTRL-A three times to enable >>> Xen debug keys, then try various keys to see if you can see if/where >>> dom0 has crashed ('h' lists them, 'q' is a good one, there is also one >>> to dump the dom0 state). >>> >>> After that I think it would be a case of adding calls to xen_raw_printk >>> in the kernel and building a hypervisor with debuging enabled to get >>> some kernel output -- which will hopefully show where things go wrong. >>> >>> Ian. >>> >>> >> Thanks for the suggestions. >> >> It looks like the HVC driver is enabled, and I've included the output >> of both "q" and "0" below as well as my u-boot version and parameters. >> It might be helpful if someone could chime in with the versions (Xen >> and kernel) that have been shown to boot successfully. I bring this >> up because the FTD patch didn't apply cleanly against any of the >> kernels that I tried, so I ended up manually applying the patch. I’ve used the latest xen and linux git tree when writing the wiki. Here is a hack to make dom0 write to the hvc console directly (can’t remember why I didn’t put it on wiki...). Could you please test the patch I attached and see whether it works for you? Cheers, Baozi --- commit ee04c996a8da3ef62103bf44a99eb516abaee230 Author: Chen Baozi <baozich@xxxxxxxxx> Date: Mon Apr 28 16:49:50 2014 +0800 xen/arm: hack to support earlyprintk for dom0 diff --git a/drivers/tty/hvc/hvc_xen.c b/drivers/tty/hvc/hvc_xen.c index 2dc2831..931c72a 100644 --- a/drivers/tty/hvc/hvc_xen.c +++ b/drivers/tty/hvc/hvc_xen.c @@ -630,7 +630,6 @@ void xen_raw_console_write(const char *str) ssize_t len = strlen(str); int rc = 0; - if (xen_domain()) { rc = dom0_write_console(0, str, len); #ifdef CONFIG_X86 if (rc == -ENOSYS && xen_hvm_domain()) @@ -642,7 +641,6 @@ outb_print: for (i = 0; i < len; i++) outb(str[i], 0xe9); #endif - } } void xen_raw_printk(const char *fmt, ...) _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |