public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Any default audio card driver in U-boot?
@ 2005-08-22 10:15 Martin Krause
  2005-08-22 10:54 ` boku
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Krause @ 2005-08-22 10:15 UTC (permalink / raw)
  To: u-boot

Hi,

u-boot-users-admin at lists.sourceforge.net wrote on Monday, August 22,
2005 5:42 AM: 
> Dear all,
>     I'm searching for some example for audio card driver for U-boot?
> But it seems most drivers in drivers/ are for ethernet card. Can
> anyone tell me where I can find it in u-boot? Thanks a lot!~

We implemented some _very_ basic sound commands (play a beep, play
square wave, play a microsoft .wav file) to test our hardware
with it. Perhaps you will find this usefull. Please look at:

http://source.denx.net/cgi-bin/gitweb.cgi?p=u-boot.git;a=commit;h=6617aae9b9f297c388fc011bdf4eb6c4553339e6

The commands are implemented in board/tqm5200/cmd_stk52xx.c

Regards,
Martin

TQ-Systems GmbH
M?hlstra?e 2, Gut Delling, 82229 Seefeld
Tel. +49 (8153) 93 08-157, Fax +49 (8153) 93 08-7157
martin.krause at tqs.de
www.tq-group.com

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [U-Boot-Users] Any default audio card driver in U-boot?
@ 2005-11-16  7:56 Martin Krause
  0 siblings, 0 replies; 6+ messages in thread
From: Martin Krause @ 2005-11-16  7:56 UTC (permalink / raw)
  To: u-boot

Hi Boku,

boku wrote on Wednesday, November 16, 2005 8:26 AM:
> Dear Martin,
>     Thanks for the information to me. I'd like to ask you further
> about your audio driver. Did you design the driver based on ALSA
> architecture? Or you directly write your driver without it? I met some
> problems while using alsa to build my audio driver for a specific arm
> soc chip. Thanks in advance.

No, we didn't base on ALSA. We only needed a quick hack to test
our audio hardware. For linux audio driver the usage of DMA is a must,
to feed the audio codec continuously with data (any interruption in
the audio stream would be hearable).
Since U-Boot is single-tasking, instead of DMA transfers, a polling
mechanism could be used to feed the audio codec continously with data.
This is much easier to implement - and is the way we did it.

Regards, Martin

> On 8/22/05, Martin Krause <Martin.Krause@tqs.de> wrote:
> > Hi,
> > 
> > u-boot-users-admin at lists.sourceforge.net wrote on Monday, August 22,
> > 2005 5:42 AM:
> > > Dear all,
> > >     I'm searching for some example for audio card driver for
> > > U-boot? But it seems most drivers in drivers/ are for ethernet
> > > card. Can anyone tell me where I can find it in u-boot? Thanks a
> > > lot!~ 
> > 
> > We implemented some _very_ basic sound commands (play a beep, play
> > square wave, play a microsoft .wav file) to test our hardware
> > with it. Perhaps you will find this usefull. Please look at:
> > 
> > http://source.denx.net/cgi-bin/gitweb.cgi?p=u-boot.git;a=commit;h=6617aae9b9f297c388fc011bdf4eb6c4553339e6
> > 
> > The commands are implemented in board/tqm5200/cmd_stk52xx.c

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [U-Boot-Users] Any default audio card driver in U-boot?
@ 2005-08-22  3:42 boku
  2005-08-22  3:49 ` Bryan Wu
  2005-08-22  7:09 ` Wolfgang Denk
  0 siblings, 2 replies; 6+ messages in thread
From: boku @ 2005-08-22  3:42 UTC (permalink / raw)
  To: u-boot

Dear all,
    I'm searching for some example for audio card driver for U-boot?
But it seems most drivers in drivers/ are for ethernet card. Can
anyone tell me where I can find it in u-boot? Thanks a lot!~

Regards,

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

end of thread, other threads:[~2005-11-16  7:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-22 10:15 [U-Boot-Users] Any default audio card driver in U-boot? Martin Krause
2005-08-22 10:54 ` boku
  -- strict thread matches above, loose matches on Subject: below --
2005-11-16  7:56 Martin Krause
2005-08-22  3:42 boku
2005-08-22  3:49 ` Bryan Wu
2005-08-22  7:09 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox