[meta-freescale] FIXED Re: HOB unable to parse initial sabresd

Daiane.Angolini at freescale.com Daiane.Angolini at freescale.com
Tue Mar 18 07:15:55 PDT 2014



> -----Original Message-----
> From: pighi at selea.com [mailto:pighi at selea.com]
> Sent: Tuesday, March 18, 2014 11:07 AM
> To: Angolini Daiane-B19406; pighi at selea.com; gary at mlbassoc.com; meta-
> freescale at yoctoproject.org
> Subject: RE: [meta-freescale] FIXED Re: HOB unable to parse initial sabresd
> 
> yes that's why i did the opposite.
> so i kept in the the imx-base.inc
> 
> PREFERRED_PROVIDER_virtual/egl_mx6 ?= "gpu-viv-bin-mx6q"
> PREFERRED_PROVIDER_virtual/libgl_mx6 ?= "gpu-viv-bin-mx6q"
> PREFERRED_PROVIDER_virtual/libgles1_mx6 ?= "gpu-viv-bin-mx6q"
> PREFERRED_PROVIDER_virtual/libgles2_mx6 ?="gpu-viv-bin-mx6q"
> 
> and i removed from the default-providers.inc:
> 
> #PREFERRED_PROVIDER_virtual/egl ?= "mesa"
> #PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
> #PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
> #PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
> #PREFERRED_PROVIDER_virtual/mesa ?= "mesa"
> 
> now HOB is not complaining any more.... i will try to make the patch...but
> i think it is just a HOB issue. bitbake doesn't complaining at all.

Yes.

And I´m not sure regarding how long HOB is going to be supported in Yocto Project any more, as 
it´s being replaced by Toaster


Daiane

> Omar
> 
> 
> >----- Original Message -----
> >From: Daiane.Angolini at freescale.com
> >To: pighi at selea.com,gary at mlbassoc.com,meta-freescale at yoctoproject.org
> >Data: Tue, 18 Mar 2014 14:00:30 +0000
> >Subject: RE: [meta-freescale] FIXED Re: HOB unable to parse initial
> >sabresd
> 
> >
> >
> >> -----Original Message-----
> >> From: meta-freescale-bounces at yoctoproject.org [mailto:meta-freescale-
> >> bounces at yoctoproject.org] On Behalf Of pighi at selea.com
> >> Sent: Tuesday, March 18, 2014 10:42 AM
> >> To: pighi at selea.com; pighi at selea.com; pighi at selea.com;
> >> gary at mlbassoc.com; pighi at selea.com; meta-freescale at yoctoproject.org
> >> Subject: Re: [meta-freescale] FIXED Re: HOB unable to parse initial
> >> sabresd
> >>
> >> Weel maybe is better to change in the opposite way, keeping the
> >>
> >> >#PREFERRED_PROVIDER_virtual/egl_mx6 ?= "gpu-viv-bin-mx6q"
> >> >#PREFERRED_PROVIDER_virtual/libgl_mx6 ?= "gpu-viv-bin-mx6q"
> >> >#PREFERRED_PROVIDER_virtual/libgles1_mx6 ?= "gpu-viv-bin-mx6q"
> >> >#PREFERRED_PROVIDER_virtual/libgles2_mx6 ?= "gpu-viv-bin-mx6q"
> >>
> >It will remove GPU support for the mx6 boards. So I´m not sure it´s a good
> idea.
> >
> >What image are you trying to build? I was not able to figure it out
> >
> >
> >Daiane
> >
> >> and changing the default-providers.inc what do you think?
> >>
> >> Omar
> >>
> >> >----- Original Message -----
> >> >From: pighi at selea.com
> >> >To:
> >> >pighi at selea.com,pighi at selea.com,gary at mlbassoc.com,pighi at selea.com,me
> >> >ta-
> >> >freescale at yoctoproject.org
> >> >Data: Tue, 18 Mar 2014 14:39:27 +0100
> >> >Subject: FIXED Re: [meta-freescale] HOB unable to parse initial
> >> >sabresd
> >>
> >> >Yes I got it!in two different files :
> >> >
> >> >/sources/meta-fsl-arm/conf/machine/include/imx-base.inc
> >> >and
> >> >sources/poky/meta/conf/distro/include/default-providers.inc
> >> >
> >> >there is a conflict, I edited the imx-base.inc:
> >> >
> >> ># mx6 GPU libraries
> >> >PREFERRED_PROVIDER_virtual/egl_mx6 ?= "mesa"
> >> >PREFERRED_PROVIDER_virtual/libgl_mx6 ?= "mesa"
> >> >PREFERRED_PROVIDER_virtual/libgles1_mx6 ?= "mesa"
> >> >PREFERRED_PROVIDER_virtual/libgles2_mx6 ?= "mesa"
> >> >#PREFERRED_PROVIDER_virtual/egl_mx6 ?= "gpu-viv-bin-mx6q"
> >> >#PREFERRED_PROVIDER_virtual/libgl_mx6 ?= "gpu-viv-bin-mx6q"
> >> >#PREFERRED_PROVIDER_virtual/libgles1_mx6 ?= "gpu-viv-bin-mx6q"
> >> >#PREFERRED_PROVIDER_virtual/libgles2_mx6 ?= "gpu-viv-bin-mx6q"
> >> >
> >> >now i will try to make a patch ... weel i'm not expert so I hope to
> >> >doing
> >> right... If i do something wrong please help me.
> >> >
> >> >Omar
> >> >
> >> >
> >> >
> >> >>----- Original Message -----
> >> >>From: pighi at selea.com
> >> >>To:
> >> >>pighi at selea.com,gary at mlbassoc.com,pighi at selea.com,meta-freescale at yo
> >> >>cto
> >> >>project.org
> >> >>Data: Tue, 18 Mar 2014 14:03:38 +0100
> >> >>Subject: Re: [meta-freescale] HOB unable to parse initial sabresd
> >> >
> >> >>well  i tried to change that file settings all the
> >> >>PREFERRED_PROVIDER for
> >> meta to the same .. but nothing change. I still have the same error..
> >> so it cames from something else.
> >> >>But who can be contacted about HOB issues?
> >> >>
> >> >>Omar
> >> >>
> >> >>
> >> >>
> >> >>>----- Original Message -----
> >> >>>From: pighi at selea.com
> >> >>>To:
> >> >>>gary at mlbassoc.com,pighi at selea.com,meta-freescale at yoctoproject.org
> >> >>>Data: Tue, 18 Mar 2014 12:17:45 +0100
> >> >>>Subject: Re: [meta-freescale] HOB unable to parse initial sabresd
> >> >>
> >> >>>Well the error is here:
> >> >>>/home/yocto/IMX6_yocto/fsl-community-bsp/sources/poky/bitbake/lib/
> >> >>>toa
> >> >>>ster/orm/fixtures/
> >> >>>
> >> >>>the file:orm_views_testdata.json
> >> >>>
> >> >>>contain two different definition of
> >> >>>
> >> >>>{
> >> >>>    "pk": 282,
> >> >>>    "model": "orm.variable",
> >> >>>    "fields": {
> >> >>>        "changed": false,
> >> >>>        "description": "If multiple recipes provide an item, this
> >> variable determines which recipe should be given preference.",
> >> >>>        "variable_value": "mesa",
> >> >>>        "human_readable_name": "",
> >> >>>        "build": 1,
> >> >>>        "variable_name": "PREFERRED_PROVIDER_virtual/libgl"
> >> >>>    }
> >> >>>},
> >> >>>
> >> >>>
> >> >>>and
> >> >>>
> >> >>>{
> >> >>>    "pk": 494,
> >> >>>    "model": "orm.variable",
> >> >>>    "fields": {
> >> >>>        "changed": false,
> >> >>>        "description": "If multiple recipes provide an item, this
> >> variable determines which recipe should be given preference.",
> >> >>>        "variable_value": "mesa",
> >> >>>        "human_readable_name": "",
> >> >>>        "build": 1,
> >> >>>        "variable_name": "PREFERRED_PROVIDER_virtual/mesa"
> >> >>>    }
> >> >>>},
> >> >>>
> >> >>>this is the conflict.
> >> >>>this file is used only by hob.
> >> >>>Now... Can i change it? or is it produced by HOB? which one have i
> >> >>>to
> >> keep?
> >> >>>
> >> >>>Thanks
> >> >>>Omar
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> >> >>>>----- Original Message -----
> >> >>>>From: gary at mlbassoc.com
> >> >>>>To: pighi at selea.com,meta-freescale at yoctoproject.org
> >> >>>>Data: Tue, 18 Mar 2014 04:05:52 -0600
> >> >>>>Subject: Re: [meta-freescale] HOB unable to parse initial sabresd
> >> >>>
> >> >>>>On 2014-03-18 03:42, pighi at selea.com wrote:
> >> >>>>> well the errors are actually 2 (the ame conflct) one is on
> >> >>>>> libgl and the seond one is on libgl-dev
> >> >>>>
> >> >>>>Yes, I see this as well.
> >> >>>>  Trying to resolve runtime dependency libgl-dev resulted in
> >> conflicting PREFERRED_PROVIDER entries being found.
> >> >>>>  The providers found were:
> >> >>>>['/local/poky-multi/meta/recipes-graphics/mesa/mesa_9.2.5.bb',
> >> >>>>'/local/poky-multi/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q
> >> >>>>/gp u-viv-bin-mx6q_3.10.9-1.0.0-hfp.bb']
> >> >>>>  The PREFERRED_PROVIDER entries resulting in this conflict were:
> >> >>>>['PREFERRED_PROVIDER_virtual/mesa = mesa',
> >> >>>>'PREFERRED_PROVIDER_virtual/libgl = gpu-viv-bin-mx6q']
> >> >>>>
> >> >>>>Worse than just this error/conflict is the fact that hob just
> >> >>>>stopped and I only saw the error when I tried to kill/close it.
> >> >>>>
> >> >>>>I think you should file a bug against this.
> >> >>>>
> >> >>>>n.b. I don't see this error if I run bitbake from the command line.
> >> >>>>
> >> >>>>>> ----- Original Message -----
> >> >>>>>> From: gary at mlbassoc.com
> >> >>>>>> To: pighi at selea.com,meta-freescale at yoctoproject.org
> >> >>>>>> Data: Tue, 18 Mar 2014 03:31:25 -0600
> >> >>>>>> Subject: Re: [meta-freescale] HOB unable to parse initial
> >> >>>>>> sabresd
> >> >>>>>
> >> >>>>>> On 2014-03-18 03:24, pighi at selea.com wrote:
> >> >>>>>>> I'm using the Master branch
> >> >>>>>>
> >> >>>>>> Master branch of both Poky/Yocto and meta-fsl-arm* What
> >> >>>>>> revision (since these are quickly moving targets)?
> >> >>>>>>
> >> >>>>>>>> ----- Original Message -----
> >> >>>>>>>> From: gary at mlbassoc.com
> >> >>>>>>>> To: meta-freescale at yoctoproject.org
> >> >>>>>>>> Data: Tue, 18 Mar 2014 03:11:53 -0600
> >> >>>>>>>> Subject: Re: [meta-freescale] HOB unable to parse initial
> >> >>>>>>>> sabresd
> >> >>>>>>>
> >> >>>>>>>> On 2014-03-18 03:07, pighi at selea.com wrote:
> >> >>>>>>>>> I want to bump this problem with Hob, the error i still
> >> >>>>>>>>> present
> >> and not resolved yet:
> >> >>>>>>>>>
> >> >>>>>>>>> https://lists.yoctoproject.org/pipermail/meta-freescale/201
> >> >>>>>>>>> 3-O
> >> >>>>>>>>> ctober/005444.html
> >> >>>>>>>>>
> >> >>>>>>>>> https://lists.yoctoproject.org/pipermail/meta-freescale/201
> >> >>>>>>>>> 3-D
> >> >>>>>>>>> ecember/006067.html
> >> >>>>>>>>
> >> >>>>>>>> What revision/branch of the metadata are you using?
> >> >>>>>>
> >> >>>>>>
> >> >>>>>> --
> >> >>>>>> ------------------------------------------------------------
> >> >>>>>> Gary Thomas                 |  Consulting for the
> >> >>>>>> MLB Associates              |    Embedded world
> >> >>>>>> ------------------------------------------------------------
> >> >>>>>>
> >> >>>>>>
> >> >>>>>
> >> >>>>>
> >> >>>>> Dott.Ing. Omar Pighi
> >> >>>>> R&D Selea
> >> >>>>>
> >> >>>>
> >> >>>>--
> >> >>>>------------------------------------------------------------
> >> >>>>Gary Thomas                 |  Consulting for the
> >> >>>>MLB Associates              |    Embedded world
> >> >>>>------------------------------------------------------------
> >> >>>>
> >> >>>>
> >> >>>
> >> >>>
> >> >>>Dott.Ing. Omar Pighi
> >> >>>R&D Selea
> >> >>>
> >> >>>
> >> >>>
> >> >>
> >> >>
> >> >>Dott.Ing. Omar Pighi
> >> >>R&D Selea
> >> >>
> >> >>
> >> >>
> >> >
> >> >
> >> >Dott.Ing. Omar Pighi
> >> >R&D Selea
> >> >
> >> >
> >> >
> >>
> >>
> >> Dott.Ing. Omar Pighi
> >> R&D Selea
> >>
> >>
> >> --
> >> _______________________________________________
> >> meta-freescale mailing list
> >> meta-freescale at yoctoproject.org
> >> https://lists.yoctoproject.org/listinfo/meta-freescale
> >>
> >
> >
> 
> 
> Dott.Ing. Omar Pighi
> R&D Selea
> 
> 
> 



More information about the meta-freescale mailing list