This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: timer alarm or any timer in Redboot
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Jacob Avraham <jacob at imaginecommunications dot com>
- Cc: "ecos-discuss at ecos dot sourceware dot org" <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 29 Aug 2007 14:53:14 +0200
- Subject: Re: [ECOS] timer alarm or any timer in Redboot
- References: <FF584854D6FFE547AB2F7515A798AC3A12070B51@venus.imagineil.tv>
> 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