From: Philippe Gerum <rpm@xenomai.org>
To: Mandar Thite <mandarthite@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] ARM I-pipe port to OMAP osk board
Date: Fri, 23 Jan 2009 10:46:51 +0100 [thread overview]
Message-ID: <4979920B.7050104@domain.hid> (raw)
In-Reply-To: <8e2adebc0901221506y31e9930aq51e3b26fe4ce4e15@domain.hid>
Mandar Thite wrote:
> Hi Gilles,
>
> I have a problem in following paragraph...
>
> /**********
> a function is expected to update the tsc area from time to time (at
> least once before the underlying counter reaches the same value again,
> in order to avoid losing some wrap arounds). If the free-running counter
> wraps fast, the best place to do this is __ipipe_mach_acktimer. If the
> free-running counter wraps slowly, doing this from Linux timer interrupt
> will reduce the timer interrupt latency.
> **********/
>
> How do I decide if, for my platform, "free-running counter" wraps fast
> or slow? Or iow, what does it depend upon?
>
If you need someone to explain what a free running counter is, or why a
timer-related counter may wrap fast or slow, then I'm afraid there is no way you
could achieve your port before hell freezes. Make everyone a favor, do your
homework first, please.
Besides, the least you could do is attaching your code since you want people to
help with it. A good practice is to send the current state of your work as a
patch with your initial question so that people understand where you are at this
point, then update the list with improved releases of this work from time to
time, as progress is made. This would clear a rather irritating feeling we have
that you are offloading your work to the list.
> On Fri, Jan 23, 2009 at 3:40 AM, Gilles Chanteperdrix
> <gilles.chanteperdrix@xenomai.org
> <mailto:gilles.chanteperdrix@xenomai.org>> wrote:
>
> Mandar Thite wrote:
> > Hi again,
> > Platform specific code for "clock_event_device" timer
> initialization in
> > "arch/arm/mach-omap1/time.c" is starting the timer in "autoreload
> mode" as
> > per "HZ" value. Is this ok for functioning of I-pipe or needs a
> > modification(i mean should it be started in "one shot mode")?
> > Thanks. ---Mandar
>
> Xenomai requires one shot mode.
>
> --
> Gilles.
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
next prev parent reply other threads:[~2009-01-23 9:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-31 18:08 [Xenomai-help] ARM I-pipe port to OMAP osk board Mandar Thite
2008-12-31 18:10 ` Gilles Chanteperdrix
2009-01-22 19:04 ` Mandar Thite
2009-01-22 19:14 ` Gilles Chanteperdrix
2009-01-22 22:08 ` Mandar Thite
2009-01-22 22:10 ` Gilles Chanteperdrix
2009-01-22 23:06 ` Mandar Thite
2009-01-23 9:46 ` Philippe Gerum [this message]
2009-01-23 15:37 ` Mandar Thite
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=4979920B.7050104@domain.hid \
--to=rpm@xenomai.org \
--cc=mandarthite@domain.hid \
--cc=xenomai@xenomai.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.