Difference between revisions of "BeagleBoard/dsp-tools"

From eLinux.org
Jump to: navigation, search
(initial version)
 
(add "see also" section)
Line 67: Line 67:
  
 
But if you're bold enough and want to compile the socket node by yourself, you can find the source code in http://github.com/felipec/dsp-dummy in the <em>fc-ping</em> branch.
 
But if you're bold enough and want to compile the socket node by yourself, you can find the source code in http://github.com/felipec/dsp-dummy in the <em>fc-ping</em> branch.
 +
 +
== See also ==
 +
 +
* [[BeagleBoard/dsp-tools]]
 +
* [[BeagleBoard/gst-dsp]]
 +
* [[BeagleBoard/gst-openmax]]

Revision as of 18:50, 13 August 2010


Miscellaneous utilities for TI's C64x+ DSP.

These utilities communicate with the DSP through the DSP/BIOS Bridgedriver, and are oriented to test that communication. Some of them are replicas from the TI bridge samples, but without extra dependencies.

Description

dsp-test

Runs simple trivial tests

 Usage: 
   dsp-test [OPTION...]

   -p, --ping                Run the ping test. The default is the DMM test.
   -n, --ntimes <number>     Count of pings to send before stop. The default is 1000

   -s, --size <buffersize>   Specifies the number of data bytes to be sent.  The default is 1024
   -f, --fault               Provokes a MMU fault.
   -w, --write               Writes 1s in the input buffer.

dsp-load

Prints the DSP CPU load and frequency

Usage:
  dsp-load

dsp-probe

Lists the running tasks in the DSP

 Usage:
   dsp-probe

dsp-exec

Loads base images into the DSP

 Usage:
   dsp-exec <imagefile>

Setup

Follow carefully the DSP howto.

Building

As there are no dependencies, you only need to grab and compile the code. So, using your preferred cross compilation environment, checkout and compile the project.

git clone git://github.com/felipec/dsp-tools.git
cd dsp-tools
make
make install DESTDIR=/media/rootfs

If you are using an old version of TI's dspbridge driver, do

make OLD=y

Test Socket Node

In order to run dsp-test you need to install the test.dll64P socket node. You can grab the binary from the firmware branch of the repository.

But if you're bold enough and want to compile the socket node by yourself, you can find the source code in http://github.com/felipec/dsp-dummy in the fc-ping branch.

See also