xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@arm.com>
To: bharat gohil <ghl.bhrt@gmail.com>
Cc: Oleksandr Tyshchenko <olekstysh@gmail.com>,
	Stefano Stabellini <sstabellini@kernel.org>,
	Andrii Anisov <andrii_anisov@epam.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	Xen Devel <xen-devel@lists.xen.org>
Subject: Re: ARM64:Porting xen to new hardware
Date: Fri, 6 Oct 2017 14:29:42 +0100	[thread overview]
Message-ID: <d65d42e5-33a4-04a2-2dab-211f9d444573@arm.com> (raw)
In-Reply-To: <CABdg74cugG=EyNOWKZ1SJrHcstOFTV5nnyRmqtz2bC08xtFXvw@mail.gmail.com>

Hello,

On 03/10/17 08:05, bharat gohil wrote:
> 
> 
> On Fri, Sep 29, 2017 at 11:12 PM, Julien Grall <julien.grall@arm.com 
> <mailto:julien.grall@arm.com>> wrote:
> 
> 
> 
>     On 09/29/2017 09:15 AM, bharat gohil wrote:
> 
>         Hello
> 
> 
>     Hi,
> 
>     Please avoid top-posting.
> 
>         The patch didn't work in my case.
> 
> 
>     The patch will be useful only if the compatible string in the DT of
>     your UART is "snps,dw-apb-uart". What is the compatible string for it?
> 
> In my case, compatible string is "ns16550a".
> Thanks,

Hmmm, looking back at the conversation your dom0 command line is:

console=hvc0,921600n8 earlyprintk=xen debug ignore_loglevel rw 
root=/dev/mmcblk0p7

earlyprintk=xen will do nothing as there are no Xen specific earlyprintk 
for Arm. For Dom0, I would recommend to use same same earlyprintk 
options as you would use on baremetal.

This would allow you to get some early input if the kernel get stuck 
before the console has been setup.

Furthermore, on a previous e-mail it has been mentioned that your 
problem might be because Linux will disable what it thinks unused clock. 
A way to prevent that (at least for debugging) is using add 
'clk_ignore_unused' on the Linux command line.

If the 2 suggestions above does not work, then you would have to 
instrument the kernel. When the hypervisor is build with debug enabled, 
there are is set a debug hvc provided. A useful one is hvc 0xfffd. For 
all of them, you can look at do_debug_trap in arch/arm/traps.c.

I hope this will help.

Cheers,

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2017-10-06 13:29 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-29 14:21 ARM64:Porting xen to new hardware bharat gohil
2017-08-30 14:14 ` Oleksandr Tyshchenko
2017-08-30 14:30   ` bharat gohil
2017-08-31 11:13     ` bharat gohil
2017-08-31 11:58       ` Oleksandr Tyshchenko
2017-09-04  4:13         ` bharat gohil
2017-09-04 12:54           ` Oleksandr Tyshchenko
2017-09-06  7:01             ` bharat gohil
2017-09-06 10:19               ` Oleksandr Tyshchenko
2017-09-07 13:30                 ` bharat gohil
2017-09-08 19:19                   ` Oleksandr Tyshchenko
2017-09-18 14:46                     ` Konrad Rzeszutek Wilk
2017-09-22 10:00                       ` bharat gohil
2017-09-22 13:43                         ` Konrad Rzeszutek Wilk
2017-09-25  8:42                           ` bharat gohil
2017-09-25 12:15                             ` Andrii Anisov
2017-09-25 12:53                               ` bharat gohil
2017-09-25 13:29                                 ` Julien Grall
2017-09-25 17:40                                   ` bharat gohil
2017-09-25 18:08                                     ` Oleksandr Tyshchenko
2017-09-29  8:15                                       ` bharat gohil
2017-09-29 17:42                                         ` Julien Grall
2017-10-03  7:05                                           ` bharat gohil
2017-10-06 13:29                                             ` Julien Grall [this message]
2018-02-22  8:43                                               ` bharat gohil
2018-02-22  9:45                                                 ` bharat gohil
2018-02-22 10:33                                                   ` bharat gohil
2018-02-22 10:38                                                     ` bharat gohil
2018-02-22 11:01                                                     ` Andrii Anisov
2018-02-22 11:20                                                       ` Julien Grall
2018-02-22 11:11                                                     ` Andrii Anisov
2018-02-22 11:27                                                     ` Julien Grall
2018-02-26  7:31                                                       ` bharat gohil
2018-02-26 10:21                                                         ` Julien Grall
2018-02-26 13:09                                                           ` bharat gohil
2017-09-25 13:30                                 ` Andrii Anisov

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=d65d42e5-33a4-04a2-2dab-211f9d444573@arm.com \
    --to=julien.grall@arm.com \
    --cc=andrii_anisov@epam.com \
    --cc=ghl.bhrt@gmail.com \
    --cc=konrad.wilk@oracle.com \
    --cc=olekstysh@gmail.com \
    --cc=sstabellini@kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).