Re: [yocto] [meta-raspberrypi] - X11 EGLSV2 Chromium

2018-07-27 Thread Gillani, Karim CITZ:EX
Sure, I have tried various builds from Rocko, Sumo and Master.

Here is one with Master, and I am rebuilding with Sumo as long term, that is 
what I would like to use.


Build Configuration:

BB_VERSION   = "1.39.0"

BUILD_SYS= "x86_64-linux"

NATIVELSBSTRING  = "universal"

TARGET_SYS   = "arm-poky-linux-gnueabi"

MACHINE  = "raspberrypi3"

DISTRO   = "poky"

DISTRO_VERSION   = "2.5+snapshot-20180717"

TUNE_FEATURES= "arm armv7ve vfp thumb neon vfpv4 callconvention-hard 
cortexa7"

TARGET_FPU   = "hard"

meta

meta-poky

meta-yocto-bsp   = "master:05c32d2de1ee4681cc78cb107a158e9ab22c9619"

meta-oe

meta-python  = "master:6a0efef15cd625d4fb4f60e2235450de0222c357"

meta-raspberrypi = "master:6888a49ae84445136d138087290efcf6793c4149"

meta-networking

meta-multimedia  = "master:6a0efef15cd625d4fb4f60e2235450de0222c357"

meta-browser = "master:d807b901b0b68b478093964bd60a77b9376b3f12"

meta-sbc = ":"

Note meta-sbc, is my custom layer to add wifi, ufw, and (long term – mender).

Also, here is the Sumo I am building with right now (using the same local.conf)


Build Configuration:

BB_VERSION   = "1.38.0"

BUILD_SYS= "x86_64-linux"

NATIVELSBSTRING  = "ubuntu-16.04"

TARGET_SYS   = "arm-poky-linux-gnueabi"

MACHINE  = "raspberrypi3"

DISTRO   = "poky"

DISTRO_VERSION   = "2.5"

TUNE_FEATURES= "arm armv7ve vfp thumb neon vfpv4 callconvention-hard 
cortexa7"

TARGET_FPU   = "hard"

meta

meta-poky

meta-yocto-bsp   = "sumo:96fbd39ba32362416c18d90bb7a81eb6a76912e0"

meta-oe

meta-python

meta-multimedia

meta-networking  = "sumo:b0950aeff5b630256bb5e25ca15f4d59c115e7c1"

meta-raspberrypi = "sumo:cdb2dad529ba102feabeac4e4f58a09fe76edfd1"

meta-browser     = "master:d807b901b0b68b478093964bd60a77b9376b3f12"


Thanks


From: Trevor Woerner [mailto:twoer...@gmail.com]
Sent: Sunday, July 22, 2018 5:48 PM
To: Gillani, Karim CITZ:EX 
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] [meta-raspberrypi] - X11 EGLSV2 Chromium

Hi Karim,

Can you please also include the "Build Configuration" block that's printed at 
the start of the build? That way we know what layers you're using, and which 
branches/commits of those layers.

Best regards,
Trevor
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi] - X11 EGLSV2 Chromium

2018-07-22 Thread Trevor Woerner
Hi Karim,

Can you please also include the "Build Configuration" block that's printed
at the start of the build? That way we know what layers you're using, and
which branches/commits of those layers.

Best regards,
Trevor
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-raspberrypi] - X11 EGLSV2 Chromium

2018-07-22 Thread Gillani, Karim CITZ:EX
I am new to yocto and I am trying to build Chromium with userland. I am not 
sure what I am missing to have userland build libGLESv2.so, libGLESv2.so.2 and 
libEGL.

All builds great but when I start Chromium, it complains there is no 
libGLESv2.so.2.
I searched for libG* and only the following shows up:
/usr/lib/libGL.so.1.2.0
/usr/lib/libGL.so.1

Can someone let me know what I am missing from my layer.conf?

MACHINE = "raspberrypi3"

GPU_MEM_256 = "128"
GPU_MEM_512 = "196"
GPU_MEM_1024 = "396"
CORE_IMAGE_EXTRA_INSTALL += "chromium-x11"
PACKAGECONFIG_append_pn-chromium-x11 += " use-egl proprietary-codecs"
LICENSE_FLAGS_WHITELIST = " commercial_libav commercial_x264 commercial"
PREFERRED_PROVIDER_virtual/egl = "userland"
PREFERRED_PROVIDER_virtual/libgles2 = "userland"
MACHINE_FEATURES_append += " rpi"
IMAGE_INSTALL_append = " fontconfig kernel-image kernel-devicetree"
IMAGE_FEATURES_append = " ssh-server-dropbear hwcodecs x11"
DISTRO_FEATURES_append += " opengl x11 systemd"
DISTRO_FEATURES_remove = "wayland"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = ""

And I am using bitbake core-image-minimal


Thanks in advance..
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto