[agl-discussions] meta-agl multimedia requirements and implementation

YOSHIYUKI ITO yoshiyuki.ito.ub at renesas.com
Tue Sep 1 14:32:04 UTC 2015


Hi Steve-san,

  I also see correspond recipes for PORTER board. I will put a review on the gerrit considering your comments.

Regards,
Yoshiyuki Ito.

-----Original Message-----
From: automotive-discussions-bounces at lists.linuxfoundation.org [mailto:automotive-discussions-bounces at lists.linuxfoundation.org] On Behalf Of Stephen Lawrence
Sent: Sunday, August 30, 2015 4:24 AM
To: Tadao Tanikawa <tanikawa.tadao at jp.panasonic.com>
Cc: automotive-discussions at lists.linuxfoundation.org
Subject: Re: [agl-discussions] meta-agl multimedia requirements and implementation

Thanks for the details Tanikawa-San. I will take a look at taking these upstream when I return from holiday. 

Regards

Steve

Sent from my iPhone

> On 28 Aug 2015, at 12:40, Tadao Tanikawa <tanikawa.tadao at jp.panasonic.com> wrote:
> 
> Hi Stephen,
> 
> (2015/08/27 23:21), Stephen Lawrence wrote:
> [snip]
>>> I confirmed GStreamer 1.2.3 become avairable on GDP when adding 
>>> appropriate conifgures to local.conf and I had to modify some 
>>> recipes in meta-renesas to enable Renesas's multimedia packages.
>> 
>> There should be no need to modify meta-renesas to use gst 1.2.3.
>> If you send me the patches or describe the problem I can take a look.
> 
> There are 3 build issues and 1 integration issue:
> 
> 1. ERROR in do_configure
> This is almost same as you mentioned in your another reply.
> 
> I had to modify these 5 files:
>   meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend    
>   meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.2.3.bbappend    
>   meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.2.3.bbappend
>   meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.2.3.bbappend
>   
> meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.0.0.bba
> ppend
> 
> Diff is:
>   -do_configure() {
>   -       ./autogen.sh --noconfigure
>   -       oe_runconf
>   +do_configure_prepend() {
>   +    cd ${S}
>   +    ./autogen.sh --noconfigure
>   +    cd ${B}
> 
> 2. ERROR: Nothing RPROVIDES 'faac'
> When adding packagegroup-rcar-gen2-multimedia, this error occured.
> 
> I checked porter-config/bblayers.conf, then I noticed 
> meta-openembedded/meta-multimeda is needed to resolve this.
> 
> 3. ERROR: Unable to install packages.
>   e.g. error: Can't install uvcs-kernel-module-1.0-r0 at porter: no 
> package provides kernel-module-uvcs-cmn
> 
> This install issue is caused by missing RPROVIDES for each MM kernel modules.
> I had to modify these 6 bb files:
>   meta-rcar-gen2/recipes-kernel/fdpm-module/fdpm-kernel-module.bb
>   meta-rcar-gen2/recipes-kernel/mmngr-module/mmngr-kernel-module.bb
>   meta-rcar-gen2/recipes-kernel/mmngr-module/mmngrbuf-kernel-module.bb
>   meta-rcar-gen2/recipes-kernel/s3ctl-module/s3ctl-kernel-module.bb
>   meta-rcar-gen2/recipes-kernel/uvcs-module/uvcs-kernel-module.bb
>   meta-rcar-gen2/recipes-kernel/vspm-module/vspm-kernel-module.bb
> 
> Diff is (e.g. for fdpm-kernel-module.bb)
>   -RPROVIDES_${PN} += "fdpm-kernel-module"
>   +RPROVIDES_${PN} += "fdpm-kernel-module kernel-module-fdpm"
>    INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
>    +ALLOW_EMPTY_kernel-module-fdpm = "1"
>   +
> 
> 4. Codec libraries in omx-user-module was gone by incorrect symbolic 
> link
> 
> This issue caused by do_install_append() in omx-user-module.bb
>   ln -sf libomxr_core.so.0.0.0 libomxr_core.so.2.0.0
>   ...
> 
> Because multimedia binary package provides libXXX.so.2.0.0 not 0.0.0, 
> so this symbolic links will remove binaries needed for H/W acceleration.
> 
> Regards,
> Tadao Tanikawa
> 
>>> 
>>> Ito-san said when using Renesas's multimedia package of porter BSP, 
>>> it is necessary to use GStreamer 1.2.x, so I am working to enable 
>>> GStreamer 1.2.3 with hardware acceleration for meta-agl-demo/meta-agl .
>>> 
>>> These are my additional investigation about multimedia packages of 
>>> Renesas BSP.
>>> 
>>> In GDP wiki, I found that there are missing important instructions 
>>> to eanble proprietary multimedia packages and they are written at 
>>> Embedded Linux Wiki(http://elinux.org/R-Car/Boards/Yocto)
>> 
>> Yes this is deliberate :) Because of the meta-ivi gst 1.2.x support 
>> build issue I mentioned in my reply just now in the thread and as GDP 
>> does not require that acceleration I didn't push the changes to the 
>> community, else you are just documenting something that is known to 
>> not build..
>> 
>> At the time I expected to pretty quickly make, test and post the 
>> meta-ivi fix upstream. In reality, other Genivi activity has stopped 
>> me from completing that.
>> 
>>> 
>>> - shell script to copy multimedia packages is in meta-renesas here
>>>     https://github.com/CogentEmbedded/meta-renesas.git
>>>     branch: origin/v1.10.0
>>>     meta-renesas/meta-rcar-gen2/copy_mm_software_lcb.sh
>>>   (I will post a patch to put this script into meta-renesas of AGL)
>> 
>> This is already in my BSP [1]. Please update.
>> 
>> [1] 
>> https://github.com/slawr/meta-renesas/commit/b42c0c82d628cc3e7af728df
>> 668cf4459a50621f
>> 
>>> 
>>> - appropriate configurations for porter board here
>>>     https://github.com/renesas-devel/porter-config.git
>>>     porter-config/local-wayland.conf
>>> 
>>>     To enable proprietary multimedia packages of BSP,
>>>     "multimedia" has to be added to MACHINE_FEATURES.
>>>     (I will fix our local.conf.sample and post the patch later)
>>> 
>>> After apply configurations for multimedia, my GDP build begin to use 
>>> GStreamer 1.2.3 with Renesas's multimedia packages.
>>> 
>>> list of packages related gstreamer from manifest:
>>>   gstreamer1.0 cortexa15hf-vfp-neon 1.2.3
>>>   gstreamer1.0-meta-audio all 1.0
>>>   gstreamer1.0-meta-base all 1.0
>>>   gstreamer1.0-meta-video all 1.0
>>>   gstreamer1.0-omx cortexa15hf-vfp-neon 1.2.0
>>>   [and many plugins]
>>> 
>>> # Although I confirmed omx plugins and codecs are installed by using 
>>> # command, gst-inspector-1.0., but I didn't check to play # any 
>>> sound and movie on porter with GDP.
>> 
>> Good to see you had been in contact with Ito-san. I am on holiday 
>> next week so please use him and the other Renesas members working in 
>> AGL as a resource.
>> 
>> Regards
>> 
>> Steve
>> 
>>> 
>>> Regards,
>>> Tadao Tanikawa
_______________________________________________
automotive-discussions mailing list
automotive-discussions at lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions


More information about the automotive-discussions mailing list