From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22469 invoked by alias); 29 Aug 2007 12:53:26 -0000 Received: (qmail 22197 invoked by uid 22791); 29 Aug 2007 12:53:22 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 29 Aug 2007 12:53:18 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1IQN2o-0000Xi-00; Wed, 29 Aug 2007 14:53:14 +0200 Date: Wed, 29 Aug 2007 12:53:00 -0000 From: Andrew Lunn To: Jacob Avraham Cc: "ecos-discuss@ecos.sourceware.org" Message-ID: <20070829125314.GJ31057@lunn.ch> Mail-Followup-To: Jacob Avraham , "ecos-discuss@ecos.sourceware.org" References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-11) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] timer alarm or any timer in Redboot X-SW-Source: 2007-08/txt/msg00161.txt.bz2 > Does Redboot support an alarm timer, or any timer for that matter, > that I can use to toggle a LED while Redboot is booting? > I'm not asking about the delay timer, I need an asynchronous timer. Interrupts are not running, you don't have a kernel. So no. The nearest you have is that Redboot has a poll loop. When redboot has nothing to do, it calls do_idle() which calls a list of idle functions. You could hook this and blink your LED. But by the time this is being called, booting is over. Redboot is running. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss