From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] xenomai revision 1772 on arm
Date: Mon, 30 Oct 2006 16:16:54 +0100 [thread overview]
Message-ID: <45461766.4060208@domain.hid> (raw)
In-Reply-To: <454613C5.2090100@domain.hid>
Gilles Chanteperdrix wrote:
> Schlägl Manfred jun. wrote:
>
>> Hi!
>>
>> Should be a hint, if anyone has similar Problems:
>>
>> Xenomai (rev. 1772) was not running on my platform. (no
>> timer_tick-calls; timer stopped)
>>
>> I had to do following downgrade:
>>
>> Index: include/asm-arm/hal.h
>> ===================================================================
>> --- include/asm-arm/hal.h (revision 1772)
>> +++ include/asm-arm/hal.h (working copy)
>> @@ -103,10 +103,13 @@
>>
>> static inline void rthal_timer_program_shot (unsigned long delay)
>> {
>> + if(!delay)
>> + delay = 10;
>> + __ipipe_mach_set_dec(delay);
>> - if(!delay)
>> - rthal_trigger_irq(RTHAL_TIMER_IRQ);
>> - else
>> - __ipipe_mach_set_dec(delay);
>> }
>>
>> /* Private interface -- Internal use only */
>>
>>
>> It's simply a workaround yet. I'll try to find the error in my
>> timer-handling.
>
>
> You probably have the same problem as PXA, you can not program
> the timer for a too short delay, you should handle this in the
> implementation of __ipipe_mach_set_dec for your platform, not
> in the platform independent code.
Forget about my answer, what you observe is abnormal, rthal_trigger_irq
should work.
--
Gilles Chanteperdrix
next prev parent reply other threads:[~2006-10-30 15:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-30 14:30 [Xenomai-help] xenomai revision 1772 on arm Schlägl Manfred jun.
2006-10-30 15:01 ` Gilles Chanteperdrix
2006-10-30 15:16 ` Gilles Chanteperdrix [this message]
2006-10-30 15:12 ` Sebastian Smolorz
2006-11-02 14:08 ` Schlägl Manfred jun.
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=45461766.4060208@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--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.