[meta-freescale] Error: Adding chromium browser + fsl-image-gui (Yocto - Dora)

Lauren Post Lauren.Post at freescale.com
Fri May 9 13:11:25 PDT 2014


CHromiums is using ffmpeg which is not hardware accelerated with our VPU so video played in youtube on chromium will not be hardware accelerated.

We do not support adobe flash player any more so this is not supported on this platform.

Lauren

-----Original Message-----
From: Somashekar [mailto:jsomash at iwavesystems.com] 
Sent: Tuesday, May 06, 2014 5:39 AM
To: Otavio Salvador; Post Lauren-RAA013; meta-freescale at yoctoproject.org
Cc: immanuel at iwavesystems.com; saliya at iwavesystems.com; Benuvel J
Subject: Re: Error: Adding chromium browser + fsl-image-gui (Yocto - Dora)

Hi All,

We are able to integrate and build yocto(dora) with chromium browser, but hardware acceleration seems to be not working.

Could not play video from youtube.com, following procedure was referred to export WebGL libraries;  which we assume is required for enabling hardware acceleration.

- To enable rendering of WebGL do the following steps after boot.  Add the following lines to  /etc/profile or /usr/bin/google-chrome export LD_PRELOAD=/usr/lib/libGAL.so:/usr/lib/libEGL.so:/usr/lib/libGLSLC.so:/usr/lib/libCLC.so:/usr/lib/libGLESv2.so

- Start the Chromium browser
$google-chrome --use-gl=egl

(http://git.freescale.com/git/cgit.cgi/imx/meta-fsl-bsp-release.git/tree/imx/README?h=dora_3.10.17-1.0.0_beta)

After loading youtube.com browser shows an option to install adobe flash player, since it is for X86 machines we were not able to use it.

Please provide your suggestion on how to enable browser(chromium) to use hardware acceleration.

In the same project we have to change the screen mode from landscape to portrait.  Please let us know is there any configuration file or settings through which we can change the mode ?


Regards,
Somashekar




-----Original Message-----
From: Benuvel GnanaKirubakaran, Jv.
Sent: Sunday, May 04, 2014 1:56 PM
To: Otavio Salvador ; Lauren Post ; meta-freescale at yoctoproject.org
Cc: jsomash at iwavesystems.com ; immanuel at iwavesystems.com ; saliya at iwavesystems.com
Subject: Error: Adding chromium browser + fsl-image-gui (Yocto - Dora)

Hi All,

Bitbaking fsl-image-gui of Yocto-dora was successfully built and desktop appeared at HDMI also we can utilize all the privileges which are available in it.

Now we desired to add chromium browser, for which, following changes were did with the earlier successful one:

1. build/conf/bblayers.conf:
BBLAYERS += " ${BSPDIR}/sources/meta-browser "

2. build/conf/local.conf:
CORE_IMAGE_EXTRA_INSTALL += "chromium"
LICENSE_FLAGS_WHITELIST="commercial"

3. .repo/manifest.xml
<remote fetch="git://github.com/OSSystems" name="OSSystems"/> <project remote="OSSystems"
revision="fc3969f63bda343c38c40a23f746c560c4735f3e"
name="meta-browser" path="sources/meta-browser" />

After repo sync, fsl-image-gui was built. But while after parsing recipes, it throws error as below:

------------------------------------------------------------------------------
benuvelj at benuvelj-OptiPlex-GX520:~/BRAND_IMAGING/fsl-community-bsp_dora/build$
bitbake fsl-image-gui
WARNING: Unable to get checksum for linux-boundary SRC_URI entry
defconfig: file could not be found
| ETA:  00:15:21
Parsing recipes: 100%
|#######################################################################
|#########################################|
Time: 01:58:38
Parsing of 1434 .bb files complete (0 cached, 1434 parsed). 1828 targets, 62 skipped, 0 masked, 0 errors.
ERROR: No recipes available for:

/home/benuvelj/BRAND_IMAGING/fsl-community-bsp_dora/sources/meta-browser/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_2.32.1.bbappend
ERROR: Command execution failed: Exited with 1

Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
------------------------------------------------------------------------------

content of
/home/benuvelj/BRAND_IMAGING/fsl-community-bsp_dora/sources/meta-browser/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_2.32.1.bbappend:

-----------------------------------------------------------------------------
DEPENDS += "nss"

CFLAGS += "-I${STAGING_INCDIR}/mozilla/nss"
-----------------------------------------------------------------------------

could you help us to resolve the issue?

--
Thanks & Regards,
Benuvel Jv 



More information about the meta-freescale mailing list