From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: r k <radokx@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] realtime with mx27ads
Date: Fri, 11 May 2007 15:59:10 +0200 [thread overview]
Message-ID: <464476AE.3060805@domain.hid> (raw)
In-Reply-To: <46446ee66e467@domain.hid>
r k wrote:
> I have purchased i.MX27ads board and I am using
> imx27_ads_20070210-rel1b-ltib.iso
>
> We have been trying to adapt real-time patch from Xenomai 2.3.1 for the
> kernel 2.6.19.
> The solution is based on trigger from General Purpose Timer, which lets
> periodically check interrupts.
It is a bit unusual.
> Interrupts from processor are handled
> without obstacles but interrupts from CPLD cause problems.
> Our main modification is in file mx27ads.c (added code is in attachment)
> The result was printed as low level debug info via console(also in
> attachment). Our remark is that just after initialization of MMC card,
> which is handled by CPLD, is invoked our function. Then our code tries
> to handle interrupt no 15 port no 2 and from this moment we got
> problems. Function tries to handle this interrupt twice and then fail.
>
> Does anybody tried already to add real-time extension to i.MX27
> processor (board)? Do you have somebody who could help us to modify
> mx27ads.c?
Do you have the same problem if you avoid __ipipe_mach_demux_irq by
#defining __ipipe_mach_irq_mux_p to 0 ? If no, then your problem is in
the __ipipe_mach_demux_irq. But the iMX27ads does not seem to be
included into mainline, I have no clue of what could be wrong.
--
Gilles Chanteperdrix
prev parent reply other threads:[~2007-05-11 13:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-11 13:25 [Xenomai-help] realtime with mx27ads r k
2007-05-11 13:59 ` Gilles Chanteperdrix [this message]
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=464476AE.3060805@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=radokx@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.