[yocto] chromium is compiling but is not able to add in the image

Stefano Babic sbabic at denx.de
Fri Aug 24 00:53:22 PDT 2018


Hi Kamal,

On 24/08/2018 08:24, Pandey, Kamal wrote:
> Thankyou very much for the response.
> core-image-minimal-pdm3  is a custom image made from proprietary meta-pdm3 layer.

I know, I am in this project....

> This layer is used to create images and packages for custom embedded device.
> I ve enabled x11 in conf/local.conf file.

No, you have to add it in DISTRO_FEATURES, too

> IMAGE_INSTALL_append = " x11  \
> 			         chromium \  
> 
> and yes that device has a mali GPU support.

You have not understood. The SOC has a mali GPU. But work for kernel
driver (Lima) and openGL is WIP. Ask Fedor/Marek for the current status
and if it makes sense some test. Chromium without GPU does not work.

Best regards,
Stefano Babic

> 
> -----Original Message-----
> From: Stefano Babic <sbabic at denx.de> 
> Sent: 23 August 2018 21:26
> To: Pandey, Kamal <Kamal.Pandey at ifm.com>
> Cc: Ross, Fedor <fedor.ross at ifm.com>; Barth, Steffen <steffen.barth at ifm.com>; Marek Vasut <marex at denx.de>
> Subject: Re: [yocto] chromium is compiling but is not able to add in the image
> 
> Hi Kamal,
> 
> (out of list):
> 
> I just seen your post to Yocto'sML...
> 
> On 21/08/2018 15:28, Pandey, Kamal wrote:
>> I tried adding chromium package via the meta-browser layer. It is 
>> compiling when I run */$ bitbake chromium/*/./ But when I run 
>> */$bitbake core-image-minimal-pdm3/*.
> 
> ..but I can understand that nobody has the small idea what
> core-image-minimal-pdm3 is !
> 
>> It’s not adding chromium to the image and throwing errors as shown 
>> below:
>>
>>  
>>
>> Loading cache: 100%
>> |#####################################################################
>> |#####################################################################
>> |##########################################################|
>> Time: 0:00:00
>>
>> Loaded 3249 entries from dependency cache.
>>
>> Parsing recipes: 100%
>> |#####################################################################
>> |#####################################################################
>> |########################################################|
>> Time: 0:00:02
>>
>> Parsing of 2368 .bb files complete (2352 cached, 16 parsed). 3260 
>> targets, 99 skipped, 10 masked, 0 errors.
>>
>> WARNING: No recipes available for:
>>
>>  
>> /home/iepl/work/yocto_build/meta-xilinx/meta-xilinx-contrib/recipes-ke
>> rnel/linux/linux-xlnx_2018.1.bbappend
>>
>>  
>> /home/iepl/work/yocto_build/meta-pdm3/meta-ifm-pdm3-bsp/recipes-extend
>> ed/images/swupdate-gui-image.bbappend
>>
>>  
>> /home/iepl/work/yocto_build/meta-pdm3/meta-ifm-pdm3-bsp/recipes-suppor
>> t/rescuegui/rescuegui_%.bbappend
>>
>>  
>> /home/iepl/work/yocto_build/meta-pdm3/meta-ifm-pdm3-bsp/recipes-suppor
>> t/swupdate/swupdate_%.bbappend
>>
>>  
>> /home/iepl/work/yocto_build/meta-pdm3/meta-ifm-pdm3/recipes-mono/mono/
>> mono-native_5.4.1.6.bbappend
>>
> 
> Your bblayers.conf is maybe a mess. They are solved in meta-ifm-pdm3 and meta-ifm-pdm3-bsp
> 
>> NOTE: Resolving any missing task queue dependencies
>>
>> ERROR: Nothing RPROVIDES 'chromium' (but 
>> /home/iepl/work/yocto_build/meta-pdm3/meta-ifm-pdm3-bsp/recipes-core/i
>> mages/core-image-minimal-pdm3.bb
>> RDEPENDS on or otherwise requires it)
>>
>> NOTE: Runtime target 'chromium' is unbuildable, removing...
>>
>> Missing or unbuildable dependency chain was: ['chromium']
>>
>> ERROR: Required build target 'core-image-minimal-pdm3' has no 
>> buildable providers.
>>
>> Missing or unbuildable dependency chain was: 
>> ['core-image-minimal-pdm3', 'chromium']
>>
>>  
>>
>> Summary: There was 1 WARNING message shown.
>>
>> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
>>
>> The bblayers.conf file is taken care off.
>>
>> I’ve added the line
>>
>> */IMAGE_INSTALL_append = “ chromium”/* in the local.conf file along 
>> with
>>  */LICENSE_FLAG_WHITELIST = /**//**//*
>>
>> */" commercial_libav commercial_x264 commercial/**/"/*
>>
>> Apart from that Firefox is able to compile and it’s been added to the 
>> image. Can somebody tell me what is causing this issue.
>>
>>  
>>
> 
> Apart of that, are you trying to get in running with something provided by Marek for Mali (GPU support) ? I just warn that Chromium without GPU is very slow and pratically unusable. Even with GPU support it looks quite slow...
> 
> Are you enable x11 ? As far as I know, chromium is running just on top of x11 - I added Marek in CC that can sugest something else.
> 
> Best regards,
> Stefano Babic
> 
> 
> --
> =====================================================================
> DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
> 

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the yocto mailing list