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.org?
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 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:[email protected]]
Inviato: venerdì 27 settembre 2013 21:29
A: Simone; [email protected]
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)
/*====================================================================
======
========
#@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 = "mx5:mx53"
KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx53-qsb.dts"
UBOOT_MACHINE = "mx53loco_config"
MACHINE_FIRMWARE += "firmware-imx-ar3k \
firmware-imx-ath6k"
MACHINE_FEATURES += " wifi bluetooth"
#
# Software/packages selection
#
PREFERRED_PROVIDER_virtual/kernel = "linux"
If you're using virtual/kernel from meta-fsl-arm, please use:
PREFERRED_PROVIDER_virtual/kernel = "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 = "164"
PREFERRED_VERSION_udev-extraconf = "0.0"
MACHINE_EXTRA_RRECOMMENDS += "udev-extraconf"
/*==========================================================================
========
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:[email protected]]
Inviato: venerdì 27 settembre 2013 20:04
A: Simone; [email protected]
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 += "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.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
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale