From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ea0-f176.google.com (mail-ea0-f176.google.com [209.85.215.176]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C6907E01602 for ; Tue, 1 Oct 2013 10:16:16 -0700 (PDT) Received: by mail-ea0-f176.google.com with SMTP id q16so3566350ead.21 for ; Tue, 01 Oct 2013 10:16:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:thread-index :content-language:importance; bh=Xx+fAr+BQ3Sff/2aZbPSycO77frB3l68jEqVhqr55CQ=; b=MOBH4qMQxw7h83n+TMRwApNUj1zVbPqkDn+S016zabjZ8RU9PFbdkckxIzbi2IPv5/ R7q287ZgTAVAaDMih+08d/pach3nMVQN1jprBXR8Q3uid7RwxZr5WVtTK+Bd32dn40bV x+dheF7IBE4h0nT4OZr6nDx8I+xW8vFIoks0PWilJg/b1fhdLleUhoFVayQFONX9d7F9 n2iXKVr32wY5RcTSLpDJCxFzm5d46V5nPRl5Z8a2NHls/4hsBFzsRhxVU3qO5bz2VCjI G58uRxCE7wzbA+Hn4s0BDnoWc/ik+3p9yiRqSzwASZSJBw14Fz5hr/5YWO3pCc+xO0O7 bSiQ== X-Received: by 10.15.36.9 with SMTP id h9mr47998488eev.30.1380647775009; Tue, 01 Oct 2013 10:16:15 -0700 (PDT) Received: from SIMONENB (88-149-150-170.v4.ngi.it. [88.149.150.170]) by mx.google.com with ESMTPSA id d8sm15448178eeh.8.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 01 Oct 2013 10:16:14 -0700 (PDT) From: "Simone" To: "'Daiane Angolini'" , 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> In-Reply-To: <5249A323.5070001@freescale.com> Date: Tue, 1 Oct 2013 19:16:02 +0200 Message-ID: <00b701cebec9$ee826530$cb872f90$@gmail.com> MIME-Version: 1.0 X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQJvfMW8bDxPSixd/T8TbjdSAtzJswJgFS9WAQH4luIBvrwO/gFuz6IlAgRjIR2YWfll8A== Importance: High 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 17:16:17 -0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Language: it 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? I wouldn't change the kernel version now, there is a way to change the gst-fsl-plugin version, to fit my kernel? Thank you Simone -----Messaggio originale----- Da: Daiane Angolini [mailto:daiane.angolini@freescale.com]=20 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=20 > thinking) i want to insert in the OS all the multimedia support to be=20 > 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=20 > copy of it. ok, which linux kernel source? from git.freescale.com or from = kernel.org? > When I'm ready, I generate a patch (with diff command) and insert it=20 > 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=20 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 = how 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 = optimization > 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 = 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/kernel? >> >> 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/linux= /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-point] >>> >>> | 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.0= 9.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.0= 9.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 >>> >> >> > >