[maemo-developers] ALSA sound driver for Nokia 770 and DSP programming

From: Siarhei Siamashka siarhei.siamashka at gmail.com
Date: Sat Sep 27 03:23:33 EEST 2008
On Friday 26 September 2008, Simon Pickering wrote:
> > > Recently I have been trying to make it running and seems
> > > like we have a very
> > > good chance to have it working nicely. It is also
> > > interesting, that the
> > > linux-omap guys seem to be developing a new driver [3] for
> > > AIC23 which may
> > > eventually become a better alternative.
> > > Very nice!
>
> Good stuff Siarhei :)
>
> Have you built a replacement DSP-kernel yet?

Yes, sure. You can easily build DSP kernel and demo_console DSP task from
the sources in dspgw-3.3-dsp.tar.bz2

All that is need to done is to run 'make' in 'tokliBIOS' (*), 'tinkernel' and 
'apps/demo_mod' subdirectories. You will get 'tinkernel.out' and 
'demo_console.o' binary files which are DSP kernel and DSP task respectively.
After that, have a look into dspgw-3.3-dynamic-demo-omap1.tar.bz2 archive for
the target directory layout and README file with the instructions how to test
it. Of course you can replace 'tinkernel.out' and 'demo_console.o' with the
files that you have compiled yourself. ARM side binaries also need to be
recompiled before you can run them (they were compiled for OABI and will
not run out of the box), but that's a minor issue. Only 'dsp_dld' compilation
may cause problems because it needs a more up to date version of flex than the
one that is part of OS2006 SDK.

(*) Actually you need to apply a patch to 'tokliBIOScfg.tcf' if you want to
use the generated 'tokliBIOScfg.cmd' instead of tinkernelcfg.cmd'. That was
actually the hardest part.

Now it is possible to experiment with configuring DSP kernel by changing
.tcf file and enabling different kernel features. Documentation which explains
its syntax is available in free DSP toolchain.

So DSP programming for 770 and other OMAP1 based devices should be perfectly
fine. But I can't say the same for N8x0 at the moment, because free DSP
toolchain from TI does not support compilation of DSP kernel for OMAP2
according to dspgateway documentation.

-- 
Best regards,
Siarhei Siamashka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dspgw-toklibioscfg-tweak.diff
Type: text/x-diff
Size: 410 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20080927/5885d33c/attachment.diff 
More information about the maemo-developers mailing list