Hello,

On Tuesday 14 December 2010, 11:12:10 Drasko DRASKOVIC wrote:
> On Tue, Dec 14, 2010 at 12:35 AM, Greg Ungerer <g...@snapgear.com> wrote:
> > What version of uClinux are you using?
> > The specifics of the idle state are also dependent on the specific
> > vendor ARM device you are using. What is the exact part you are
> > using?
> 
> Hi Greg,
> I have found an issue. I am using ARM946E, uClinux kerenel 2.6.
> 
> In arch/arm/kernel/process.c I can see that default_idle() function is
> calling arch_idle(), which is defined in include/asm/arch/system.h and
> is basically call to a architecture specific cpu_arm946_do_idle()
> which is defined in arch/arm/mm/proc-arm946.S and represents CP15
> manipulation to implement "wait for interrupt" operation.
> 
> What is suprising, is the comment in arch_idle() function :
>         /*
>        * Set the processor (CP15) into 'Wait for Interrupt' mode.
>        * Unlike disabling the processor clock via the PMC (above)
>        *  this allows the processor to be woken via JTAG.
>        */
> but this does not seem to be true at all.
> 
> Commenting out code which does "wait for interrupt" operation solves
> the problem.

Try passing nohlt on kernel command line.

Best regards,
Alexander
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to