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
--- dspgw-3.3-dsp.orig/tokliBIOS/tokliBIOScfg.tcf	2005-06-09 07:28:21.000000000 +0300
+++ dspgw-3.3-dsp/tokliBIOS/tokliBIOScfg.tcf	2008-09-27 03:00:40.000000000 +0300
@@ -47,6 +47,10 @@
 bios.MEM.MALLOCSEG = prog.get("DARAM");
 bios.MEM.BIOSOBJSEG = prog.get("DARAM");
 
+var extmem = bios.MEM.create("EXTMEM");
+extmem.base = 0x14000;
+extmem.len = 0x1000;
+extmem.createHeap = false;
 
 /*
  * CLK
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to