xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@linaro.org>
To: HyonYoung Choi <commani@gmail.com>,
	Anthony PERARD <anthony.perard@citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Cc: Meng Xu <xumengpanda@gmail.com>
Subject: Re: [Xen-ARM] Modify the clock frequency for early printk
Date: Thu, 17 Apr 2014 23:10:04 +0100	[thread overview]
Message-ID: <5350513C.5060705@linaro.org> (raw)
In-Reply-To: <CAFpecnQUWfm-XB0p3RJdEg4TCpboGujVAkd-8x2OXQTsJLwjaQ@mail.gmail.com>

Hello,

On 17/04/14 18:49, HyonYoung Choi wrote:
> Hi Anthony and Julien,
>
> We are trying to run Xen 4.4 on the Arndale Octa board (Exynos 5420).
>
> The Xen and dom0's kernel is successfully loaded but Xen cannot start.
> The last output information in serial console is Starting kernel.
>
> In order to figure out the reason, we tried to use the early_printk to
> print out the message before console is initialized. However, the
> message we got is some garbling message after the "Start kernel..."
> message. Julien suggests this may be caused by the different rate of
> clock on Exynos 5420 and Exynos 5250.
>
> We looked at the file xen/arch/arm/arm32/debug-exynos4210.inc, the clock
> it chooses is MPLL 800MHz, but based on the output of our Exynos 5420
> board, our clock information is as follows:
>
> CPU: Exynos5420 Rev2.0 [Samsung SOC on SMP Platform Base on ARM CortexA15]
>
> APLL = 800MHz, KPLL = 600MHz
>
> MPLL = 532MHz, BPLL = 800MHz
>
> Our question is:
> 1) Is there any patch for the debug-exynos4210.inc file to support our
> board?
> 2) How should we change the code in debug-exynos4210.inc file to make it
> work on our board?
> 3) We tried to find the manual of setting the clocks so that we can
> change the following code accordingly. However, we cannot find it. Could
> you please refer to us some manual to achieve that?

In the patch I sent you earlier, can you try to replace
EARLY_PRINTK_INIT_UART := y

by

EARLY_PRINTK_INIT_UART := n

You have to clean the repo and recompile xen.

Regards,

-- 
Julien Grall

  reply	other threads:[~2014-04-17 22:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-17 17:49 [Xen-ARM] Modify the clock frequency for early printk HyonYoung Choi
2014-04-17 22:10 ` Julien Grall [this message]
2014-04-18 18:53   ` HyonYoung Choi
2014-04-18 19:05     ` Julien Grall

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=5350513C.5060705@linaro.org \
    --to=julien.grall@linaro.org \
    --cc=anthony.perard@citrix.com \
    --cc=commani@gmail.com \
    --cc=xen-devel@lists.xen.org \
    --cc=xumengpanda@gmail.com \
    /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).