* HELP:porting linux PXA audio driver to RTLinux(RTLinux core driver)
@ 2005-04-09 4:03 nobin matthew
2005-04-09 4:39 ` Lee Revell
2005-04-09 8:26 ` Ian Campbell
0 siblings, 2 replies; 4+ messages in thread
From: nobin matthew @ 2005-04-09 4:03 UTC (permalink / raw)
To: kernelnewbies, linux-arm-kernel, linux-kernel, linux-net
Dear Friends,
I am trying to port Linux PXA audio
driver to RTLinux. I am using pxa-ac7.c and
pxa-audio.c
and eliminated sound_core.c, and i will register two
device /dev/mixer and /dev/dsp to RTLinux kernel.
The real need is, i wants to generate a sin
wave using audio codec. With in 600us DMA controller
should fill the codec FIFO, if that is not met
distortion will happen. I think normal linux
interrupts and Process scheduling may cause some
problems.
In porting it seems difficult to port kernel
scheduling , dynamic memory allocation(for DMA) and
synchronization.
Please help me
Nobin Mathew
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: HELP:porting linux PXA audio driver to RTLinux(RTLinux core driver)
2005-04-09 4:03 HELP:porting linux PXA audio driver to RTLinux(RTLinux core driver) nobin matthew
@ 2005-04-09 4:39 ` Lee Revell
2005-04-09 8:26 ` Ian Campbell
1 sibling, 0 replies; 4+ messages in thread
From: Lee Revell @ 2005-04-09 4:39 UTC (permalink / raw)
To: nobin matthew; +Cc: kernelnewbies, linux-arm-kernel, linux-kernel, linux-net
On Fri, 2005-04-08 at 21:03 -0700, nobin matthew wrote:
> Dear Friends,
>
> I am trying to port Linux PXA audio
> driver to RTLinux. I am using pxa-ac7.c and
> pxa-audio.c
> and eliminated sound_core.c, and i will register two
> device /dev/mixer and /dev/dsp to RTLinux kernel.
>
> The real need is, i wants to generate a sin
> wave using audio codec. With in 600us DMA controller
> should fill the codec FIFO, if that is not met
> distortion will happen. I think normal linux
> interrupts and Process scheduling may cause some
> problems.
>
> In porting it seems difficult to port kernel
> scheduling , dynamic memory allocation(for DMA) and
> synchronization.
This is the exact same question you posted to linux-audio-dev. And
you'll get the same answer here:
Don't waste your time with RTLinux. Use a recent 2.6 kernel with Ingo's
realtime-preempt patches. Configure with PREEMPT_RT. This will provide
deterministic, hard realtime performance for any RT constraint down to
about 50 usecs.
RTLinux can meet a ~15 usec RT constraint, the RT preempt kernel will be
able to do this once the timer ISR is made preemptible again.
RTLinux is an obsolescent product that had its place in the 2.4 era but
is being superseded by a solution that's both technically superior and
100% free software. Real time preemption is the future of hard realtime
on Linux. All the major real time Linux players have recognized this,
even the ones who had competing solutions for 2.4 are porting their work
to the 2.6 RT-preempt framework.
Besides, RTLinux is a commercial product anyway. If this project
requires use of RTLinux for political reasons, call your support rep.
Lee
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: HELP:porting linux PXA audio driver to RTLinux(RTLinux core driver)
2005-04-09 4:03 HELP:porting linux PXA audio driver to RTLinux(RTLinux core driver) nobin matthew
2005-04-09 4:39 ` Lee Revell
@ 2005-04-09 8:26 ` Ian Campbell
1 sibling, 0 replies; 4+ messages in thread
From: Ian Campbell @ 2005-04-09 8:26 UTC (permalink / raw)
To: nobin matthew; +Cc: kernelnewbies, linux-arm-kernel, linux-kernel, linux-net
[-- Attachment #1: Type: text/plain, Size: 451 bytes --]
On Fri, 2005-04-08 at 21:03 -0700, nobin matthew wrote:
> Please help me
It's a little bit rude to blanket CC so many lists with your requests,
and I'm quite sure linux-net has nothing whatsoever to do with audio.
They are also all lists dedicated to the regular version of Linux, not
RTLinux.
You should contact FSM labs for support with RTLinux.
Ian.
--
Ian Campbell
Be braver -- you can't cross a chasm in two small jumps.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: HELP:porting linux PXA audio driver to RTLinux(RTLinux core driver)
@ 2005-04-09 9:57 nitin ahuja
0 siblings, 0 replies; 4+ messages in thread
From: nitin ahuja @ 2005-04-09 9:57 UTC (permalink / raw)
To: nobin_matthew; +Cc: kernelnewbies, linux-arm-kernel, linux-kernel, linux-net
Hi,
You cannot allocate memory in real time threads RTLinux's threads. You have to do it in the init_module function and pass the meory pointer to threads as parameter.
Can you tell exactly what problem are you facing?
niTin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-04-09 9:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-09 4:03 HELP:porting linux PXA audio driver to RTLinux(RTLinux core driver) nobin matthew
2005-04-09 4:39 ` Lee Revell
2005-04-09 8:26 ` Ian Campbell
-- strict thread matches above, loose matches on Subject: below --
2005-04-09 9:57 nitin ahuja
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox