From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe006.messaging.microsoft.com [216.32.181.186]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 82668E01602 for ; Tue, 1 Oct 2013 11:08:45 -0700 (PDT) Received: from mail166-ch1-R.bigfish.com (10.43.68.246) by CH1EHSOBE019.bigfish.com (10.43.70.76) with Microsoft SMTP Server id 14.1.225.22; Tue, 1 Oct 2013 18:08:44 +0000 Received: from mail166-ch1 (localhost [127.0.0.1]) by mail166-ch1-R.bigfish.com (Postfix) with ESMTP id 4437D20061; Tue, 1 Oct 2013 18:08:44 +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: -55 X-BigFish: VS-55(zzbb2dI98dI9371Ic89bh15cbKJ1432I4015Izz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz1de098h1de097h186068h8275bh8275dhz2dh2a8h839h947hd25he5bhf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h1765h18e1h190ch1946h19b4h19c3h1ad9h1b0ah1b2fh1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1f5fh1fe8h1ff5h209eh1155h) Received: from mail166-ch1 (localhost.localdomain [127.0.0.1]) by mail166-ch1 (MessageSwitch) id 1380650923264301_1283; Tue, 1 Oct 2013 18:08:43 +0000 (UTC) Received: from CH1EHSMHS037.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.230]) by mail166-ch1.bigfish.com (Postfix) with ESMTP id 3280242009B; Tue, 1 Oct 2013 18:08:43 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CH1EHSMHS037.bigfish.com (10.43.69.246) with Microsoft SMTP Server (TLS) id 14.16.227.3; Tue, 1 Oct 2013 18:08:42 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-003.039d.mgd.msft.net (10.84.1.16) with Microsoft SMTP Server (TLS) id 14.3.158.2; Tue, 1 Oct 2013 18:08:41 +0000 Received: from [10.29.244.63] ([10.29.244.63]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id r91I8dJ7028772; Tue, 1 Oct 2013 11:08:40 -0700 Message-ID: <524B0E90.8030405@freescale.com> Date: Tue, 1 Oct 2013 15:04:00 -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> <5245DC68.4080204@freescale.com> <002401cebbba$46ad8090$d40881b0$@gmail.com> <5249A323.5070001@freescale.com> <00b701cebec9$ee826530$cb872f90$@gmail.com> In-Reply-To: <00b701cebec9$ee826530$cb872f90$@gmail.com> X-OriginatorOrg: freescale.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% 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: Tue, 01 Oct 2013 18:08:46 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable On 10/01/2013 02:16 PM, Simone wrote: > Hello Daiane, > sorry for late reply. > > Our base kernel is from kernel.org and we apply the 11.05 patches > (downloaded from freescale website, not from git). > Probably this version of FSL patch is too old for gst-fsl-plugin? How I= can > check? So, the base of your kenrel is mainline, but some drivers is from 11.05.=20 That's why you're facing the mismatch. > I wouldn't change the kernel version now, there is a way to change the > gst-fsl-plugin version, to fit my kernel? Ofcourse, but I don't hope it's easy task. You can try to resolve one=20 build error at a time, and try to change Makefiles and #includes to make=20 sure you have what you need inside the package itself. I don't know if it's easier to change kernel or MM package. > > Thank you > Simone > > > -----Messaggio originale----- > Da: Daiane Angolini [mailto:daiane.angolini@freescale.com] > Inviato: luned=EC 30 settembre 2013 18:13 > A: Simone; meta-freescale@yoctoproject.org > Oggetto: Re: R: R: [meta-freescale] # IMX53 GSTREAMER PROBLEMS > > On 09/27/2013 04:46 PM, Simone wrote: >> Hello Daiane, >> Ok, even if the mp3 is not VPU accelerated (sorry for my stupid >> thinking) i want to insert in the OS all the multimedia support to be >> ready in the future, if will be necessary for other application. >> >> Now, I have cloned the linux kernel sources and I usually work on my >> copy of it. > > ok, which linux kernel source? from git.freescale.com or from kernel.or= g? > > >> When I'm ready, I generate a patch (with diff command) and insert it >> in my kernel recipe. > > that's ok. I think. > > I would create my local git repository and update my kernel recipe only= to > change the tag/commit hash will be downloaded. > > >> >> Do you know how I can check my base version of the kernel? > > What do you mean? Please, let me know from which repository are you > downloading the source code, and the branch you've cheking out. > > >> It is possible that my base kernel sources are old, but I don't know h= ow > to >> update them.. >> >> mmmmm... >> >> I'm not very familiar with yocto... >> Maybe you can help me? > > Sure ;) > I only need to understand your enviroment. > > >> Thanks >> Simone >> > > Thanks, > > Daiane > >> >> >> -----Messaggio originale----- >> Da: Daiane Angolini [mailto:daiane.angolini@freescale.com] >> Inviato: venerd=EC 27 settembre 2013 21:29 >> A: Simone; meta-freescale@yoctoproject.org >> Cc: 'Paolo Gussago' >> Oggetto: Re: R: [meta-freescale] # IMX53 GSTREAMER PROBLEMS >> >> 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 >>> acceleration (even if I have to play only mp3 files). >> >> I'm going to help you to get gst-fsl-plugin installed on your rootfs, >> although, I must say you that the mp3 encoder and mp3 decoder provided= by >> gst-fsl-plugin are not accelerated by VPU (VPU is video only). >> >> It does have some hardware improvments, but it's only code optimizatio= n >> 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 >>> Board >>> >>> 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= 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 installe= d. >>>> 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 o= f >>>> the log: >>> >>> gstreamer is THE gstreamer, the complete media framework. >>> >>> gst-fsl-plugin is the package that provides the VPU accelerated plugi= ns > 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/kernel? >>> >>> And could you, please, let me know if you only need gstreamer or if y= ou >> 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-po= int] >>>> >>>> | 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 = but >>>> 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 futur= e >>>> 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 futur= e >>>> 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 futur= e >>>> 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