From: Stefan Roese <stefan.roese@gmail.com>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] [PATCH v2] mpc5200: Add RTDM LPBFIFO driver and demo RTDM FPGA device driver
Date: Fri, 23 Nov 2012 08:18:24 +0100 [thread overview]
Message-ID: <50AF2340.5020501@gmail.com> (raw)
In-Reply-To: <50AE83D1.8000402@web.de>
Hi Jan,
On 11/22/2012 08:58 PM, Jan Kiszka wrote:
<big snip>
>>>> @@ -0,0 +1,35 @@
>>>> +/*
>>>> + * Xenomai RTDM device driver for A3M071 FPGA with interrupt support
>>>
>>> Does this driver depend on a specific programming of that FPGA?
>>
>> Yes. As mentioned in the commit text, this is a specific custom design
>> with a "specific" FPGA image. Not really usable for most Xenomai
>> developers/users as is. But I think it might be a good example on how to
>> implement such a thing. And implementing the RT DMA framework for the
>> MPC5200.
>
> So, basically no one will be able to run your special test case.
That is not entirely correct. This driver will run on the board with
this special FPGA of course (a3m071, mpc5200 based). Linux mainline
support is also pending for it (will most likely hit v3.8).
> Is
> there any other use case, even an artificial one, for DMA on the MPC5200
> that can be run without the special FPGA setup? Otherwise, it might be
> more helpful to provide a very basic example for the RT DMA API usage as
> pseudo code.
I always find a real-world example better than "pseudo code". Even if it
can't be used as-is in the most systems. Such a real-world RTDM device
driver is proven to be working (not only compile tested).
Anyways, I'm going to send a new patch version today. You (and/or
others) may decide if its worth adding this driver in the xenomai code
base. Again, it has often proven to be good to include special cases
from my point of view. Others can only benefit from it.
Thanks,
Stefan
next prev parent reply other threads:[~2012-11-23 7:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-21 7:10 [Xenomai] [PATCH v2] mpc5200: Add RTDM LPBFIFO driver and demo RTDM FPGA device driver stefan.roese
2012-11-21 8:24 ` Jan Kiszka
2012-11-21 9:27 ` Stefan Roese
2012-11-22 19:58 ` Jan Kiszka
2012-11-23 7:18 ` Stefan Roese [this message]
2012-11-21 9:09 ` Wolfgang Denk
2012-11-21 9:28 ` Stefan Roese
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=50AF2340.5020501@gmail.com \
--to=stefan.roese@gmail.com \
--cc=jan.kiszka@web.de \
--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.