[Top] [All Lists]

Re: Kernel is stuck in Calibrating delay loop

To: "Ardelean, Andrei" <>
Subject: Re: Kernel is stuck in Calibrating delay loop
From: wu zhangjin <>
Date: Thu, 11 Nov 2010 09:23:44 +0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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;; 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: <>
Original-recipient: rfc822;
References: <>
On Wed, Nov 10, 2010 at 11:49 PM, Ardelean, Andrei
<> 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?


        select CEVT_R4K
        select CSRC_R4K

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

Wu Zhangjin

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