Project

General

Profile

Actions

Feature #37

closed

Integrate DSP support into build

Added by Hammel over 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
linux kernel
Target version:
Start date:
23 Sep 2010
Due date:
% Done:

100%

Estimated time:
Severity:
Medium

Description

DSP provides the hardware accelerated video playback.

See * DSP Howto - describes how to enable Linux drivers for the C64++ DSP:
http://elinux.org/BeagleBoard/DSP_Howto * GStreamer usage with DSP
http://elinux.org/BeagleBoard/gst-dsp * gst-dsp project
http://code.google.com/p/gst-dsp/ * Felipe Contreras: gst-dsp with BeagleBoard demo image (old, but possibly applicable)
http://felipec.wordpress.com/2009/10/13/new-project-gst-dsp-with-beagleboard-demo-image/

Also, review the OMAPedia: http://omapedia.org/wiki/Source_Trees

Info from elinux.org:

Related issues

Blocked by BeagleBox - Bug #93: Buildroot 2011.02 failsClosedHammel30 Mar 2011

Actions
Actions #1

Updated by Hammel about 13 years ago

Some info on how to get it to work under Ubuntu:
http://elinux.org/BeagleBoardUbuntu#DSP

Actions #2

Updated by Hammel about 13 years ago

TI DSP support has been added to Buildroot:
http://git.buildroot.net/buildroot/log/?qt=grep&q=tidsp

It's unclear to me if this means that the support is now in the 2011.02 release (made after those checkins). I'll just have to download that release and check. I'll have to look for three pieces: dsp-tools (under system tools), gst-dsp (under multimedia) and tidsp-binaries (under multimedia).

Actions #3

Updated by Hammel about 13 years ago

The kernel side of the problem appears merged into the upstream kernel for 2.6.38.2. I've built this kernel and tested it with the existing Buildroot 2010.11 and it seems to work just as well as the Arago 2.6.32 kernel. So I made this the default kernel for the kernel.org repo build. This is not the default for the overall build yet because the SGX patches do not build with it.

Assuming a move to the 2.6.38.2 kernel, the next step will be to integrate the user side. These are in Buildroot 2011.02 but that build fails (see FS#93). So I need to fix that first before returning to this issue.

Actions #4

Updated by Hammel about 13 years ago

The 2.6.38.2 kernel does not boot. It's unclear why yet. More research is necessary but that's for a later time (see FS#94).

DSP is integrated into the build via the 2.6.32 Arago kernel and Buildroot 2011.02. These are built and ready to test the DSP support via the gstreamer utilities. They may not work, however, until I figure out why xterm won't launch. These may not be related, but until I can launch xterm I have to launch the video player from the serial console and that may not work either.

Actions #5

Updated by Hammel about 13 years ago

xterm replaced with rxvt that works fine. Ready to test video playback with DSP/gstreamer.

Actions #6

Updated by Hammel about 13 years ago

It turns out the Arago kernel (2.6.32 with linux-omap-psp-2.6.32 patches from Angstrom) does NOT include the DSP bridgedriver. So while the tools are available in the user space (gst w/DSP support including the TI binaries under /lib/dsp), the kernel driver is missing. Note that the mailbox driver is there, but I can't find the bridge driver. Ugh.

So we're back to kernel roulette. My next test is to try the Arago linux-omap3 tree using the "master" branch instead of the branch for 2.6.32. Let's see if we get any further with that.

Actions #7

Updated by Hammel almost 12 years ago

  • Priority changed from Normal to Immediate
Actions #8

Updated by Hammel almost 12 years ago

  • Severity changed from Critical to High
Actions #9

Updated by Hammel almost 12 years ago

  • Status changed from New to In Progress
Actions #10

Updated by Hammel almost 12 years ago

  • Severity changed from High to Medium
Actions #11

Updated by Hammel over 11 years ago

  • Description updated (diff)
Actions #12

Updated by Hammel over 11 years ago

  • % Done changed from 50 to 100

DSP user space utilities, TI binaries and gst support are all included in the current build (which will be checked in tonight). They aren't working completely, but nearly so. See http://redmine.graphics-muse.org/issues/95 for details on debugging playback.

Actions #13

Updated by Hammel over 11 years ago

  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF