gst-launch and gstreamer-ti

Hello guys!
I'm working on bringing DSP up on my Beagle. I build rootfs with
OpenEmbedded (Angstrom distribution).
Koen's "dvsdk" recipes are pretty ok, and now I have complete rootfs
with gst-ti, gst-openmax, and dvsdk DSP stuff in place.
Now I want to test TI video sink. I booted the kernel with bootargs +=
"mem=88M", ran the following script:

root@beagleboard:/gui# cat /
modprobe cmemk phys_start=0x85800000 phys_end=0x86800000
modprobe dsplinkk
rm -f /dev/dsplink
mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0
modprobe lpm_omap3530
modprobe sdmak

and got the following output:

root@beagleboard:/gui# /
[ 2259.595611] CMEMK module: built on Jun 26 2009 at 12:08:45
[ 2259.608367] Reference Linux version 2.6.29
[ 2259.619415] File
[ 2259.654602] ioremap_nocache(0x85800000, 16777216)=0xc7000000
[ 2259.667846] allocated heap buffer 0xc7000000 of size 0x522000
[ 2259.680877] cmem initialized 6 pools between 0x85800000 and 0x86800000
[ 2259.777862] DSPLINK Module (1.61.03) created on Date: Jun 26 2009
Time: 17:39:24
[ 2259.955139] SDMAK module: built on Jun 25 2009 at 11:18:16
[ 2259.968139] Reference Linux version 2.6.29
[ 2259.979461] File

So I think all works as expected.

I initialized fb1 with 'echo 4000000 >

Then I run gst-launch:

root@beagleboard:/gstreamer_demo/omap3530# gst-launch videotestsrc !
TIDmaiVideoSink displayStd=fbdev displayDevice=/dev/fb1 videoStd=VGA
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
[ 5454.479095] omapdss DISPC error: VID1_FIFO_UNDERFLOW, disabling VID1
[ 5454.573852] omapdss DISPC error: SYNC_LOST, disabling LCD
New clock: GstSystemClock
[ 5454.682830] clock: clksel_round_rate_div: dpll4_m4_ck target_rate 48000000
[ 5454.696624] clock: new_div = 9, new_rate = 48000000

...LCD DVI monitor reinitialized, but no image on the screen. Ctrl+C...

Caught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 9036346428 ns.
Setting pipeline to PA[ 5463.632720] CMEMK Error: FREE: Not a
registered user of physical buffer 0x85d22000
USED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
CMEM Error: free: failed to free 0x416c2000
FREEING pipeline ...

Any suggestions?

Looks like you have not allocated memory for fb1 (or fb2) video
planes. IIRC there is a sysfs method of doing this. But i normally
use bootargs to reserve memory. This bootargs should work okay

bootargs console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait
omapfb.mode="dvi:1280x1024MR-16@60" vram=12M
omapfb.vram="1:4M,2:4M,3:4M" omapdss.def_disp=dvi mem=80M

Boot your kernel with above bootargs and it should work just fine.


Is there a complete instruction or howto page to setup DSP?