linux-mips
[Top] [All Lists]

Re: Problem in booting when calling calibrate_delay

To: "wilbur.chan" <wilbur512@gmail.com>
Subject: Re: Problem in booting when calling calibrate_delay
From: Ralf Baechle <ralf@linux-mips.org>
Date: Sun, 1 Nov 2009 08:14:07 +0100
Cc: Linux MIPS Mailing List <linux-mips@linux-mips.org>
In-reply-to: <e997b7420910281651p24b8e367m1e2ddbc1b95ac623@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <e997b7420910281651p24b8e367m1e2ddbc1b95ac623@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.19 (2009-01-05)
On Thu, Oct 29, 2009 at 07:51:52AM +0800, wilbur.chan wrote:

> I was going to boot mips64  xlr408, which has 8 cores.

The XLR is not supported by the linux-mips.org rsp. kernel.org kernel
trees.

> Howerver, the code seemd to stop before calling 'start_kernel--->
> 
> calibrate_delay ' .
> 
> So Iadded some 'printk' in  calibrate_delay,  to check out why it failed.
>  However,  if I added a 'printk' in any 'if  branches'  in
> 
> 'calibrate_delay '  function  , the kernel would halt  before calling
> 
> 
> 'j  start_kernel'  in head.S. (in this situation ,printk seemed
> 
> unavailable, so  I  wrote directlly to serial address  to trace the
> 
> kernel).
> 
> 
> Can anyone tell me why this happed?

When something like this happens it is in most cases caused by timer
interrupt not working.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>