public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Jacob Avraham <jacob@imaginecommunications.com>
Cc: "ecos-discuss@ecos.sourceware.org" <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] timer alarm or any timer in Redboot
Date: Wed, 29 Aug 2007 12:53:00 -0000	[thread overview]
Message-ID: <20070829125314.GJ31057@lunn.ch> (raw)
In-Reply-To: <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

  reply	other threads:[~2007-08-29 12:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-29 12:03 Jacob Avraham
2007-08-29 12:53 ` Andrew Lunn [this message]
2007-08-29 18:48   ` [ECOS] Notification of changes required for CPU support Scott Moore
2007-08-29 19:00     ` Gary Thomas
2007-08-29 19:08       ` Scott Moore
2007-08-29 19:29     ` Hans Rosenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070829125314.GJ31057@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=jacob@imaginecommunications.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).