From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from db8outboundpool.messaging.microsoft.com (mail-db8lp0186.outbound.messaging.microsoft.com [213.199.154.186]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A78FBE0044C for ; Fri, 27 Sep 2013 12:33:20 -0700 (PDT) Received: from mail37-db8-R.bigfish.com (10.174.8.230) by DB8EHSOBE003.bigfish.com (10.174.4.66) with Microsoft SMTP Server id 14.1.225.22; Fri, 27 Sep 2013 19:33:18 +0000 Received: from mail37-db8 (localhost [127.0.0.1]) by mail37-db8-R.bigfish.com (Postfix) with ESMTP id 1F635A402DB; Fri, 27 Sep 2013 19:33:18 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: -54 X-BigFish: VS-54(zzbb2dI98dI9371Ic89bh15cbKJ1432Izz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz1de098h1de097h186068h8275dhz2dh2a8h839h947hd25he5bhf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h1765h18e1h190ch1946h19b4h19c3h1ad9h1b0ah1b2fh1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1f5fh1fe8h1ff5h209eh1155h) Received: from mail37-db8 (localhost.localdomain [127.0.0.1]) by mail37-db8 (MessageSwitch) id 1380310396690462_6964; Fri, 27 Sep 2013 19:33:16 +0000 (UTC) Received: from DB8EHSMHS031.bigfish.com (unknown [10.174.8.230]) by mail37-db8.bigfish.com (Postfix) with ESMTP id A4262340048; Fri, 27 Sep 2013 19:33:16 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by DB8EHSMHS031.bigfish.com (10.174.4.41) with Microsoft SMTP Server (TLS) id 14.16.227.3; Fri, 27 Sep 2013 19:33:16 +0000 Received: from az84smr01.freescale.net (10.64.34.197) by 039-SN1MMR1-004.039d.mgd.msft.net (10.84.1.14) with Microsoft SMTP Server (TLS) id 14.3.158.2; Fri, 27 Sep 2013 19:33:14 +0000 Received: from [10.29.244.63] ([10.29.244.63]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id r8RJXCRG010128; Fri, 27 Sep 2013 12:33:12 -0700 Message-ID: <5245DC68.4080204@freescale.com> Date: Fri, 27 Sep 2013 16:28:40 -0300 From: Daiane Angolini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Simone , References: <008f01cebba5$60dae800$2290b800$@gmail.com> <5245C890.7030501@freescale.com> <002301cebbb6$f88d12c0$e9a73840$@gmail.com> In-Reply-To: <002301cebbb6$f88d12c0$e9a73840$@gmail.com> X-OriginatorOrg: freescale.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Cc: 'Paolo Gussago' Subject: Re: # IMX53 GSTREAMER PROBLEMS X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 19:33:21 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable On 09/27/2013 04:22 PM, Simone wrote: > Hello Daiane, > thank you for your reply. > > Yes, I want to use FSL plugins to benefit from the hardware acceleratio= n > (even if I have to play only mp3 files). I'm going to help you to get gst-fsl-plugin installed on your rootfs,=20 although, I must say you that the mp3 encoder and mp3 decoder provided=20 by gst-fsl-plugin are not accelerated by VPU (VPU is video only). It does have some hardware improvments, but it's only code optimization=20 based on ARM instructions. > The preferred provider for my MACHINE is "linux" as you can see below (= I > post my MACHINE .conf file FYR) > > > /*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > =3D=3D=3D=3D=3D=3D=3D=3D > #@TYPE: Machine > #@NAME: i.MX53 Quick Start Board > #@DESCRIPTION: Machine configuration for Freescale i.MX53 Quick Start B= oard > > include conf/machine/include/imx-base.inc > include conf/machine/include/tune-cortexa8.inc > > SOC_FAMILY =3D "mx5:mx53" > > KERNEL_DEVICETREE =3D "${S}/arch/arm/boot/dts/imx53-qsb.dts" > > UBOOT_MACHINE =3D "mx53loco_config" > > MACHINE_FIRMWARE +=3D "firmware-imx-ar3k \ > firmware-imx-ath6k" > > MACHINE_FEATURES +=3D " wifi bluetooth" > > # > # Software/packages selection > # > PREFERRED_PROVIDER_virtual/kernel =3D "linux" If you're using virtual/kernel from meta-fsl-arm, please use: PREFERRED_PROVIDER_virtual/kernel =3D "linux-imx" instead. If "linux" point to your own kernel, please, make sure you have ported=20 all IPU related code. > > # Extra udev rules > PREFERRED_VERSION_udev =3D "164" > PREFERRED_VERSION_udev-extraconf =3D "0.0" > MACHINE_EXTRA_RRECOMMENDS +=3D "udev-extraconf" > /*=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > =3D=3D=3D=3D=3D=3D=3D=3D > > > Including the package gst-fsl-plugins in my .bb file the error of my > previous email occurs. > Any suggestion? I think the kernel does not match. Could you, please, double check? > Thanks so much > Simone > > > > > > -----Messaggio originale----- > Da: Daiane Angolini [mailto:daiane.angolini@freescale.com] > Inviato: venerd=EC 27 settembre 2013 20:04 > A: Simone; meta-freescale@yoctoproject.org > Cc: 'Paolo Gussago' > Oggetto: Re: [meta-freescale] # IMX53 GSTREAMER PROBLEMS > > On 09/27/2013 02:16 PM, Simone wrote: >> Dear All, >> >> i'm trying to include the gstreamer in our image for iMX53, I have >> included the package gstreamer, by adding it in my .bb file with: >> >> IMAGE_INSTALL +=3D "gstreamer \" >> >> The problem is that when I try to play an audio file from my qt4 >> application (using Phonon) it give me this error: >> >> Warning: You do not seem to have the base GStreamer plugins installed. >> All audio and video support has been disabled" >> Phonon::GStreamer::Backend: Failed to initialize GStreamer >> >> So after a search on the web, I tried to add the package >> "gst-fsl-plugin" but bitbake fail to build , here is the last part of >> the log: > > gstreamer is THE gstreamer, the complete media framework. > > gst-fsl-plugin is the package that provides the VPU accelerated plugins= to > work *with* gstreamer. this package is provided by FSL. > > gstreamer should not depend on kernel. > > gst-fsl-plugin depends on linux-imx (for imx53 it's 2.6.35) > > Could you, please, let me know your PREFERRED_PROVIDER for virtual/kern= el? > > And could you, please, let me know if you only need gstreamer or if you= want > gst-fsl-plugin also? > > > >> >> | >> > /home/cx/yocto/poky/build/tmp/sysroots/cjbc1/usr/src/kernel/include/lin= ux/ip > u.h:884:9: >> note: declared here >> >> | mxc_ipu_hl_lib.c: In function 'mxc_ipu_lib_task_buf_update': >> >> | mxc_ipu_hl_lib.c:3369:39: warning: operation on >> 'ipu_priv_handle->tri_output_bufnum' may be undefined [-Wsequence-poin= t] >> >> | mxc_ipu_hl_lib.c:3376:34: warning: operation on >> 'ipu_priv_handle->output_bufnum' may be undefined [-Wsequence-point] >> >> | mxc_ipu_hl_lib.c: In function 'mxc_ipu_lib_task_control': >> >> | mxc_ipu_hl_lib.c:3405:26: warning: variable 'ipu_priv_handle' set bu= t >> not used [-Wunused-but-set-variable] >> >> | make[1]: *** [mxc_ipu_hl_lib.o] Error 1 >> >> | make[1]: Leaving directory >> > `/home/cx/yocto/poky/build/tmp/work/cjbc1-poky-linux-gnueabi/imx-lib/11= .09.0 > 1-r4.2/imx-lib-11.09.01/ipu' >> >> | make: *** [ipu] Error 2 >> >> | ERROR: oe_runmake failed >> >> | ERROR: Function failed: do_compile (see >> > /home/cx/yocto/poky/build/tmp/work/cjbc1-poky-linux-gnueabi/imx-lib/11.= 09.01 > -r4.2/temp/log.do_compile.2758 >> for further information) >> >> ERROR: Task 1138 >> > (/home/cx/yocto/poky/meta-fsl-arm/recipes-multimedia/imx-lib/imx-lib_11= .09.0 > 1.bb, >> do_compile) failed with exit code '1' >> >> WARNING: File '/usr/lib/lib_mp3_enc_arm11_elinux.so.2.2.0' from >> fsl-mm-mp3enc-codeclib was already stripped, this will prevent future >> debugging! >> >> WARNING: File '/usr/lib/lib_mp3_enc_arm12_elinux.so.2.2.0' from >> fsl-mm-mp3enc-codeclib was already stripped, this will prevent future >> debugging! >> >> WARNING: File '/usr/lib/lib_mp3_enc_arm9_elinux.so.2.2.0' from >> fsl-mm-mp3enc-codeclib was already stripped, this will prevent future >> debugging! >> >> NOTE: Tasks Summary: Attempted 3773 tasks of which 3760 didn't need to >> be rerun and 1 failed. >> >> Waiting for 0 running tasks to finish: >> >> Maybe I am missing something? >> >> Thanks so much >> >> Simone >> >> >> >> _______________________________________________ >> meta-freescale mailing list >> meta-freescale@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/meta-freescale >> > > --=20 Daiane