[Top] [All Lists]

Re: Problem in booting when calling calibrate_delay

To: "wilbur.chan" <>
Subject: Re: Problem in booting when calling calibrate_delay
From: Ralf Baechle <>
Date: Sun, 1 Nov 2009 08:14:07 +0100
Cc: Linux MIPS Mailing List <>
In-reply-to: <>
Original-recipient: rfc822;
References: <>
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 rsp. kernel

> 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.


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