DSP + Kernel 2.6.39

Hi,

My config is :

root@g-bill:~# uname -a
Linux g-bill 2.6.39-x1 #1 SMP Thu Sep 29 15:41:19 CEST 2011 armv7l GNU/
Linux

and .config :

CONFIG_TIDSPBRIDGE=m
CONFIG_TIDSPBRIDGE_MEMPOOL_SIZE=0x600000
# CONFIG_TIDSPBRIDGE_DEBUG is not set
CONFIG_TIDSPBRIDGE_RECOVERY=y
# CONFIG_TIDSPBRIDGE_CACHE_LINE_CHECK is not set
# CONFIG_TIDSPBRIDGE_WDT3 is not set
# CONFIG_TIDSPBRIDGE_NTFY_PWRERR is not set
# CONFIG_TIDSPBRIDGE_BACKTRACE is not set

So, i would like to use DSP but i have problems.

I installed the binaries files, dsp-tools 2.0 and gst-dsp 0.9.

When i launch dsp-test i have :

root@g-bill:~# dsp-test
error: create_node: dsp node allocate failed
error: main: dsp node creation failed

I don't know why....

root@g-bill:~# dsp-load
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0

root@g-bill:~# dsp-probe
error: do_list: failed to list active nodes
device: /codec
device: /mixer
device: /acdn
device: /eteedn
device: /mmmdn
task: DASFTASK_TI
task: SYNCCLOCK_TI
task: dummy
dais socket: H264VDSOCKET_TI

root@g-bill:~#

And when i want to launch a movie i have :

root@g-bill:~# GST_DEBUG="2" DISPLAY=:0 gst-launch-0.10 filesrc
location=Desktop/preset_HP6_480_cif_baseline.mp4 !
ffdemux_mov_mp4_m4a_3gp_3g2_mj2 ! dspvdec ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
create_node: dsp node allocate failed
0:00:00.420079660 2104 0x19c1268 ERROR dsp
gstdspvdec.c:169:create_node:<dspvdec0> dsp node allocate failed
init_node: dsp node creation failed
0:00:00.422582132 2104 0x19c1268 ERROR dsp
gstdspbase.c:1065:init_node:<dspvdec0> dsp node creation failed
gstdsp_send_codec_data: couldn't start node
0:00:00.424748907 2104 0x19c1268 ERROR dsp
gstdspbase.c:1085:gstdsp_send_codec_data:<dspvdec0> couldn't start
node
0:00:00.425694964 2104 0x19c1268 WARN ffmpeg
gstffmpegdemux.c:
1467:gst_ffmpegdemux_loop:<ffdemux_mov_mp4_m4a_3gp_3g2_mj20>
stream_movi flow: not-negotiated / not-negotiated
0:00:00.426488430 2104 0x19c1268 WARN ffmpeg
gstffmpegdemux.c:
1516:gst_ffmpegdemux_loop:<ffdemux_mov_mp4_m4a_3gp_3g2_mj20> error:
Internal data stream error.
0:00:00.427129307 2104 0x19c1268 WARN ffmpeg
gstffmpegdemux.c:
1516:gst_ffmpegdemux_loop:<ffdemux_mov_mp4_m4a_3gp_3g2_mj20> error:
streaming stopped, reason not-negotiated
ERROR: from element /GstPipeline:pipeline0/
ffdemux_mov_mp4_m4a_3gp_3g2_mj2:ffdemux_mov_mp4_m4a_3gp_3g2_mj20:
Internal data stream error.
Additional debug info:
gstffmpegdemux.c(1516): gst_ffmpegdemux_loop (): /
GstPipeline:pipeline0/
ffdemux_mov_mp4_m4a_3gp_3g2_mj2:ffdemux_mov_mp4_m4a_3gp_3g2_mj20:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

Why i have this problems? Kernel 2.6.39 can use DSP ?

Cheers

Laurent

Hi,

My config is :

root@g-bill:~# uname -a
Linux g-bill 2.6.39-x1 #1 SMP Thu Sep 29 15:41:19 CEST 2011 armv7l GNU/
Linux

and .config :

CONFIG_TIDSPBRIDGE=m
CONFIG_TIDSPBRIDGE_MEMPOOL_SIZE=0x600000
# CONFIG_TIDSPBRIDGE_DEBUG is not set
CONFIG_TIDSPBRIDGE_RECOVERY=y
# CONFIG_TIDSPBRIDGE_CACHE_LINE_CHECK is not set
# CONFIG_TIDSPBRIDGE_WDT3 is not set
# CONFIG_TIDSPBRIDGE_NTFY_PWRERR is not set
# CONFIG_TIDSPBRIDGE_BACKTRACE is not set

So, i would like to use DSP but i have problems.

I installed the binaries files, dsp-tools 2.0 and gst-dsp 0.9.

When i launch dsp-test i have :

root@g-bill:~# dsp-test
error: create_node: dsp node allocate failed
error: main: dsp node creation failed

I don't know why....

root@g-bill:~# dsp-load
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0

root@g-bill:~# dsp-probe
error: do_list: failed to list active nodes
device: /codec
device: /mixer
device: /acdn
device: /eteedn
device: /mmmdn
task: DASFTASK_TI
task: SYNCCLOCK_TI
task: dummy
dais socket: H264VDSOCKET_TI

root@g-bill:~#

And when i want to launch a movie i have :

root@g-bill:~# GST_DEBUG="2" DISPLAY=:0 gst-launch-0.10 filesrc
location=Desktop/preset_HP6_480_cif_baseline.mp4 !
ffdemux_mov_mp4_m4a_3gp_3g2_mj2 ! dspvdec ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
create_node: dsp node allocate failed
0:00:00.420079660 2104 0x19c1268 ERROR dsp
gstdspvdec.c:169:create_node:<dspvdec0> dsp node allocate failed
init_node: dsp node creation failed
0:00:00.422582132 2104 0x19c1268 ERROR dsp
gstdspbase.c:1065:init_node:<dspvdec0> dsp node creation failed
gstdsp_send_codec_data: couldn't start node
0:00:00.424748907 2104 0x19c1268 ERROR dsp
gstdspbase.c:1085:gstdsp_send_codec_data:<dspvdec0> couldn't start
node
0:00:00.425694964 2104 0x19c1268 WARN ffmpeg
gstffmpegdemux.c:
1467:gst_ffmpegdemux_loop:<ffdemux_mov_mp4_m4a_3gp_3g2_mj20>
stream_movi flow: not-negotiated / not-negotiated
0:00:00.426488430 2104 0x19c1268 WARN ffmpeg
gstffmpegdemux.c:
1516:gst_ffmpegdemux_loop:<ffdemux_mov_mp4_m4a_3gp_3g2_mj20> error:
Internal data stream error.
0:00:00.427129307 2104 0x19c1268 WARN ffmpeg
gstffmpegdemux.c:
1516:gst_ffmpegdemux_loop:<ffdemux_mov_mp4_m4a_3gp_3g2_mj20> error:
streaming stopped, reason not-negotiated
ERROR: from element /GstPipeline:pipeline0/
ffdemux_mov_mp4_m4a_3gp_3g2_mj2:ffdemux_mov_mp4_m4a_3gp_3g2_mj20:
Internal data stream error.
Additional debug info:
gstffmpegdemux.c(1516): gst_ffmpegdemux_loop (): /
GstPipeline:pipeline0/
ffdemux_mov_mp4_m4a_3gp_3g2_mj2:ffdemux_mov_mp4_m4a_3gp_3g2_mj20:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

Why i have this problems? Kernel 2.6.39 can use DSP ?

I am new into this myself but from my understanding dsp-link uses
kernel argumetnts for memory assignment.
I am eager to learn about other options. What makes it more confusing
is other options such as CONFIG_OMAP_DSP in other kernel versions.
That would be great if someone can shed some light into this.
BTW my openembedded does not have 2.6.39, did you pull it manually from omap?

Cheers

Laurent

--
You received this message because you are subscribed to the Google Groups "Beagle Board" group.
To post to this group, send email to beagleboard@googlegroups.com.
To unsubscribe from this group, send email to beagleboard+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.

dashesy

Hi,

My config is :

root@g-bill:~# uname -a
Linux g-bill 2.6.39-x1 #1 SMP Thu Sep 29 15:41:19 CEST 2011 armv7l GNU/
Linux

and .config :

CONFIG_TIDSPBRIDGE=m
CONFIG_TIDSPBRIDGE_MEMPOOL_SIZE=0x600000
# CONFIG_TIDSPBRIDGE_DEBUG is not set
CONFIG_TIDSPBRIDGE_RECOVERY=y
# CONFIG_TIDSPBRIDGE_CACHE_LINE_CHECK is not set
# CONFIG_TIDSPBRIDGE_WDT3 is not set
# CONFIG_TIDSPBRIDGE_NTFY_PWRERR is not set
# CONFIG_TIDSPBRIDGE_BACKTRACE is not set

Just for reference, i've had good luck with:

CONFIG_TIDSPBRIDGE=m
CONFIG_TIDSPBRIDGE_MEMPOOL_SIZE=0x600000
# CONFIG_TIDSPBRIDGE_DEBUG is not set
CONFIG_TIDSPBRIDGE_RECOVERY=y
# CONFIG_TIDSPBRIDGE_CACHE_LINE_CHECK is not set
CONFIG_TIDSPBRIDGE_WDT3=y
CONFIG_TIDSPBRIDGE_WDT_TIMEOUT=5
# CONFIG_TIDSPBRIDGE_NTFY_PWRERR is not set
# CONFIG_TIDSPBRIDGE_BACKTRACE is not set

So, i would like to use DSP but i have problems.

I installed the binaries files, dsp-tools 2.0 and gst-dsp 0.9.

When i launch dsp-test i have :

root@g-bill:~# dsp-test
error: create_node: dsp node allocate failed
error: main: dsp node creation failed

do you have /lib/dsp/test.dll64P

You can get it from:
https://github.com/felipec/dsp-tools/raw/firmware/firmware/test.dll64P

If you don't..

I don't know why....

root@g-bill:~# dsp-load
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0
load: 0, freq: 0

root@g-bill:~# dsp-probe
error: do_list: failed to list active nodes
device: /codec
device: /mixer
device: /acdn
device: /eteedn
device: /mmmdn
task: DASFTASK_TI
task: SYNCCLOCK_TI
task: dummy
dais socket: H264VDSOCKET_TI

root@g-bill:~#

And when i want to launch a movie i have :

root@g-bill:~# GST_DEBUG="2" DISPLAY=:0 gst-launch-0.10 filesrc
location=Desktop/preset_HP6_480_cif_baseline.mp4 !
ffdemux_mov_mp4_m4a_3gp_3g2_mj2 ! dspvdec ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
create_node: dsp node allocate failed
0:00:00.420079660 2104 0x19c1268 ERROR dsp
gstdspvdec.c:169:create_node:<dspvdec0> dsp node allocate failed
init_node: dsp node creation failed
0:00:00.422582132 2104 0x19c1268 ERROR dsp
gstdspbase.c:1065:init_node:<dspvdec0> dsp node creation failed
gstdsp_send_codec_data: couldn't start node
0:00:00.424748907 2104 0x19c1268 ERROR dsp
gstdspbase.c:1085:gstdsp_send_codec_data:<dspvdec0> couldn't start
node
0:00:00.425694964 2104 0x19c1268 WARN ffmpeg
gstffmpegdemux.c:
1467:gst_ffmpegdemux_loop:<ffdemux_mov_mp4_m4a_3gp_3g2_mj20>
stream_movi flow: not-negotiated / not-negotiated
0:00:00.426488430 2104 0x19c1268 WARN ffmpeg
gstffmpegdemux.c:
1516:gst_ffmpegdemux_loop:<ffdemux_mov_mp4_m4a_3gp_3g2_mj20> error:
Internal data stream error.
0:00:00.427129307 2104 0x19c1268 WARN ffmpeg
gstffmpegdemux.c:
1516:gst_ffmpegdemux_loop:<ffdemux_mov_mp4_m4a_3gp_3g2_mj20> error:
streaming stopped, reason not-negotiated
ERROR: from element /GstPipeline:pipeline0/
ffdemux_mov_mp4_m4a_3gp_3g2_mj2:ffdemux_mov_mp4_m4a_3gp_3g2_mj20:
Internal data stream error.
Additional debug info:
gstffmpegdemux.c(1516): gst_ffmpegdemux_loop (): /
GstPipeline:pipeline0/
ffdemux_mov_mp4_m4a_3gp_3g2_mj2:ffdemux_mov_mp4_m4a_3gp_3g2_mj20:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

Why i have this problems? Kernel 2.6.39 can use DSP ?

PS, incase it helps, here's my script to install all the dsp tools on
the beagle:

https://github.com/RobertCNelson/stable-kernel/blob/master/create_dsp_package.sh

Regards,

Ok, thanks for your answers, i will test it :wink:

orange_logo.gif

ampersand.gif