I have saw your thread about how to enable DSP of beagleboard, did you get successful in this process? The thread is at:
6) When I excute bitbake codec_engine, I got these errors:DEBUG: Executing task do_fetchNOTE: package ti-codec-engine-221-r21: task do_fetch: started--2009-04-07 16:37:32-- http://install.tarball.in.source.dir/codec_engine_2_21.tar.gzResolving install.tarball.in.source.dir... failed: Name or service not known.wget: unable to resolve host address `install.tarball.in.source.dir'--2009-04-07 16:37:32-- http://www.angstrom-distribution.org/unstable/sources/codec_engine_2_21.tar.gzResolving www.angstrom-distribution.org... 85.214.40.226Connecting to www.angstrom-distribution.org|85.214.40.226|:80... connected.HTTP request sent, awaiting response... 404 Not Found2009-04-07 16:37:37 ERROR 404: Not Found.NOTE: Task failed: Fetch failed: http://install.tarball.in.source.dir/codec_engine_2_21.tar.gzNOTE: package ti-codec-engine-221-r21: task do_fetch: failedERROR: TaskFailed event exception, abortingIt indicate that the download codec_engine_2_21.tar.gz process is failed. But I download it manually, and put it at OE download directory.
Hi, Diego dompe
I have saw your thread about how to enable DSP of beagleboard, did you get successful in this process? The thread is at:
https://gstreamer.ti.com/gf/project/gstreamer_ti/wiki/?pagename=BuildingWithAngstrom
and I remain to have some questions:
first, let me descript my process to you, please.
1)my OE environment is already been set up on my linux pc.
2)download bios_5_33_02, install it on $HOME/TI/bios_5_33_02
3)download xdctools_setuplinux_3_10_03, install it on $HOME/TI/xdctools_3_10_03
4)download codec_engine_2_21.tar.gz, and then copy it to OE download directory.
But, when I am executing this: md5sum $OE_HOME/tmp/downloads/codec_engine_2_21.tar.gz $OE_HOME/tmp/downloads/codec_engine_2_21.tar.gz.md5sum,
An error is shown out as below:
6cacb7db6eb61c64395be4ddc737095d codec_engine_2_12.tar.gz
Md5sum: codec_engine_2_21.tar.gz.md5: No such file or directory.
I don’t pay attention to it, since I ignored it, and go on next step.
5) set up OE recipes of dsplink in, $OE_HOME/openebedded/recipes/dsplink/ti-paths.inc as below(all of these have been installed on my linux pc):
# Path to the dir where the TI tools are unpacked
TITOOLSDIR ?= "$HOME/TI"
# Path under TITOOLSDIR where dspbios is unpacked
TIBIOSDIR ?= "$HOME/TI/bios_5_33_02"
TIXDCTOOLSDIR ?= "${TITOOLSDIR}/xdctools_3_10_03"
# Path under TITOOLSDIR where the dsp toolchain is unpacked
TICGTOOLSDIR ?= "$HOME/TI/cg6x_6_0_16"
6) When I excute bitbake codec_engine, I got these errors:
DEBUG: Executing task do_fetch
NOTE: package ti-codec-engine-221-r21: task do_fetch: started
NOTE: fetch http://install.tarball.in.source.dir/codec_engine_2_21.tar.gz
--2009-04-07 16:37:32-- http://install.tarball.in.source.dir/codec_engine_2_21.tar.gz
Resolving install.tarball.in.source.dir... failed: Name or service not known.
wget: unable to resolve host address `install.tarball.in.source.dir'
NOTE: fetch http://www.angstrom-distribution.org/unstable/sources/codec_engine_2_21.tar.gz
--2009-04-07 16:37:32-- http://www.angstrom-distribution.org/unstable/sources/codec_engine_2_21.tar.gz
Resolving www.angstrom-distribution.org... 85.214.40.226
Connecting to www.angstrom-distribution.org|85.214.40.226|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2009-04-07 16:37:37 ERROR 404: Not Found.
NOTE: Task failed: Fetch failed: http://install.tarball.in.source.dir/codec_engine_2_21.tar.gz
NOTE: package ti-codec-engine-221-r21: task do_fetch: failed
ERROR: TaskFailed event exception, aborting
It indicate that the download codec_engine_2_21.tar.gz process is failed. But I download it manually, and put it at OE download directory.
Any help is highly appreciated.
Thank in advance
/favor
Do you know
http://elinux.org/U-boot_musb_gadget_support
?
In case you use Rev C with preinstalled U-Boot from
http://code.google.com/p/beagleboard/wiki/BeagleboardRevCValidation
I'm not sure what's already done there, though. But above article
should show you the basics.
Best regards
Dirk
Hi,
I follow this page https://omapzoom.org/gf/project/gstreamer_ti/scmsvn/?action=browse&path=%2Ftrunk%2Fgstreamer_ti%2FREADME.TXT&view=markup to build gstreamer_ti
In the beginning, it’s ok. But when it reached to build libmad package, the error comes out like below.
Could you give me some suggestion, please?
cc1: error: unrecognized command line option "-fforce-mem"
make[7]: *** [version.lo] Error 1
make[7]: Leaving directory `/home/user/source/gstreamer_ti/opensource_build/libmad-0.15.1b'
make[6]: *** [install-recursive] Error 1
make[6]: Leaving directory `/home/user/source/gstreamer_ti/opensource_build/libmad-0.15.1b'
make[5]: *** [install] Error 2
make[5]: Leaving directory `/home/user/source/gstreamer_ti/opensource_build/libmad-0.15.1b'
make[4]: *** [mad.build] Error 2
make[4]: Leaving directory `/home/user/source/gstreamer_ti/opensource_build'
make[3]: *** [base] Error 2
make[3]: Leaving directory `/home/user/source/gstreamer_ti/opensource_build'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/user/source/gstreamer_ti/opensource_build'
make[1]: *** [opensource_build] Error 2
make[1]: Leaving directory `/home/user/source/gstreamer_ti'
make: *** [all] Error 2
thank you.
/favor
These days I am working on dsplink/gstreamer, I just have dsplink
worked, also, I have already compiled the gstreamer_ti plugin and
Ti-code-engine worked as well.
I load dsplink module as below, I think it had been loaded successfully:
root@beagleboard:~#
/usr/share/ti-codec-engine/loadmodules-ti-codec-engine-apps.sh
You have 60324kB total memory for Linux
ioremap_nocache(0x85000000, 16777216)=0xc7000000
allocated heap buffer 0xc7000000 of size 0xea000
cmem initialized 7 pools between 0x85000000 and 0x86000000
DSPLINK Module (1.60) created on Date: Apr 8 2009 Time: 10:39:08
I can do some dsplink test ( it works), I have the lpm modules
work as well, for example:
root@beagleboard:/usr/share/dspsample# ./lpmON.x470uC
==== LPM ON Test ====
app: LPM_open
app: LPM_set(LPM_CTRL_REFCOUNTOVR)
app: LPM_on
app: LPM_close
==== All Done ====
root@beagleboard:/usr/share/dspsample# ./lpmOFF.x470uC
==== LPM OFF Test ====
app: LPM_open
app: LPM_set(LPM_CTRL_REFCOUNTOVR)
app: LPM_off
app: LPM_close
==== All Done ====
root@beagleboard:/usr/share/ti-dsplink# ./messagegpp message.out 10000
this works well with some normal messages output.
when I am uising gst-inspect command like below, I got these gst
elements. As we can see, I got gstreamer-ti plugin.
root@beagleboard:~/gstreamer_demo/omap3530# gst-inspect | grep TI
(gst-inspect-0.10:1663): GStreamer-WARNING **: Failed to load plugin '/usr/lib/g
streamer-0.10/libgstsubparse.so': /usr/lib/gstreamer-0.10/libgstsubparse.so: und
efined symbol: parse_sami
TICodecPlugin: TIDmaiVideoSink: TI DMAI Video Sink
TICodecPlugin: TIAuddec1: TI xDM 1.x Audio Decoder
TICodecPlugin: TIAuddec: TI xDM 0.9 Audio Decoder
TICodecPlugin: TIImgdec: TI xDM 0.9 Image Decoder
TICodecPlugin: TIImgdec1: TI xDM 1.0 Image Decoder
TICodecPlugin: TIImgenc: TI xDM 0.9 Image Encoder
TICodecPlugin: TIImgenc1: TI xDM 1.0 Image Encoder
TICodecPlugin: TIViddec2: TI xDM 1.2 Video Decoder
TICodecPlugin: TIViddec: TI xDM 0.9 Video Decoder
TICodecPlugin: TIVidenc: TI xDM 0.9 Video Encoder
TICodecPlugin: TIVidenc1: TI xDM 1.x Video Encoder
ffmpeg: ffdec_vcr1: FFMPEG ATI VCR1 decoder
however, those all above work well, I still cannot get
gstreamer/dsplink worked together, how and why? any ideas?
First test ~~~~~~~
root@beagleboard:~/mediaFile# gst-launch filesrc
location=/home/root/mediaFile/3.m4v ! qtdemux name=demux
demux.video_00 ! TIViddec2 ! TIDmaiVideoSink
(gst-launch-0.10:1699): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libgstsubparse.so':
/usr/lib/gstreamer-0.10/libgstsubparse.so: undefined symbol:
parse_sami
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ..
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 31982425 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...
Second test~~~~~~~
root@beagleboard:~/mediaFile# gst-launch -v filesrc
location=/home/root/mediaFile/3.m4v ! qtdemux name=demux
demux.video_00 ! TIViddec2 ! xvimagesink
(gst-launch-0.10:1714): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libgstsubparse.so':
/usr/lib/gstreamer-0.10/libgstsubparse.so: undefined symbol:
parse_sami
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element
/GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Could not
initialise Xv output
Additional debug info:
xvimagesink.c(1668): gst_xvimagesink_xcontext_get (): /GstPipeline:pipeline0/Gst
XvImageSink:xvimagesink0:
Could not open display
Setting pipeline to NULL ...
FREEING pipeline ...
I didn’t get any video output on the screen. how should I do to test
if gstreamer/dsplink works? What about above tests errors?
thanks for your attention, any help is welcome.
--
~~~~~~~~~~~~~~~~~
/favor
~~~~~~~~~~~~~~~~~
Could you try to rerun those commands but using
/usr/share/ti-codec-engine as workdir ?
There was a bug in gstreamer that required that, it is said it was
corrected but maybe your version still has it.
dsnk
I want to tell you the result of the dsplink test today, and I would
like you give me some proposals.
1) I changed the bootargs, added the mem=88M.
I have see "New beagleboard demo image, now with 100% more DSP " at
google groups mailing list.
https://groups.google.com/group/beagleboard/browse_thread/thread/a88dccbb7acc06c?pli=1
I set the loadmodule.sh file as follow:
modprobe cmemk phys_start=0x85800000 phys_end=0x86800000
pools=20x4096,8x131072,4x829440,1x5250000,1x1429440,1x256000
# insert DSP/BIOS Link driver
modprobe dsplinkk
# make /dev/dsplink
rm -f /dev/dsplink
mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0
# insert Local Power Manager driver
modprobe lpm_omap3530
# insert sdma module
modprobe sdmak
2) load modules ok
root@beagleboard:~# ./loadmodule.sh
ioremap_nocache(0x85800000, 16777216)=0xc8000000
allocated heap buffer 0xc8000000 of size 0x522000
cmem initialized 6 pools between 0x85800000 and 0x86800000
DSPLINK Module (1.60) created on Date: Apr 8 2009 Time: 10:39:08
3) the first time, I use this command for playing mp4 video. this
time, an error is happened without any video display, but I could hear
its sound. with the same command, the second time, it can play this
mp4 video as normal, but with some "mmcblk0: error -84 transferring
data" errors.
except for that, it didn't play to its end of the video, and be hanged
after many(maybe fewer than 60 seconds) seconds. the video playing
don't go on, and stop at any point. I am confused why is this
happened.
I have read that thread, but still didn't know how to deal with this.
it seems that the gst-ti plugin and its TI codec combos is not robust
enough, is it? maybe I am wrong, please correct me.
root@beagleboard:/usr/share/ti-codec-combos# gst-launch --gst-debug=TI*:2 filesr
c location=/home/root/mediaFile/4.mp4 ! typefind ! qtdemux name=demux demux.aud
io_00 ! queue max-size-buffers=1800 max-size-time=0 max-size-bytes=0 ! typefind
! TIAuddec1 ! alsasink demux.video_00 ! typefind ! TIViddec2 ! TIDmaiVideoSink v
ideoStd=D1_NTSC displayDevice=/dev/fb2 displayStd=fbdev
0:00:02.932525634 1556 0x1b17d0 ERROR TIDmaiVideoSink gsttidmaivideosink
.c:1077:gst_tidmaivideosink_init_display: Failed to open display device
0:00:02.935852049 1556 0x1b17d0 ERROR TIDmaiVideoSink gsttidmaivideosink
.c:1249:gst_tidmaivideosink_render: Unable to initialize display
New clock: GstAudioSinkClock
WARNING: from element /GstPipeline:pipeline0: Internal GStreamer error: clock pr
oblem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GSt
reamer.
Additional debug info:
gstbin.c(2240): gst_bin_do_latency_func (): /GstPipeline:pipeline0:
test result: I can hear the video sound, but without any video display out.
root@beagleboard:/usr/share/ti-codec-combos# gst-launch --gst-debug=TI*:2 filesr
c location=/home/root/mediaFile/4.mp4 ! typefind ! qtdemux name=demux demux.aud
io_00 ! queue max-size-buffers=1800 max-size-time=0 max-size-bytes=0 ! typefind
! TIAuddec1 ! alsasink demux.video_00 ! typefind ! TIViddec2 ! TIDmaiVideoSink v
ideoStd=D1_NTSC displayDevice=/dev/fb2 displayStd=fbdev
WARNING: from element /GstPipeline:pipeline0: Internal GStreamer error: clock pr
oblem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GSt
reamer.
Additional debug info:
gstbin.c(2240): gst_bin_do_latency_func (): /GstPipeline:pipeline0:
Failed to configure latency of 0:00:00.000000000
mmcblk0: error -84 transferring data
end_request: I/O error, dev mmcblk0, sector 1420693
end_request: I/O error, dev mmcblk0, sector 1420701
end_request: I/O error, dev mmcblk0, sector 1420709
end_request: I/O error, dev mmcblk0, sector 1420773
0:01:25.549499504 1570 0x45b017c8 ERROR TIAuddec1 gsttiauddec1.c:111
4:gst_tiauddec1_decode_thread: fatal bit error
test result: I can see the video display and the sound as well. but
only can play few seconds, and hang.
except for that, an "end_request: I/O error" shows out.
4) I test another video with the same command, this time it can't play
anything at all, instead, CMEMK Error is happened. it seems it is the
cmem modprobe and mem of bootargs problem, but the previous test show
that I can use these arguments to play video, even though, few seconds
(20~35s). any ideas, why?
root@beagleboard:/usr/share/ti-codec-combos# gst-launch --gst-debug=TI*:2 filesr
c location=/home/root/mediaFile/Terminato.mp4 ! typefind ! qtdemux name=demux
demux.audio_00 ! queue max-size-buffers=1800 max-size-time=0 max-size-bytes=0 !
typefind ! TIAuddec1 ! alsasink demux.video_00 ! typefind ! TIViddec2 ! TIDmaiVi
deoSink videoStd=D1_NTSC displayDevice=/dev/fb2 displayStd=fbdev
CMEMK Error: get_phys: Unable to find phys addr for 0xbca65000
CMEMK Error: get_phys: get_user_pages() failed: -14
CMEMK Error: GETPHYS: Failed to convert virtual 0xbca65000 to physical.
CMEM Error: getPhys: Failed to gDMA transaction error with device 0
et physical address of 0xbca65000
New clock: GstAudioSinkClock
WARNING: from element /GstPipeline:pipeline0: Internal GStreamer error: clock pr
oblem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GSt
reamer.
Additional debug info:
gstbin.c(2240): gst_bin_do_latency_func (): /GstPipeline:pipeline0:
Failed to configure latency of 0:00:00.000000000
highly appreciated for your help
~~~~~~~~~~~~~~~~~
/favor
~~~~~~~~~~~~~~~~~
sorry for that, neel. I don't meet with that problem.
is that the detail error? I didn't see more error except "make[3]:
*** [DspBios/5.XX/OMAP3530/message.tcf.deb] Error 1".
I also think the previous line include more details about error, can
you post here. maybe someone knows will help you.
thanks.
On Fri, May 8, 2009 at 7:11 AM, Neel <ngo...@gmail.com> wrote:
> I was wondering if anybody could help me build the plugin as well. My
> OE setup seems fine since I have successfully built the beagleboard-
> demo-image and other non standard packages like a working sdlquake and
> a patched kernel.
>
> I've followed the instructions here:
>
> https://gstreamer.ti.com/gf/project/gstreamer_ti/wiki/?pagename=BuildingWithAngstrom
>
> I run into issues when I try to build the codec engine. After
> retrieving the bios, xdc tools, and code generation packages from ti,
> installed them to the appropriate locations, and then do a bitbake ti-
> codec-engine from the ~/oe/openembedded - it gets far enough until it
> executes tconf. tconf fails, and after chatting with some of the
> experts on the matter, it seems tconf does not like having a . in the
> pwd it's being called from. Unfortunately, it's being called from a
> directory that was extracted from the codec_engine_2_21.tgz file.
>
> Here are the relevant lines from my log.do_compile error.. I've
> ommitted the absurdly long tconf command line that precedes the
> error...
>
> /OE/TI/bios_5_33_02/xdctools/tconf: line 48: /OE/TI/bios_5_33_02/
> xdctools/tconf.x86U: No such file or directory
> /OE/TI/bios_5_33_02/xdctools/tconf: line 48: /OE/TI/bios_5_33_02/
> xdctools/tconf.x86U: Success
> make[3]: *** [DspBios/5.XX/OMAP3530/message.tcf.deb] Error 1
> make[3]: Leaving directory `/home/ngoyal/oe/tmp/work/beagleboard-
> angstrom-linux-gnueabi/ti-codec-engine-221-r19/codec_engine_2_21/
> cetools/packages/dsplink/dsp/src/samples/message/DspBios/5.XX/
> OMAP3530'
>
> So it was called from the 5.XX/OMAP3530 dir and that might be what
> caused it problems. I'm running on a x64 machine. tconf and
> tconf.x86U exist in those locations.
>
> Any help or insight on the matter would be most appreciated. If
> there's a way for me to not build the samples and build the rest then
> that might be enough, but I'd like to understand what's happening with
> my setup if possible.
>
> Thanks,
>
> Neel
>
> On Apr 24, 1:08 am, Favor Tang <tang...@gmail.com> wrote:
>> hi. Brijesh
>>
>> I want to tell you the result of the dsplink test today, and I would
>> like you give me some proposals.
>> 1) I changed the bootargs, added the mem=88M.
>>
>> I have see "New beagleboard demo image, now with 100% more DSP " at
>> google groups mailing list.
>> https://groups.google.com/group/beagleboard/browse_thread/thread/a88d...
>> oblem. Please file a bug athttp://bugzilla.gnome.org/enter_bug.cgi?product=GSt
>> reamer.
>> Additional debug info:
>> gstbin.c(2240): gst_bin_do_latency_func (): /GstPipeline:pipeline0:
>>
>> test result: I can hear the video sound, but without any video display out.
>>
>> root@beagleboard:/usr/share/ti-codec-combos# gst-launch --gst-debug=TI*:2 filesr
>> c location=/home/root/mediaFile/4.mp4 ! typefind ! qtdemux name=demux demux.aud
>> io_00 ! queue max-size-buffers=1800 max-size-time=0 max-size-bytes=0 ! typefind
>> ! TIAuddec1 ! alsasink demux.video_00 ! typefind ! TIViddec2 ! TIDmaiVideoSink v
>> ideoStd=D1_NTSC displayDevice=/dev/fb2 displayStd=fbdev
>>
>> WARNING: from element /GstPipeline:pipeline0: Internal GStreamer error: clock pr
>> oblem. Please file a bug athttp://bugzilla.gnome.org/enter_bug.cgi?product=GSt
>> oblem. Please file a bug athttp://bugzilla.gnome.org/enter_bug.cgi?product=GSt
>> reamer.
>> Additional debug info:
>> gstbin.c(2240): gst_bin_do_latency_func (): /GstPipeline:pipeline0:
>> Failed to configure latency of 0:00:00.000000000
>>
>> highly appreciated for your help
>>
>> ~~~~~~~~~~~~~~~~~
>> /favor
>> ~~~~~~~~~~~~~~~~~
--
~~~~~~~~~~~~~~~~~
/favor
~~~~~~~~~~~~~~~~~
Neel wrote:
> That's essentially the only error I get. Here's a bit more context to
> it - apologies in advance for the big paste.
>
[...]
It seems that tconf is called in the same way here. And I didn't
understand the error message you are seeing. First it says there is
no such file as .../tconf.x86U and then throws some other
message/error including SUCCESS and tconf.x86U. Weird...
Which distro are you using?
Regards,
Caglar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iEYEARECAAYFAkoEYsEACgkQ/nL+S5dojejnOgCgksZg6tRnaTBPdIQse02Y5JEY
9QMAoI+O6vYMejs+zbrh6znG/08d63Cu
=lfOA
-----END PGP SIGNATURE-----
>
> That's essentially the only error I get. Here's a bit more context to
> it - apologies in advance for the big paste.
The problem seems to be in building the x86 uclibc versions (x86U) of
the codecs, you might want to bug TI about turning them off.
regards,
Koen
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google
> Groups "Beagle Board" group.
> To post to this group, send email to discu...@beagleboard.org.
> To unsubscribe from this group, send email to beagleboard...@beagleboard.org
> For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
seen http://ubuntuforums.org/showthread.php?t=474790?
Regards,
Nishanth Menon