All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] dma in rtdm
@ 2006-07-24 13:16 Harkema, G.A.
  2006-07-25  6:18 ` Jan Kiszka
  0 siblings, 1 reply; 12+ messages in thread
From: Harkema, G.A. @ 2006-07-24 13:16 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 1122 bytes --]

Hallo,

 

We are currently trying to develop a realtime usb2.0 stack based on
xenomai rtdm. In non-realtime mode we use first the kmalloc() function
to allocate a dma buffer and use the dma_map_single() function to get
the bus address for the dma engine of the ehci hostcontroller. This
works fine. For use in a realtime context we replaced the kmalloc()
function by the rtdm_malloc() function. In our logs we see that the data
transfer take place, but the dma buffer was not filled with the
(received)data. We don't know where the data in the memory is stored. Is
this the right way for using dma in realtime context ? I guess not., but
what is the right way. Who can help us with this problem.

 

Thanks.

 

Kindest Regards,

 

Gerard

 

G.A. Harkema

Senior Hardware & Software Engineer

Eindhoven University of Technology

/department of physics

Measurement and Computer Science

Den Dolech 2

P.O.Box 513

5600 MB  Eindhoven

The Netherlands

tel: +31 40 247 4607

fax: +31 40 247 2144

www.tuedacs.nl

P Before you print think about the ENVIRONMENT

 


[-- Attachment #2: Type: text/html, Size: 8044 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-07-27 12:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-24 13:16 [Xenomai-help] dma in rtdm Harkema, G.A.
2006-07-25  6:18 ` Jan Kiszka
2006-07-25 16:06   ` [Xenomai-help] Xenomai task (beginner) GUARDIOLA-FALCO Sebastien 204282
2006-07-25 17:23     ` Gilles Chanteperdrix
2006-07-26  6:14       ` GUARDIOLA-FALCO Sebastien 204282
2006-07-26 12:05         ` Gilles Chanteperdrix
2006-07-26 13:48           ` GUARDIOLA-FALCO Sebastien 204282
2006-07-27 12:07             ` Gilles Chanteperdrix
2006-07-25 17:41     ` Jan Kiszka
2006-07-26 14:39       ` Ulrich Schwab
2006-07-26 14:58         ` GUARDIOLA-FALCO Sebastien 204282
2006-07-26 15:02         ` Jan Kiszka

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.