All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@citrix.com>
To: "Ferger, Max" <M.Ferger@KOSTAL.COM>,
	Ian Campbell <ian.campbell@citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Cc: Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>,
	Iurii Konovalenko <iurii.konovalenko@globallogic.com>
Subject: Re: Dom0 kernel for Xen4.6 on R-Car H2 (LAGER)
Date: Wed, 21 Oct 2015 19:01:53 +0100	[thread overview]
Message-ID: <5627D311.1080102@citrix.com> (raw)
In-Reply-To: <a1f33f6f8b25485a9710e79a1977deed@DEBEMAIL001.kostal.int>

On 21/10/15 18:20, Ferger, Max wrote:
> Hi!

Hello,

> I'm sorry, but that didn't do the trick.
> Neither did trying, whether a compressed or non-compressed dom0 image would do.
> 
> Also, I tried:
> ----- 8< -----
> /chosen/xen,dom0-bootargs = "console=hvc0 earlyprintk=xen debug ignore_loglevel vmalloc=384M video=HDMI-A-1:1920x1080-32@60 ip=192.168.0.5:192.168.0.15:192.168.0.15:255.255.255.0:lager:eth0::: root=/dev/nfs rw nfsroot=192.168.0.15:/nfsroot rootdelay clk_ignore_unused";
> ----- 8< -----
> + earlyprintk=xen
> - rootwait
> + rootdelay
> 
> The log remains the same: empty from the switch to Dom0 onwards.
> 
> Many thanks so far!  Maybe there are some more investigative options to check or try out?

To be sure, even the patch I attached on the previous mail doesn't help
you to get the console?

If so, the simplest way to investigate requires the serial driver in Xen
to be functional (IIRC it's not the case right now). If you got it, you
can type CTRL-a tree times and access to the Xen console.

There is a number of key useful to dump the states of Xen and the
guests. The key '0' will dump the state of every vCPUs of DOM0. To list
the other keys available, type 'h'.

If getting the serial driver requires to much work, you will have to
modify DOM0 and add some xen_raw_printk (#include <xen/hvc-console.h>).
To figure out what's going on.

If you have Xen built with debug=y, from the log you sent it seems to be
the case, you can use the asm instruction "hvc" to get Xen printing
useful information:
    - hvc 0xffff will dump the state of the vCPU
    - hvc 0xfffd will print the program counter
For more of them see do_debug_trap in xen/arch/arm/traps.c

I hope this will help you to get further in DOM0 boot.

Regards,

-- 
Julien Grall

  reply	other threads:[~2015-10-21 18:01 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-15 14:17 Dom0 kernel for Xen4.6 on R-Car H2 (LAGER) Ferger, Max
2015-10-15 14:27 ` Ian Campbell
2015-10-19 12:09   ` Ferger, Max
2015-10-19 12:44     ` Julien Grall
2015-10-20  8:48       ` Ferger, Max
2015-10-20 10:05         ` Julien Grall
2015-10-20 10:47           ` Julien Grall
2015-10-20 11:41             ` Ferger, Max
2015-10-20 11:23       ` Ferger, Max
2015-10-20 21:44         ` Julien Grall
2015-10-21 16:05           ` Ferger, Max
2015-10-21 16:23             ` Julien Grall
2015-10-21 17:20               ` Ferger, Max
2015-10-21 18:01                 ` Julien Grall [this message]
2015-10-22 15:07                   ` Ferger, Max
2015-10-22 15:29                     ` Julien Grall
2015-10-22  8:48                 ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5627D311.1080102@citrix.com \
    --to=julien.grall@citrix.com \
    --cc=M.Ferger@KOSTAL.COM \
    --cc=ian.campbell@citrix.com \
    --cc=iurii.konovalenko@globallogic.com \
    --cc=oleksandr.tyshchenko@globallogic.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.