linux-mips
[Top] [All Lists]

Re: Kernel is stuck in Calibrating delay loop

To: "Ardelean, Andrei" <Andrei.Ardelean@idt.com>
Subject: Re: Kernel is stuck in Calibrating delay loop
From: wu zhangjin <wuzhangjin@gmail.com>
Date: Thu, 11 Nov 2010 09:23:44 +0800
Cc: linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=jJFUFXiYE6ovFXQTstHwjBHgbTnge0QNKnSvz1fPlXk=; b=ceK4aSW2dKi+8Tr+V0CbP3ZWMJJxsSyn8o4+2eMpvWwavEwlrXu/AAxLDw71vC8fo5 58PF3G6tkrGtoBzUjXV7EZ7Z9JriT6X5zD7Fjwf14SYxpMh8AK9wBS0xeJ9mOIwoZF6c ZtUTO6pwiqc5aIBvRZbQCLU6VZXtA5qZOi15E=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=FDz80fN+bErDFfsnz+Wo3sB69u8wZ0GuEl7z9Sb8TanjberiKbonL3PLi48roxAqdv Kj2cU2KDNVzr400Qm7SUUrvx9ve9//8LsO4Bskso86Wf5ZHaUuZibmG+TLEFVfXyZTRg WYkc2ri9bIkdIFMDMKsXpsHW2jwjo9aiXa+tk=
In-reply-to: <AEA634773855ED4CAD999FBB1A66D0760132BB00@CORPEXCH1.na.ads.idt.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <AEA634773855ED4CAD999FBB1A66D0760132BB00@CORPEXCH1.na.ads.idt.com>
Sender: linux-mips-bounce@linux-mips.org
On Wed, Nov 10, 2010 at 11:49 PM, Ardelean, Andrei
<Andrei.Ardelean@idt.com> wrote:
> Hi,
>
> I am porting MIPS Malta on a new platform and during the boot process
> the Kernel remains in a infinite loop in "Calibrating delay loop ..." in
> calibrate.c.
> I checked and the timer interrupt which is supposed to be wired on h/w 5
> interrupt (MIPS 7 irq) is not activated in MIPS Status.IM7 register.
> Where in the Kernel the MIPS irq wired to the timer interrupt needs to
> be enabled?  Can I use enable_irq()?
> On my platform I don't have any 8259 and I am trying to use MIPS
> Count/Compare internal timer for Kernel tick.

Did you select the r4k timer for your platform?

arch/mips/Kconfig:

config MIPS_MALTA
        [snip]
        select CEVT_R4K
        select CSRC_R4K
        [snip]

And please check if arch/mips/kernel/*r4k.c are compiled into your kernel image.

Regards,
Wu Zhangjin

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