linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Glanzmann <thomas@glanzmann.de>
To: linuxppc-embedded@ozlabs.org
Subject: Virtex4FX12LC hangs in calibrating delay loop
Date: Thu, 21 Jun 2007 17:15:54 +0200	[thread overview]
Message-ID: <20070621151554.GA22663@cip.informatik.uni-erlangen.de> (raw)

Hello,
I used the HEAD secretlabs kernel and used ml403 defconfig. I still see
no serial output from the _kernel_ on the serial console. But I do see
output from the in kernel embedded boot loader "load_kernel". I typed in
stop in xmd and got an instruction pointer which points to:

        c00045a0 <__delay>:
        c00045a0:       2c 03 00 00     cmpwi   r3,0
        c00045a4:       7c 69 03 a6     mtctr   r3
        c00045a8:       4d 82 00 20     beqlr
        c00045ac:       42 00 00 00     bdnz-   c00045ac <__delay+0xc>       <<<<<<<<
        c00045b0:       4e 80 00 20     blr

So I guess it is the calibrating delay loop and I am not sure. I can reproduce
this. It is always in this function. Now I wonder is my board missing
timer interrupts? What could be the reason for this. And of course one
much more important question:

        - Is the serial console initialized before or after the
          calibrating delay loop?

Is there a way to get a backtrace out of this? If that is the case what
do I have to do? Recompile the Kernel with frame pointers and attach
gdb?

        Thomas

             reply	other threads:[~2007-06-21 15:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-21 15:15 Thomas Glanzmann [this message]
2008-04-29  8:53 ` Virtex4FX12LC hangs in calibrating delay loop wangyanlong
2008-04-29 15:47   ` Stephen Neuendorffer

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=20070621151554.GA22663@cip.informatik.uni-erlangen.de \
    --to=thomas@glanzmann.de \
    --cc=linuxppc-embedded@ozlabs.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).