Difference between revisions of "BeagleBoard/DSP Clarification"

From eLinux.org
Jump to: navigation, search
(dsp-bridge)
(Update mainly for tidspbridge)
Line 1: Line 1:
 
[[Category: Linux]]
 
[[Category: Linux]]
 
[[Category: OMAP]]
 
[[Category: OMAP]]
This article tries to explain all the different Linux DSP systems for OMAP chips (e.g. used on [[BeagleBoard]]), how they are similar and different.
+
This article tries to explain all the different Linux DSP systems for OMAP3 chips (e.g. used on [[BeagleBoard]]), how they are similar and different.
  
 
== dsp-gateway ==
 
== dsp-gateway ==
Line 12: Line 12:
  
 
There are a few user space applications that use it. Essentially GStreamer Nokia DSP plug-ins and a few others developed by the Maemo community.
 
There are a few user space applications that use it. Essentially GStreamer Nokia DSP plug-ins and a few others developed by the Maemo community.
 +
 +
However, it's mostly unmaintained.
  
 
== dsp-bridge ==
 
== dsp-bridge ==
Line 19: Line 21:
 
It still doesn't meet Linux standards although there has been a lot of progress. Only the ARM side is available as open source; unlike the dsp-gateway, the DSP side is completely closed.
 
It still doesn't meet Linux standards although there has been a lot of progress. Only the ARM side is available as open source; unlike the dsp-gateway, the DSP side is completely closed.
  
There is a disagreement<ref>[http://marc.info/?l=linux-omap&m=120820462123556&w=2 Omapzoom predecessor: "new development happens where there are gaps"]</ref> between TI and the community as how power management must be handled, which created two forks: linux-omap, and omapzoom. However, TI is also working with the community on the linux-omap-pm branch maintained by Kevin Hillman.
+
There has been a lot of work spent into cleaning up the code to live up to linux standards, and currently it's on the staging tree with a strong push to merge it on mainline.
  
It's under heavy code cleanup<ref>[http://marc.info/?l=linux-omap&m=124148814309478&w=2 Dspbridge: Staging TODO List]</ref>; the first dspbridge appearance was in form of tarballs <ref>[http://marc.info/?l=linux-omap&m=120761100810527&w=2 Dspbridge: First appearance]</ref>, some time later it was merged into TI's omapzoom tree<ref>[http://marc.info/?l=linux-omap&m=121340174005072&w=2 Dspbridge: First set of patches]</ref>. Then, Hiroshi DOYU split the driver into a logical set of patches<ref>[http://marc.info/?l=linux-omap&m=121878286205991&w=2 Port TI DSP BRIDGE for a new dedicated branch in linux-omap]</ref> but its inclusion into linux-omap was rejected and it was maintained in www.muru.com<ref>[http://marc.info/?l=linux-omap&m=121879938429430&w=2 muru.com tidspbridge/]</ref> (Tony Lindgren's personal site), from there it jumped into Hiroshi's personal web space <ref>[http://marc.info/?l=linux-omap&m=122188661716962&w=2 Latest dspbridge rebased on l-o and sync'ed with o-z]</ref> and it finally ended in gitorious <ref>[http://marc.info/?l=linux-omap&m=122692901013682&w=2 Dspbridge gitorious repository]</ref>, now Ameya Palande took over.
+
It shares the mailbox code with dsp-gateway, and soon iommu too.
  
There are plans to share the mailbox and iommu that the dsp-gateway uses (which are part of the omap platform) as well as to move parts of it to user-space. However, TI argues the platform code is missing features from tidspbridge.
+
There are more user-space applications using it, including gst-dsp directly, gst-openmax and gst-goo through TI's OpenMAX IL implementation which is also open source.  [http://code.entropywave.com/leonora Leonora] is a project implementing the Theora codec on the DSP, and is a good example of non-trivial code running on the DSP and communicating with a process running on the ARM core.
 
 
There are slightly more user-space applications using it, including gst-openmax and gst-goo through TI's OpenMAX IL implementation which is also open source.  [http://code.entropywave.com/leonora Leonora] is a project implementing the Theora codec on the DSP, and is a good example of non-trivial code running on the DSP and communicating with a process running on the ARM core.
 
  
 
For documentation and project overview, visit: [https://www.omapzoom.org/gf/project/omapbridge/docman/?subdir=3 TI DSP/Bridge project]
 
For documentation and project overview, visit: [https://www.omapzoom.org/gf/project/omapbridge/docman/?subdir=3 TI DSP/Bridge project]
Line 42: Line 42:
  
 
== References ==
 
== References ==
 +
 
<references/>
 
<references/>
  

Revision as of 15:33, 21 July 2010

This article tries to explain all the different Linux DSP systems for OMAP3 chips (e.g. used on BeagleBoard), how they are similar and different.

dsp-gateway

DSP Gateway was developed by Nokia for the Maemo Internet Tablets. It's the first open implementation and currently the more open. The open code consists not only of the Linux kernel side, but also the DSP operating system. Unfortunately the development is essentially halted.

It works on OMAP1 and OMAP2, it's production ready, used on the Nokia N800 and N810, it follows Linux standards and it's close to upstream acceptance. There's code for OMAP3 but it hasn't been thoroughly tested.

It is maintained by Hiroshi DOYU.

There are a few user space applications that use it. Essentially GStreamer Nokia DSP plug-ins and a few others developed by the Maemo community.

However, it's mostly unmaintained.

dsp-bridge

tidspbridge originally developed by TI, after its release in open source it has received many more contributions, primarily from TI and Nokia.

It still doesn't meet Linux standards although there has been a lot of progress. Only the ARM side is available as open source; unlike the dsp-gateway, the DSP side is completely closed.

There has been a lot of work spent into cleaning up the code to live up to linux standards, and currently it's on the staging tree with a strong push to merge it on mainline.

It shares the mailbox code with dsp-gateway, and soon iommu too.

There are more user-space applications using it, including gst-dsp directly, gst-openmax and gst-goo through TI's OpenMAX IL implementation which is also open source. Leonora is a project implementing the Theora codec on the DSP, and is a good example of non-trivial code running on the DSP and communicating with a process running on the ARM core.

For documentation and project overview, visit: TI DSP/Bridge project

dsp-link

A slimmer version of the dsp-bridge, also developed by TI. It supports a wide variety of devices (e.g. DaVinci, OMAP2, OMAP3, and discreet GPP+DSP devices).

The kernel driver doesn't meet the Linux kernel coding conventions. The sources haven't been submitted for review, and it is not currently planned to be merged into upstream kernels.

Codec Engine and DMAI have been built upon it, and there are GStreamer plug-ins provided by TI to use the algorithms.

Unlike the other implementations, it has strong support from the Angstrom distribution precisely because of wider platform support.

See DSPLink articles in Texas Instruments Embedded Processors Wiki, too.

References


Interesting threads