From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ee0-f52.google.com (mail-ee0-f52.google.com [74.125.83.52]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 094D3E0044C for ; Fri, 27 Sep 2013 12:46:41 -0700 (PDT) Received: by mail-ee0-f52.google.com with SMTP id c41so1409897eek.39 for ; Fri, 27 Sep 2013 12:46:40 -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=IlBAWtb8vWlNSjnuIHrKJuuZhy8AktuKClnW/gzylGE=; b=xDzfG309y+g7iXWtQrIR1gWiWJhfc3jiy6/pJ1t8nNz/u9SzHcnYH3ghQpLvJ/vp1U MqoywOtIuLBl227AfUAk30BvCOBlrn5yUnwiwkJzetM9omzrP4kRl/YtwkfEIouG6YpH MkHSQdpTuoCgl/WJBt6NBpYRw2ctojUSH1Nf9sTv3aJylii19pJfLXZFYVOQPIFL0+mG ck9Tep3E1o0wHDFNPI/eU/8DXJSL1IseAt1ozMCZdaRS9LZJ6RvhsEhb1XdWk4/R1RfH d3z+5UCFpDisDLF608LjZTPxa2pbg1Py8aO0lGLNgsq2Eds5WP9w+lpWDkRHaTkT4Sua pQJw== X-Received: by 10.14.32.129 with SMTP id o1mr12988028eea.47.1380311200303; Fri, 27 Sep 2013 12:46:40 -0700 (PDT) Received: from SIMONENB ([91.252.57.111]) by mx.google.com with ESMTPSA id h52sm19622166eez.3.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 27 Sep 2013 12:46:39 -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> In-Reply-To: <5245DC68.4080204@freescale.com> Date: Fri, 27 Sep 2013 21:46:17 +0200 Message-ID: <002401cebbba$46ad8090$d40881b0$@gmail.com> MIME-Version: 1.0 X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQJvfMW8bDxPSixd/T8TbjdSAtzJswJgFS9WAQH4luIBvrwO/phvcuqQ 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: Fri, 27 Sep 2013 19:46:42 -0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Language: it 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. When I'm ready, I generate a patch (with diff command) and insert it in = my kernel recipe. Do you know how I can check my base version of the kernel? 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? Thanks Simone -----Messaggio originale----- Da: Daiane Angolini [mailto:daiane.angolini@freescale.com]=20 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=20 > 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=20 > (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=20 > Board > > include conf/machine/include/imx-base.inc include=20 > 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 >> > > --=20 Daiane