From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27596 invoked by alias); 15 Mar 2007 11:15:49 -0000 Received: (qmail 27576 invoked by uid 22791); 15 Mar 2007 11:15:48 -0000 X-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,FORGED_RCVD_HELO X-Spam-Check-By: sourceware.org Received: from 204-133-123-27.dia.static.slbbi.com (HELO mail.chez-thomas.org) (204.133.123.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 15 Mar 2007 11:15:43 +0000 Received: by mail.chez-thomas.org (Postfix, from userid 999) id 6AAB41950414; Thu, 15 Mar 2007 05:15:41 -0600 (MDT) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on hermes.chez-thomas.org X-Spam-Level: Received: from [192.168.1.101] (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id DD92419502B2; Thu, 15 Mar 2007 05:15:38 -0600 (MDT) Message-ID: <45F92AD9.3090400@mlbassoc.com> Date: Thu, 15 Mar 2007 11:15:00 -0000 From: Gary Thomas User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Andrew Lunn CC: khoffmann@mmm.com, ecos-devel@ecos.sourceware.org Subject: Re: Scheduler problem with MPC855T port References: <20070314085536.GA29955@lunn.ch> <20070315082825.GA28547@lunn.ch> In-Reply-To: <20070315082825.GA28547@lunn.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2007-03/txt/msg00005.txt.bz2 Andrew Lunn wrote: > On Thu, Mar 15, 2007 at 08:53:02AM +0100, khoffmann@mmm.com wrote: >> Hello Andrew, thanks for your quick reply! >> >> Andrew Lunn wrote on 14.03.2007 09:55:36: >>> Timer tick. Run some of the kernel timer tests. I expect they will all >>> fail because your timer is not ticking. >> Is there a function, that I have to hook on a special interrupt? > > Yes, look at the HAL. It will initialize the timer. eg normally > hal_clock_initialize, and the macro CYGNUM_HAL_INTERRUPT_RTC should be > the timer interrupt. On the PowerPC, this is almost always the decrementer interrupt. On some cores, the decrementer has to be enabled - check your hardware manual. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------