* Removing gpu-viv-bin-mx6q from custom image @ 2015-06-30 5:33 Jean-Michel Hautbois 2015-06-30 11:37 ` Daiane Angolini 0 siblings, 1 reply; 16+ messages in thread From: Jean-Michel Hautbois @ 2015-06-30 5:33 UTC (permalink / raw) To: meta-freescale [-- Attachment #1: Type: text/plain, Size: 316 bytes --] Hi ! I have a custom image for a I.MX6 board and I don't need to have the gpu-viv-bin-mx6q package installed. I am depending in my image on core-image-base and I don't add it in the EXTRA_IMAGE_INSTALL variable. But I still get it installed. What is it installed by and how can I remove it ? Thanks ! JM [-- Attachment #2: Type: text/html, Size: 376 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Removing gpu-viv-bin-mx6q from custom image 2015-06-30 5:33 Removing gpu-viv-bin-mx6q from custom image Jean-Michel Hautbois @ 2015-06-30 11:37 ` Daiane Angolini 2015-06-30 12:01 ` Jean-Michel Hautbois 0 siblings, 1 reply; 16+ messages in thread From: Daiane Angolini @ 2015-06-30 11:37 UTC (permalink / raw) To: Jean-Michel Hautbois; +Cc: meta-freescale@yoctoproject.org On Tue, Jun 30, 2015 at 2:33 AM, Jean-Michel Hautbois <jhautbois@gmail.com> wrote: > Hi ! > > I have a custom image for a I.MX6 board and I don't need to have the > gpu-viv-bin-mx6q package installed. I am depending in my image on > core-image-base and I don't add it in the EXTRA_IMAGE_INSTALL variable. But > I still get it installed. > > What is it installed by and how can I remove it ? The complete BSP is built targeting the maximum use of GPU acceleration for any imx6Q boards. That's why you cannot "remove" GPU packages. Too many dependencies making you use it by default. You can try to blacklist it (http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html#ref-classes-blacklist) Or, you can override several BSP configurations: http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n23 http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n94 (from line 94 to 108) No options I have tested before. Daiane > Thanks ! > JM > > > -- > _______________________________________________ > meta-freescale mailing list > meta-freescale@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-freescale > ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Removing gpu-viv-bin-mx6q from custom image 2015-06-30 11:37 ` Daiane Angolini @ 2015-06-30 12:01 ` Jean-Michel Hautbois 2015-06-30 12:13 ` Daiane Angolini 0 siblings, 1 reply; 16+ messages in thread From: Jean-Michel Hautbois @ 2015-06-30 12:01 UTC (permalink / raw) To: Daiane Angolini; +Cc: meta-freescale@yoctoproject.org Hi Daiane, 2015-06-30 13:37 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: > On Tue, Jun 30, 2015 at 2:33 AM, Jean-Michel Hautbois > <jhautbois@gmail.com> wrote: >> Hi ! >> >> I have a custom image for a I.MX6 board and I don't need to have the >> gpu-viv-bin-mx6q package installed. I am depending in my image on >> core-image-base and I don't add it in the EXTRA_IMAGE_INSTALL variable. But >> I still get it installed. >> >> What is it installed by and how can I remove it ? > > The complete BSP is built targeting the maximum use of GPU > acceleration for any imx6Q boards. That's why you cannot "remove" GPU > packages. Too many dependencies making you use it by default. > > You can try to blacklist it > (http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html#ref-classes-blacklist) > > Or, you can override several BSP configurations: > > http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n23 > http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n94 > (from line 94 to 108) Just tested to add this to my custom machine : XSERVER_DRIVER_mx6 ?= "" PREFERRED_PROVIDER_virtual/egl_mx6 ?= "" PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "" PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "" PREFERRED_PROVIDER_virtual/libgles1_mx6sx ?= "" PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "" PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "" PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "" PREFERRED_PROVIDER_virtual/libgles2_mx6sx ?= "" PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "" PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "" PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "" PREFERRED_PROVIDER_virtual/libgl_mx6sx ?= "" PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "" PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "" But the following command still shows gpu-viv-bin-mx6q : bitbake -g my-image && cat pn-depends.dot | grep -v -e '-native' | grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniq JM ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Removing gpu-viv-bin-mx6q from custom image 2015-06-30 12:01 ` Jean-Michel Hautbois @ 2015-06-30 12:13 ` Daiane Angolini 2015-06-30 13:20 ` Jean-Michel Hautbois 0 siblings, 1 reply; 16+ messages in thread From: Daiane Angolini @ 2015-06-30 12:13 UTC (permalink / raw) To: Jean-Michel Hautbois; +Cc: meta-freescale@yoctoproject.org On Tue, Jun 30, 2015 at 9:01 AM, Jean-Michel Hautbois <jhautbois@gmail.com> wrote: > Hi Daiane, > > 2015-06-30 13:37 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: >> On Tue, Jun 30, 2015 at 2:33 AM, Jean-Michel Hautbois >> <jhautbois@gmail.com> wrote: >>> Hi ! >>> >>> I have a custom image for a I.MX6 board and I don't need to have the >>> gpu-viv-bin-mx6q package installed. I am depending in my image on >>> core-image-base and I don't add it in the EXTRA_IMAGE_INSTALL variable. But >>> I still get it installed. >>> >>> What is it installed by and how can I remove it ? >> >> The complete BSP is built targeting the maximum use of GPU >> acceleration for any imx6Q boards. That's why you cannot "remove" GPU >> packages. Too many dependencies making you use it by default. >> >> You can try to blacklist it >> (http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html#ref-classes-blacklist) >> >> Or, you can override several BSP configurations: >> >> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n23 >> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n94 >> (from line 94 to 108) > > Just tested to add this to my custom machine : > XSERVER_DRIVER_mx6 ?= "" > PREFERRED_PROVIDER_virtual/egl_mx6 ?= "" > PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "" > PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "" > PREFERRED_PROVIDER_virtual/libgles1_mx6sx ?= "" > PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "" > PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "" > PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "" > PREFERRED_PROVIDER_virtual/libgles2_mx6sx ?= "" > PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "" > PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "" > PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "" > PREFERRED_PROVIDER_virtual/libgl_mx6sx ?= "" > PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "" > PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "" > > But the following command still shows gpu-viv-bin-mx6q : > bitbake -g my-image && cat pn-depends.dot | grep -v -e '-native' | > grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniq I would use a stronger assignemnt instead of ?= (http://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#setting-a-default-value) Maybe imx-base.inc from BSP is stronger than you machine config file. However, maybe I forgot one BSP dependency. Which package your dependency graph say is bringing the vpu package? Daiane > > JM ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Removing gpu-viv-bin-mx6q from custom image 2015-06-30 12:13 ` Daiane Angolini @ 2015-06-30 13:20 ` Jean-Michel Hautbois 2015-06-30 13:29 ` Daiane Angolini 0 siblings, 1 reply; 16+ messages in thread From: Jean-Michel Hautbois @ 2015-06-30 13:20 UTC (permalink / raw) To: Daiane Angolini; +Cc: meta-freescale@yoctoproject.org 2015-06-30 14:13 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: > On Tue, Jun 30, 2015 at 9:01 AM, Jean-Michel Hautbois > <jhautbois@gmail.com> wrote: >> Hi Daiane, >> >> 2015-06-30 13:37 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: >>> On Tue, Jun 30, 2015 at 2:33 AM, Jean-Michel Hautbois >>> <jhautbois@gmail.com> wrote: >>>> Hi ! >>>> >>>> I have a custom image for a I.MX6 board and I don't need to have the >>>> gpu-viv-bin-mx6q package installed. I am depending in my image on >>>> core-image-base and I don't add it in the EXTRA_IMAGE_INSTALL variable. But >>>> I still get it installed. >>>> >>>> What is it installed by and how can I remove it ? >>> >>> The complete BSP is built targeting the maximum use of GPU >>> acceleration for any imx6Q boards. That's why you cannot "remove" GPU >>> packages. Too many dependencies making you use it by default. >>> >>> You can try to blacklist it >>> (http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html#ref-classes-blacklist) >>> >>> Or, you can override several BSP configurations: >>> >>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n23 >>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n94 >>> (from line 94 to 108) >> >> Just tested to add this to my custom machine : >> XSERVER_DRIVER_mx6 ?= "" >> PREFERRED_PROVIDER_virtual/egl_mx6 ?= "" >> PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "" >> PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "" >> PREFERRED_PROVIDER_virtual/libgles1_mx6sx ?= "" >> PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "" >> PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "" >> PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "" >> PREFERRED_PROVIDER_virtual/libgles2_mx6sx ?= "" >> PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "" >> PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "" >> PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "" >> PREFERRED_PROVIDER_virtual/libgl_mx6sx ?= "" >> PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "" >> PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "" >> >> But the following command still shows gpu-viv-bin-mx6q : >> bitbake -g my-image && cat pn-depends.dot | grep -v -e '-native' | >> grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniq > > > I would use a stronger assignemnt instead of ?= > (http://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#setting-a-default-value) > > Maybe imx-base.inc from BSP is stronger than you machine config file. > > However, maybe I forgot one BSP dependency. Which package your > dependency graph say is bringing the vpu package? You mean bitbake -g gpu-viv-bin-mx6q ? Or something else ? JM ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Removing gpu-viv-bin-mx6q from custom image 2015-06-30 13:20 ` Jean-Michel Hautbois @ 2015-06-30 13:29 ` Daiane Angolini 2015-06-30 13:37 ` Jean-Michel Hautbois 0 siblings, 1 reply; 16+ messages in thread From: Daiane Angolini @ 2015-06-30 13:29 UTC (permalink / raw) To: Jean-Michel Hautbois; +Cc: meta-freescale@yoctoproject.org On Tue, Jun 30, 2015 at 10:20 AM, Jean-Michel Hautbois <jhautbois@gmail.com> wrote: > 2015-06-30 14:13 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: >> On Tue, Jun 30, 2015 at 9:01 AM, Jean-Michel Hautbois >> <jhautbois@gmail.com> wrote: >>> Hi Daiane, >>> >>> 2015-06-30 13:37 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: >>>> On Tue, Jun 30, 2015 at 2:33 AM, Jean-Michel Hautbois >>>> <jhautbois@gmail.com> wrote: >>>>> Hi ! >>>>> >>>>> I have a custom image for a I.MX6 board and I don't need to have the >>>>> gpu-viv-bin-mx6q package installed. I am depending in my image on >>>>> core-image-base and I don't add it in the EXTRA_IMAGE_INSTALL variable. But >>>>> I still get it installed. >>>>> >>>>> What is it installed by and how can I remove it ? >>>> >>>> The complete BSP is built targeting the maximum use of GPU >>>> acceleration for any imx6Q boards. That's why you cannot "remove" GPU >>>> packages. Too many dependencies making you use it by default. >>>> >>>> You can try to blacklist it >>>> (http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html#ref-classes-blacklist) >>>> >>>> Or, you can override several BSP configurations: >>>> >>>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n23 >>>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n94 >>>> (from line 94 to 108) >>> >>> Just tested to add this to my custom machine : >>> XSERVER_DRIVER_mx6 ?= "" >>> PREFERRED_PROVIDER_virtual/egl_mx6 ?= "" >>> PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "" >>> PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "" >>> PREFERRED_PROVIDER_virtual/libgles1_mx6sx ?= "" >>> PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "" >>> PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "" >>> PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "" >>> PREFERRED_PROVIDER_virtual/libgles2_mx6sx ?= "" >>> PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "" >>> PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "" >>> PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "" >>> PREFERRED_PROVIDER_virtual/libgl_mx6sx ?= "" >>> PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "" >>> PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "" >>> >>> But the following command still shows gpu-viv-bin-mx6q : >>> bitbake -g my-image && cat pn-depends.dot | grep -v -e '-native' | >>> grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniq >> >> >> I would use a stronger assignemnt instead of ?= >> (http://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#setting-a-default-value) >> >> Maybe imx-base.inc from BSP is stronger than you machine config file. >> >> However, maybe I forgot one BSP dependency. Which package your >> dependency graph say is bringing the vpu package? > > You mean bitbake -g gpu-viv-bin-mx6q ? > Or something else ? I though about using the same command line you shared before: >>> bitbake -g my-image && cat pn-depends.dot | grep -v -e '-native' | >>> grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniq But without the grep's Daiane > > JM ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Removing gpu-viv-bin-mx6q from custom image 2015-06-30 13:29 ` Daiane Angolini @ 2015-06-30 13:37 ` Jean-Michel Hautbois 2015-06-30 13:49 ` Daiane Angolini 0 siblings, 1 reply; 16+ messages in thread From: Jean-Michel Hautbois @ 2015-06-30 13:37 UTC (permalink / raw) To: Daiane Angolini; +Cc: meta-freescale@yoctoproject.org 2015-06-30 15:29 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: > On Tue, Jun 30, 2015 at 10:20 AM, Jean-Michel Hautbois > <jhautbois@gmail.com> wrote: >> 2015-06-30 14:13 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: >>> On Tue, Jun 30, 2015 at 9:01 AM, Jean-Michel Hautbois >>> <jhautbois@gmail.com> wrote: >>>> Hi Daiane, >>>> >>>> 2015-06-30 13:37 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: >>>>> On Tue, Jun 30, 2015 at 2:33 AM, Jean-Michel Hautbois >>>>> <jhautbois@gmail.com> wrote: >>>>>> Hi ! >>>>>> >>>>>> I have a custom image for a I.MX6 board and I don't need to have the >>>>>> gpu-viv-bin-mx6q package installed. I am depending in my image on >>>>>> core-image-base and I don't add it in the EXTRA_IMAGE_INSTALL variable. But >>>>>> I still get it installed. >>>>>> >>>>>> What is it installed by and how can I remove it ? >>>>> >>>>> The complete BSP is built targeting the maximum use of GPU >>>>> acceleration for any imx6Q boards. That's why you cannot "remove" GPU >>>>> packages. Too many dependencies making you use it by default. >>>>> >>>>> You can try to blacklist it >>>>> (http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html#ref-classes-blacklist) >>>>> >>>>> Or, you can override several BSP configurations: >>>>> >>>>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n23 >>>>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n94 >>>>> (from line 94 to 108) >>>> >>>> Just tested to add this to my custom machine : >>>> XSERVER_DRIVER_mx6 ?= "" >>>> PREFERRED_PROVIDER_virtual/egl_mx6 ?= "" >>>> PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "" >>>> PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "" >>>> PREFERRED_PROVIDER_virtual/libgles1_mx6sx ?= "" >>>> PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "" >>>> PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "" >>>> PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "" >>>> PREFERRED_PROVIDER_virtual/libgles2_mx6sx ?= "" >>>> PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "" >>>> PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "" >>>> PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "" >>>> PREFERRED_PROVIDER_virtual/libgl_mx6sx ?= "" >>>> PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "" >>>> PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "" >>>> >>>> But the following command still shows gpu-viv-bin-mx6q : >>>> bitbake -g my-image && cat pn-depends.dot | grep -v -e '-native' | >>>> grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniq >>> >>> >>> I would use a stronger assignemnt instead of ?= >>> (http://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#setting-a-default-value) >>> >>> Maybe imx-base.inc from BSP is stronger than you machine config file. >>> >>> However, maybe I forgot one BSP dependency. Which package your >>> dependency graph say is bringing the vpu package? >> >> You mean bitbake -g gpu-viv-bin-mx6q ? >> Or something else ? > > I though about using the same command line you shared before: > >>>> bitbake -g my-image && cat pn-depends.dot | grep -v -e '-native' | >>>> grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniq > > But without the grep's > > Daiane >> >> JM Well, it is quite big, I grepped on "gpu-viv" to start : "gpu-viv-bin-mx6q" [label="gpu-viv-bin-mx6q 1:3.10.17-1.0.2-hfp-r0\n/run/media/jm/SSD_JM/Projets/veobox3/poky/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.17-1.0.2-hfp.bb"] "gpu-viv-bin-mx6q" -> "virtual/arm-poky-linux-gnueabi-gcc" "gpu-viv-bin-mx6q" -> "mesa" "gpu-viv-bin-mx6q" -> "libxext" "gpu-viv-bin-mx6q" -> "virtual/arm-poky-linux-gnueabi-compilerlibs" "gpu-viv-bin-mx6q" -> "virtual/libc" "gpu-viv-bin-mx6q" -> "libxfixes" "gpu-viv-bin-mx6q" -> "libxdamage" "gpu-viv-bin-mx6q" -> "virtual/libx11" "gpu-viv-bin-mx6q" -> "libdrm" [style=dashed] "gpu-viv-bin-mx6q" -> "libclc-mx6" [style=dashed] "gpu-viv-bin-mx6q" -> "libglslc-mx6" [style=dashed] "gpu-viv-bin-mx6q" -> "gpu-viv-bin-mx6q" [style=dashed] "gpu-viv-bin-mx6q" -> "gpu-viv-bin-mx6q-dev" [style=dashed] If you want everything, I will paste it, but not sure it would be useful ? JM ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Removing gpu-viv-bin-mx6q from custom image 2015-06-30 13:37 ` Jean-Michel Hautbois @ 2015-06-30 13:49 ` Daiane Angolini 2015-06-30 13:52 ` Daiane Angolini 2015-06-30 14:04 ` Jean-Michel Hautbois 0 siblings, 2 replies; 16+ messages in thread From: Daiane Angolini @ 2015-06-30 13:49 UTC (permalink / raw) To: Jean-Michel Hautbois; +Cc: meta-freescale@yoctoproject.org On Tue, Jun 30, 2015 at 10:37 AM, Jean-Michel Hautbois <jhautbois@gmail.com> wrote: > 2015-06-30 15:29 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: >> On Tue, Jun 30, 2015 at 10:20 AM, Jean-Michel Hautbois >> <jhautbois@gmail.com> wrote: >>> 2015-06-30 14:13 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: >>>> On Tue, Jun 30, 2015 at 9:01 AM, Jean-Michel Hautbois >>>> <jhautbois@gmail.com> wrote: >>>>> Hi Daiane, >>>>> >>>>> 2015-06-30 13:37 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: >>>>>> On Tue, Jun 30, 2015 at 2:33 AM, Jean-Michel Hautbois >>>>>> <jhautbois@gmail.com> wrote: >>>>>>> Hi ! >>>>>>> >>>>>>> I have a custom image for a I.MX6 board and I don't need to have the >>>>>>> gpu-viv-bin-mx6q package installed. I am depending in my image on >>>>>>> core-image-base and I don't add it in the EXTRA_IMAGE_INSTALL variable. But >>>>>>> I still get it installed. >>>>>>> >>>>>>> What is it installed by and how can I remove it ? >>>>>> >>>>>> The complete BSP is built targeting the maximum use of GPU >>>>>> acceleration for any imx6Q boards. That's why you cannot "remove" GPU >>>>>> packages. Too many dependencies making you use it by default. >>>>>> >>>>>> You can try to blacklist it >>>>>> (http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html#ref-classes-blacklist) >>>>>> >>>>>> Or, you can override several BSP configurations: >>>>>> >>>>>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n23 >>>>>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n94 >>>>>> (from line 94 to 108) >>>>> >>>>> Just tested to add this to my custom machine : >>>>> XSERVER_DRIVER_mx6 ?= "" >>>>> PREFERRED_PROVIDER_virtual/egl_mx6 ?= "" >>>>> PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "" >>>>> PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "" >>>>> PREFERRED_PROVIDER_virtual/libgles1_mx6sx ?= "" >>>>> PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "" >>>>> PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "" >>>>> PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "" >>>>> PREFERRED_PROVIDER_virtual/libgles2_mx6sx ?= "" >>>>> PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "" >>>>> PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "" >>>>> PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "" >>>>> PREFERRED_PROVIDER_virtual/libgl_mx6sx ?= "" >>>>> PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "" >>>>> PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "" >>>>> >>>>> But the following command still shows gpu-viv-bin-mx6q : >>>>> bitbake -g my-image && cat pn-depends.dot | grep -v -e '-native' | >>>>> grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniq >>>> >>>> >>>> I would use a stronger assignemnt instead of ?= >>>> (http://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#setting-a-default-value) >>>> >>>> Maybe imx-base.inc from BSP is stronger than you machine config file. >>>> >>>> However, maybe I forgot one BSP dependency. Which package your >>>> dependency graph say is bringing the vpu package? >>> >>> You mean bitbake -g gpu-viv-bin-mx6q ? >>> Or something else ? >> >> I though about using the same command line you shared before: >> >>>>> bitbake -g my-image && cat pn-depends.dot | grep -v -e '-native' | >>>>> grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniq >> >> But without the grep's >> >> Daiane >>> >>> JM > > Well, it is quite big, I grepped on "gpu-viv" to start : > "gpu-viv-bin-mx6q" [label="gpu-viv-bin-mx6q > 1:3.10.17-1.0.2-hfp-r0\n/run/media/jm/SSD_JM/Projets/veobox3/poky/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.17-1.0.2-hfp.bb"] > "gpu-viv-bin-mx6q" -> "virtual/arm-poky-linux-gnueabi-gcc" > "gpu-viv-bin-mx6q" -> "mesa" > "gpu-viv-bin-mx6q" -> "libxext" > "gpu-viv-bin-mx6q" -> "virtual/arm-poky-linux-gnueabi-compilerlibs" > "gpu-viv-bin-mx6q" -> "virtual/libc" > "gpu-viv-bin-mx6q" -> "libxfixes" > "gpu-viv-bin-mx6q" -> "libxdamage" > "gpu-viv-bin-mx6q" -> "virtual/libx11" > "gpu-viv-bin-mx6q" -> "libdrm" [style=dashed] > "gpu-viv-bin-mx6q" -> "libclc-mx6" [style=dashed] > "gpu-viv-bin-mx6q" -> "libglslc-mx6" [style=dashed] > "gpu-viv-bin-mx6q" -> "gpu-viv-bin-mx6q" [style=dashed] > "gpu-viv-bin-mx6q" -> "gpu-viv-bin-mx6q-dev" [style=dashed] > > > If you want everything, I will paste it, but not sure it would be useful ? Well I expected it to be huge. The idea here is to try to understand which are the configuration which is bringing the features vivante PROVIDES. For example, it looks like you are using X11, even not using X11. You can think about remove it from DISTRO_FEATURES. What happens is something like: x11 lib -> GL -> vivante Another possible is opengl on DISTRO_FEATURES. Have you double checked it? It may bring mesa (among another other packages which can bring mesa). Take a look in mesa bbappend http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/recipes-graphics/mesa/mesa_%25.bbappend What was the result of blacklist'ing the package name? Daiane > > JM ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Removing gpu-viv-bin-mx6q from custom image 2015-06-30 13:49 ` Daiane Angolini @ 2015-06-30 13:52 ` Daiane Angolini 2015-06-30 14:04 ` Jean-Michel Hautbois 1 sibling, 0 replies; 16+ messages in thread From: Daiane Angolini @ 2015-06-30 13:52 UTC (permalink / raw) To: Jean-Michel Hautbois; +Cc: meta-freescale@yoctoproject.org On Tue, Jun 30, 2015 at 10:49 AM, Daiane Angolini <daiane.list@gmail.com> wrote: >> Well, it is quite big, I grepped on "gpu-viv" to start : >> "gpu-viv-bin-mx6q" [label="gpu-viv-bin-mx6q >> 1:3.10.17-1.0.2-hfp-r0\n/run/media/jm/SSD_JM/Projets/veobox3/poky/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.17-1.0.2-hfp.bb"] >> "gpu-viv-bin-mx6q" -> "virtual/arm-poky-linux-gnueabi-gcc" >> "gpu-viv-bin-mx6q" -> "mesa" >> "gpu-viv-bin-mx6q" -> "libxext" >> "gpu-viv-bin-mx6q" -> "virtual/arm-poky-linux-gnueabi-compilerlibs" >> "gpu-viv-bin-mx6q" -> "virtual/libc" >> "gpu-viv-bin-mx6q" -> "libxfixes" >> "gpu-viv-bin-mx6q" -> "libxdamage" >> "gpu-viv-bin-mx6q" -> "virtual/libx11" >> "gpu-viv-bin-mx6q" -> "libdrm" [style=dashed] >> "gpu-viv-bin-mx6q" -> "libclc-mx6" [style=dashed] >> "gpu-viv-bin-mx6q" -> "libglslc-mx6" [style=dashed] >> "gpu-viv-bin-mx6q" -> "gpu-viv-bin-mx6q" [style=dashed] >> "gpu-viv-bin-mx6q" -> "gpu-viv-bin-mx6q-dev" [style=dashed] >> >> >> If you want everything, I will paste it, but not sure it would be useful ? > > Well I expected it to be huge. The idea here is to try to understand > which are the configuration which is bringing the features vivante > PROVIDES. Maybe it's a good time to take this opportunity to share again the Release Notes of FSL Community BSP http://freescale.github.io/doc/release-notes/1.8/ And landing page http://freescale.github.io Daiane ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Removing gpu-viv-bin-mx6q from custom image 2015-06-30 13:49 ` Daiane Angolini 2015-06-30 13:52 ` Daiane Angolini @ 2015-06-30 14:04 ` Jean-Michel Hautbois 2015-06-30 14:13 ` Gary Thomas 1 sibling, 1 reply; 16+ messages in thread From: Jean-Michel Hautbois @ 2015-06-30 14:04 UTC (permalink / raw) To: Daiane Angolini; +Cc: meta-freescale@yoctoproject.org 2015-06-30 15:49 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: > On Tue, Jun 30, 2015 at 10:37 AM, Jean-Michel Hautbois > <jhautbois@gmail.com> wrote: >> 2015-06-30 15:29 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: >>> On Tue, Jun 30, 2015 at 10:20 AM, Jean-Michel Hautbois >>> <jhautbois@gmail.com> wrote: >>>> 2015-06-30 14:13 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: >>>>> On Tue, Jun 30, 2015 at 9:01 AM, Jean-Michel Hautbois >>>>> <jhautbois@gmail.com> wrote: >>>>>> Hi Daiane, >>>>>> >>>>>> 2015-06-30 13:37 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: >>>>>>> On Tue, Jun 30, 2015 at 2:33 AM, Jean-Michel Hautbois >>>>>>> <jhautbois@gmail.com> wrote: >>>>>>>> Hi ! >>>>>>>> >>>>>>>> I have a custom image for a I.MX6 board and I don't need to have the >>>>>>>> gpu-viv-bin-mx6q package installed. I am depending in my image on >>>>>>>> core-image-base and I don't add it in the EXTRA_IMAGE_INSTALL variable. But >>>>>>>> I still get it installed. >>>>>>>> >>>>>>>> What is it installed by and how can I remove it ? >>>>>>> >>>>>>> The complete BSP is built targeting the maximum use of GPU >>>>>>> acceleration for any imx6Q boards. That's why you cannot "remove" GPU >>>>>>> packages. Too many dependencies making you use it by default. >>>>>>> >>>>>>> You can try to blacklist it >>>>>>> (http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html#ref-classes-blacklist) >>>>>>> >>>>>>> Or, you can override several BSP configurations: >>>>>>> >>>>>>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n23 >>>>>>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n94 >>>>>>> (from line 94 to 108) >>>>>> >>>>>> Just tested to add this to my custom machine : >>>>>> XSERVER_DRIVER_mx6 ?= "" >>>>>> PREFERRED_PROVIDER_virtual/egl_mx6 ?= "" >>>>>> PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "" >>>>>> PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "" >>>>>> PREFERRED_PROVIDER_virtual/libgles1_mx6sx ?= "" >>>>>> PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "" >>>>>> PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "" >>>>>> PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "" >>>>>> PREFERRED_PROVIDER_virtual/libgles2_mx6sx ?= "" >>>>>> PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "" >>>>>> PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "" >>>>>> PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "" >>>>>> PREFERRED_PROVIDER_virtual/libgl_mx6sx ?= "" >>>>>> PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "" >>>>>> PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "" >>>>>> >>>>>> But the following command still shows gpu-viv-bin-mx6q : >>>>>> bitbake -g my-image && cat pn-depends.dot | grep -v -e '-native' | >>>>>> grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniq >>>>> >>>>> >>>>> I would use a stronger assignemnt instead of ?= >>>>> (http://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#setting-a-default-value) >>>>> >>>>> Maybe imx-base.inc from BSP is stronger than you machine config file. >>>>> >>>>> However, maybe I forgot one BSP dependency. Which package your >>>>> dependency graph say is bringing the vpu package? >>>> >>>> You mean bitbake -g gpu-viv-bin-mx6q ? >>>> Or something else ? >>> >>> I though about using the same command line you shared before: >>> >>>>>> bitbake -g my-image && cat pn-depends.dot | grep -v -e '-native' | >>>>>> grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniq >>> >>> But without the grep's >>> >>> Daiane >>>> >>>> JM >> >> Well, it is quite big, I grepped on "gpu-viv" to start : >> "gpu-viv-bin-mx6q" [label="gpu-viv-bin-mx6q >> 1:3.10.17-1.0.2-hfp-r0\n/run/media/jm/SSD_JM/Projets/veobox3/poky/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.17-1.0.2-hfp.bb"] >> "gpu-viv-bin-mx6q" -> "virtual/arm-poky-linux-gnueabi-gcc" >> "gpu-viv-bin-mx6q" -> "mesa" >> "gpu-viv-bin-mx6q" -> "libxext" >> "gpu-viv-bin-mx6q" -> "virtual/arm-poky-linux-gnueabi-compilerlibs" >> "gpu-viv-bin-mx6q" -> "virtual/libc" >> "gpu-viv-bin-mx6q" -> "libxfixes" >> "gpu-viv-bin-mx6q" -> "libxdamage" >> "gpu-viv-bin-mx6q" -> "virtual/libx11" >> "gpu-viv-bin-mx6q" -> "libdrm" [style=dashed] >> "gpu-viv-bin-mx6q" -> "libclc-mx6" [style=dashed] >> "gpu-viv-bin-mx6q" -> "libglslc-mx6" [style=dashed] >> "gpu-viv-bin-mx6q" -> "gpu-viv-bin-mx6q" [style=dashed] >> "gpu-viv-bin-mx6q" -> "gpu-viv-bin-mx6q-dev" [style=dashed] >> >> >> If you want everything, I will paste it, but not sure it would be useful ? > > Well I expected it to be huge. The idea here is to try to understand > which are the configuration which is bringing the features vivante > PROVIDES. > > For example, it looks like you are using X11, even not using X11. You > can think about remove it from DISTRO_FEATURES. > > What happens is something like: x11 lib -> GL -> vivante Thanks a *lot* !! It seems far better, as mesa disappeared :). I will go deeply into this, it seems to be the good way ! I still have gpu-viv-bin-mx6q but only with : "gpu-viv-bin-mx6q" [label="gpu-viv-bin-mx6q 1:3.10.17-1.0.2-hfp-r0\n/run/media/jm/SSD_JM/Projets/veobox3/poky/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.17-1.0.2-hfp.bb"] "gpu-viv-bin-mx6q" -> "virtual/arm-poky-linux-gnueabi-gcc" "gpu-viv-bin-mx6q" -> "virtual/arm-poky-linux-gnueabi-compilerlibs" "gpu-viv-bin-mx6q" -> "virtual/libc" "gpu-viv-bin-mx6q" -> "gpu-viv-bin-mx6q" [style=dashed] "gpu-viv-bin-mx6q" -> "gpu-viv-bin-mx6q-dev" [style=dashed] "gpu-viv-bin-mx6q" -> "libdrm" [style=dashed] "gpu-viv-bin-mx6q" -> "libclc-mx6" [style=dashed] "gpu-viv-bin-mx6q" -> "libglslc-mx6" [style=dashed] I removed opengl from DISTRO_FEATURES, but there may be something else... > What was the result of blacklist'ing the package name? Not better. JM ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Removing gpu-viv-bin-mx6q from custom image 2015-06-30 14:04 ` Jean-Michel Hautbois @ 2015-06-30 14:13 ` Gary Thomas 2015-06-30 14:40 ` Nikolay Dimitrov 0 siblings, 1 reply; 16+ messages in thread From: Gary Thomas @ 2015-06-30 14:13 UTC (permalink / raw) To: meta-freescale On 2015-06-30 08:04, Jean-Michel Hautbois wrote: > 2015-06-30 15:49 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: >> On Tue, Jun 30, 2015 at 10:37 AM, Jean-Michel Hautbois >> <jhautbois@gmail.com> wrote: >>> 2015-06-30 15:29 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: >>>> On Tue, Jun 30, 2015 at 10:20 AM, Jean-Michel Hautbois >>>> <jhautbois@gmail.com> wrote: >>>>> 2015-06-30 14:13 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: >>>>>> On Tue, Jun 30, 2015 at 9:01 AM, Jean-Michel Hautbois >>>>>> <jhautbois@gmail.com> wrote: >>>>>>> Hi Daiane, >>>>>>> >>>>>>> 2015-06-30 13:37 GMT+02:00 Daiane Angolini <daiane.list@gmail.com>: >>>>>>>> On Tue, Jun 30, 2015 at 2:33 AM, Jean-Michel Hautbois >>>>>>>> <jhautbois@gmail.com> wrote: >>>>>>>>> Hi ! >>>>>>>>> >>>>>>>>> I have a custom image for a I.MX6 board and I don't need to have the >>>>>>>>> gpu-viv-bin-mx6q package installed. I am depending in my image on >>>>>>>>> core-image-base and I don't add it in the EXTRA_IMAGE_INSTALL variable. But >>>>>>>>> I still get it installed. >>>>>>>>> >>>>>>>>> What is it installed by and how can I remove it ? >>>>>>>> >>>>>>>> The complete BSP is built targeting the maximum use of GPU >>>>>>>> acceleration for any imx6Q boards. That's why you cannot "remove" GPU >>>>>>>> packages. Too many dependencies making you use it by default. >>>>>>>> >>>>>>>> You can try to blacklist it >>>>>>>> (http://www.yoctoproject.org/docs/1.8/mega-manual/mega-manual.html#ref-classes-blacklist) >>>>>>>> >>>>>>>> Or, you can override several BSP configurations: >>>>>>>> >>>>>>>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n23 >>>>>>>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/machine/include/imx-base.inc#n94 >>>>>>>> (from line 94 to 108) >>>>>>> >>>>>>> Just tested to add this to my custom machine : >>>>>>> XSERVER_DRIVER_mx6 ?= "" >>>>>>> PREFERRED_PROVIDER_virtual/egl_mx6 ?= "" >>>>>>> PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "" >>>>>>> PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "" >>>>>>> PREFERRED_PROVIDER_virtual/libgles1_mx6sx ?= "" >>>>>>> PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "" >>>>>>> PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "" >>>>>>> PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "" >>>>>>> PREFERRED_PROVIDER_virtual/libgles2_mx6sx ?= "" >>>>>>> PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "" >>>>>>> PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "" >>>>>>> PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "" >>>>>>> PREFERRED_PROVIDER_virtual/libgl_mx6sx ?= "" >>>>>>> PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "" >>>>>>> PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "" >>>>>>> >>>>>>> But the following command still shows gpu-viv-bin-mx6q : >>>>>>> bitbake -g my-image && cat pn-depends.dot | grep -v -e '-native' | >>>>>>> grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniq >>>>>> >>>>>> >>>>>> I would use a stronger assignemnt instead of ?= >>>>>> (http://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#setting-a-default-value) >>>>>> >>>>>> Maybe imx-base.inc from BSP is stronger than you machine config file. >>>>>> >>>>>> However, maybe I forgot one BSP dependency. Which package your >>>>>> dependency graph say is bringing the vpu package? >>>>> >>>>> You mean bitbake -g gpu-viv-bin-mx6q ? >>>>> Or something else ? >>>> >>>> I though about using the same command line you shared before: >>>> >>>>>>> bitbake -g my-image && cat pn-depends.dot | grep -v -e '-native' | >>>>>>> grep -v digraph | grep -v -e '-image' | awk '{print $1}' | sort | uniq >>>> >>>> But without the grep's >>>> >>>> Daiane >>>>> >>>>> JM >>> >>> Well, it is quite big, I grepped on "gpu-viv" to start : >>> "gpu-viv-bin-mx6q" [label="gpu-viv-bin-mx6q >>> 1:3.10.17-1.0.2-hfp-r0\n/run/media/jm/SSD_JM/Projets/veobox3/poky/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.17-1.0.2-hfp.bb"] >>> "gpu-viv-bin-mx6q" -> "virtual/arm-poky-linux-gnueabi-gcc" >>> "gpu-viv-bin-mx6q" -> "mesa" >>> "gpu-viv-bin-mx6q" -> "libxext" >>> "gpu-viv-bin-mx6q" -> "virtual/arm-poky-linux-gnueabi-compilerlibs" >>> "gpu-viv-bin-mx6q" -> "virtual/libc" >>> "gpu-viv-bin-mx6q" -> "libxfixes" >>> "gpu-viv-bin-mx6q" -> "libxdamage" >>> "gpu-viv-bin-mx6q" -> "virtual/libx11" >>> "gpu-viv-bin-mx6q" -> "libdrm" [style=dashed] >>> "gpu-viv-bin-mx6q" -> "libclc-mx6" [style=dashed] >>> "gpu-viv-bin-mx6q" -> "libglslc-mx6" [style=dashed] >>> "gpu-viv-bin-mx6q" -> "gpu-viv-bin-mx6q" [style=dashed] >>> "gpu-viv-bin-mx6q" -> "gpu-viv-bin-mx6q-dev" [style=dashed] >>> >>> >>> If you want everything, I will paste it, but not sure it would be useful ? >> >> Well I expected it to be huge. The idea here is to try to understand >> which are the configuration which is bringing the features vivante >> PROVIDES. >> >> For example, it looks like you are using X11, even not using X11. You >> can think about remove it from DISTRO_FEATURES. >> >> What happens is something like: x11 lib -> GL -> vivante > > Thanks a *lot* !! > It seems far better, as mesa disappeared :). > I will go deeply into this, it seems to be the good way ! > I still have gpu-viv-bin-mx6q but only with : > "gpu-viv-bin-mx6q" [label="gpu-viv-bin-mx6q > 1:3.10.17-1.0.2-hfp-r0\n/run/media/jm/SSD_JM/Projets/veobox3/poky/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.17-1.0.2-hfp.bb"] > "gpu-viv-bin-mx6q" -> "virtual/arm-poky-linux-gnueabi-gcc" > "gpu-viv-bin-mx6q" -> "virtual/arm-poky-linux-gnueabi-compilerlibs" > "gpu-viv-bin-mx6q" -> "virtual/libc" > "gpu-viv-bin-mx6q" -> "gpu-viv-bin-mx6q" [style=dashed] > "gpu-viv-bin-mx6q" -> "gpu-viv-bin-mx6q-dev" [style=dashed] > "gpu-viv-bin-mx6q" -> "libdrm" [style=dashed] > "gpu-viv-bin-mx6q" -> "libclc-mx6" [style=dashed] > "gpu-viv-bin-mx6q" -> "libglslc-mx6" [style=dashed] > > I removed opengl from DISTRO_FEATURES, but there may be something else... > >> What was the result of blacklist'ing the package name? > > Not better. > JM > What kind of image are you trying to build (without X11)? What did you base your image on, e.g. core-image-minimal? I routinely build minimal images for the i.MX6 without X (and without removing x11 from DISTRO_FEATURES) and don't end up with any of this extra stuff... -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Removing gpu-viv-bin-mx6q from custom image 2015-06-30 14:13 ` Gary Thomas @ 2015-06-30 14:40 ` Nikolay Dimitrov 2015-06-30 14:56 ` Jean-Michel Hautbois 0 siblings, 1 reply; 16+ messages in thread From: Nikolay Dimitrov @ 2015-06-30 14:40 UTC (permalink / raw) To: jhautbois; +Cc: meta-freescale, Gary Thomas Hi Jean-Michel, Are you sure that core-image-base is actually adding the unneeded dependency? I don't see gpu-viv-bin-mx6q being built as part of this image. Can you please check whether some of your added components doesn't actually pull-in the gpu-viv-bin-mx6q? Regards, Nikolay ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Removing gpu-viv-bin-mx6q from custom image 2015-06-30 14:40 ` Nikolay Dimitrov @ 2015-06-30 14:56 ` Jean-Michel Hautbois 2015-06-30 15:09 ` Nikolay Dimitrov 2015-06-30 15:10 ` Gary Thomas 0 siblings, 2 replies; 16+ messages in thread From: Jean-Michel Hautbois @ 2015-06-30 14:56 UTC (permalink / raw) To: Nikolay Dimitrov; +Cc: meta-freescale@yoctoproject.org, Gary Thomas Hi all, 2015-06-30 16:40 GMT+02:00 Nikolay Dimitrov <picmaster@mail.bg>: > Hi Jean-Michel, > > Are you sure that core-image-base is actually adding the unneeded > dependency? I don't see gpu-viv-bin-mx6q being built as part of this > image. Well, no, I am not sure, but I must say it is a bit difficult to know exactly who is adding what... In my machine, I have conf/machine/include/imx-base.inc included, which could lead to this behaviour... maybe... > Can you please check whether some of your added components doesn't > actually pull-in the gpu-viv-bin-mx6q? > > Regards, > Nikolay ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Removing gpu-viv-bin-mx6q from custom image 2015-06-30 14:56 ` Jean-Michel Hautbois @ 2015-06-30 15:09 ` Nikolay Dimitrov 2015-06-30 15:10 ` Gary Thomas 1 sibling, 0 replies; 16+ messages in thread From: Nikolay Dimitrov @ 2015-06-30 15:09 UTC (permalink / raw) To: Jean-Michel Hautbois; +Cc: meta-freescale@yoctoproject.org, Gary Thomas Hi Jean-Michel, On 06/30/2015 05:56 PM, Jean-Michel Hautbois wrote: > Hi all, > > 2015-06-30 16:40 GMT+02:00 Nikolay Dimitrov <picmaster@mail.bg>: >> Hi Jean-Michel, >> >> Are you sure that core-image-base is actually adding the unneeded >> dependency? I don't see gpu-viv-bin-mx6q being built as part of this >> image. > > Well, no, I am not sure, but I must say it is a bit difficult to know > exactly who is adding what... Well, there's a way to tell precisely who's pulling which dependency. This command generates a dependency graph (I think Daiane/Gary already mentioned this): bitbake -g your-custom-image This will create several text files, and one of them is pn-depends.dot, where you can search for dependencies ("->" means "depends on"). Hope this info makes your experience a little bit more scientific and less empirical :D. Also, Daiane mentioned blacklisting the package. I think this could be useful, because when some package pulls-in the blacklisted dependency, bitbake will print the exact dependency route across the graph and will stop with error. > In my machine, I have conf/machine/include/imx-base.inc included, > which could lead to this behaviour... maybe... > >> Can you please check whether some of your added components doesn't >> actually pull-in the gpu-viv-bin-mx6q? Regards, Nikolay ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Removing gpu-viv-bin-mx6q from custom image 2015-06-30 14:56 ` Jean-Michel Hautbois 2015-06-30 15:09 ` Nikolay Dimitrov @ 2015-06-30 15:10 ` Gary Thomas 2015-06-30 15:59 ` Jean-Michel Hautbois 1 sibling, 1 reply; 16+ messages in thread From: Gary Thomas @ 2015-06-30 15:10 UTC (permalink / raw) To: Jean-Michel Hautbois, Nikolay Dimitrov; +Cc: meta-freescale@yoctoproject.org On 2015-06-30 08:56, Jean-Michel Hautbois wrote: > Hi all, > > 2015-06-30 16:40 GMT+02:00 Nikolay Dimitrov <picmaster@mail.bg>: >> Hi Jean-Michel, >> >> Are you sure that core-image-base is actually adding the unneeded >> dependency? I don't see gpu-viv-bin-mx6q being built as part of this >> image. > > Well, no, I am not sure, but I must say it is a bit difficult to know > exactly who is adding what... > In my machine, I have conf/machine/include/imx-base.inc included, > which could lead to this behaviour... maybe... What image (recipe + any additions) are you trying to build? > >> Can you please check whether some of your added components doesn't >> actually pull-in the gpu-viv-bin-mx6q? -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Removing gpu-viv-bin-mx6q from custom image 2015-06-30 15:10 ` Gary Thomas @ 2015-06-30 15:59 ` Jean-Michel Hautbois 0 siblings, 0 replies; 16+ messages in thread From: Jean-Michel Hautbois @ 2015-06-30 15:59 UTC (permalink / raw) To: Gary Thomas; +Cc: meta-freescale@yoctoproject.org 2015-06-30 17:10 GMT+02:00 Gary Thomas <gary@mlbassoc.com>: > On 2015-06-30 08:56, Jean-Michel Hautbois wrote: >> >> Hi all, >> >> 2015-06-30 16:40 GMT+02:00 Nikolay Dimitrov <picmaster@mail.bg>: >>> >>> Hi Jean-Michel, >>> >>> Are you sure that core-image-base is actually adding the unneeded >>> dependency? I don't see gpu-viv-bin-mx6q being built as part of this >>> image. >> >> >> Well, no, I am not sure, but I must say it is a bit difficult to know >> exactly who is adding what... >> In my machine, I have conf/machine/include/imx-base.inc included, >> which could lead to this behaviour... maybe... > > > What image (recipe + any additions) are you trying to build? It is a custom one, and a custom board. Right now, I think I found it... gpu-viv-bin-mx6q is installed because virtual/egl is required because cairo needs it, because gstreamer1.0-plugins-good requires it ! I removed cairo dependency, and it is far better. Thanks, JM ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2015-06-30 15:59 UTC | newest] Thread overview: 16+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-06-30 5:33 Removing gpu-viv-bin-mx6q from custom image Jean-Michel Hautbois 2015-06-30 11:37 ` Daiane Angolini 2015-06-30 12:01 ` Jean-Michel Hautbois 2015-06-30 12:13 ` Daiane Angolini 2015-06-30 13:20 ` Jean-Michel Hautbois 2015-06-30 13:29 ` Daiane Angolini 2015-06-30 13:37 ` Jean-Michel Hautbois 2015-06-30 13:49 ` Daiane Angolini 2015-06-30 13:52 ` Daiane Angolini 2015-06-30 14:04 ` Jean-Michel Hautbois 2015-06-30 14:13 ` Gary Thomas 2015-06-30 14:40 ` Nikolay Dimitrov 2015-06-30 14:56 ` Jean-Michel Hautbois 2015-06-30 15:09 ` Nikolay Dimitrov 2015-06-30 15:10 ` Gary Thomas 2015-06-30 15:59 ` Jean-Michel Hautbois
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.