Skip to contentSkip to conversation

meta-ivi & meta-raspberrypi

meta-raspberrypi Oliver 4 participants 5 messages Apr 29, 2015 – Apr 30, 2015

lore
Share & tools
lore

Oliver

author
#0 lore raw

Hello

I have been working building together the meta-raspberrypi & the meta-ivi layers. I have been stuck with configuration/compilation of weston(from mata-ivi layer):

1)

You can check the intial thread http://lists.genivi.org/pipermail/genivi-meta-ivi/2015-April/000508.html

egl provided by userlad is not detected as the *.pc files are not deployed Someone has faced similar problems:

http://git.buildroot.net/buildroot/commit/?id=2282b93f4248a32de84805456efa352f69b28624

2)
With this I am able to reach the do_compile stage but there are errors related to the undefined type

PFNEGLQUERYWAYLANDBUFFERWL
Hacked this one forcing the inclusion of <weston-egl-ext.h> :-S

3)
At linking time the next trouble is:

/home/oliver/raspberry/build-rpi-ivi/tmp/sysroots/i686-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: cannot find -lwayland-egl

IIRC this lib is provided by mesa-gl, but in my build, mesa is configured(--disable-egl (is this ok being provided by userlad?)) which might be the reason why libwayland-egl is not getting deployed in the image?

Any correction to my statements or hint to go further would be appreciated

Best Regards & thanks for your time

Oliver

#1 lore raw
Quoted 27 lines · Oliver

Hello

I have been working building together the meta-raspberrypi & the meta-ivi layers. I have been stuck with configuration/compilation of weston(from mata-ivi layer):

1)

You can check the intial thread http://lists.genivi.org/pipermail/genivi-meta-ivi/2015-April/000508.html

egl provided by userlad is not detected as the *.pc files are not deployed Someone has faced similar problems:

   http://git.buildroot.net/buildroot/commit/?id=2282b93f4248a32de84805456efa352f69b28624

2)
With this I am able to reach the do_compile stage but there are errors related to the undefined type

PFNEGLQUERYWAYLANDBUFFERWL
Hacked this one forcing the inclusion of <weston-egl-ext.h> :-S

3)
At linking time the next trouble is:

/home/oliver/raspberry/build-rpi-ivi/tmp/sysroots/i686-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: cannot find -lwayland-egl

Quoted 7 lines

IIRC this lib is provided by mesa-gl, but in my build, mesa is configured(--disable-egl (is this ok being provided by userlad?)) which might be the reason why libwayland-egl is not getting deployed in the image?

Any correction to my statements or hint to go further would be appreciated

Best Regards & thanks for your time

Oliver

Hi Oliver,

I was looking at wayland/weston last year. I can't remember exactly where I was at with it I am afraid, but I think I had it building and have pushed some of the code I was playing with to GitHub

I think this was related to the .pc issue

https://github.com/DynamicDevices/meta-raspberrypi/commit/491dd14585efdb52378a57fa6ddacb1f15065257

And this was what I was doing with weston. Looks like I was disabling EGL.

https://github.com/DynamicDevices/meta-raspberrypi/commit/c657f69deb57035fc43319dd7d41745c17d7d6e1

Sorry I can't be more help but perhaps there's something in there that might be of use.

Regards,

Alex

#2 lore raw

Em Wed, 29 Apr 2015 16:05:58 +0200
Alex J Lennon <[email protected]> escreveu:

Quoted 45 lines · Oliver
Quoted 27 lines

Hello

I have been working building together the meta-raspberrypi & the meta-ivi layers. I have been stuck with configuration/compilation of weston(from mata-ivi layer):

1)

You can check the intial thread http://lists.genivi.org/pipermail/genivi-meta-ivi/2015-April/000508.html

egl provided by userlad is not detected as the *.pc files are not deployed Someone has faced similar problems:

   http://git.buildroot.net/buildroot/commit/?id=2282b93f4248a32de84805456efa352f69b28624

2)
With this I am able to reach the do_compile stage but there are errors related to the undefined type

PFNEGLQUERYWAYLANDBUFFERWL
Hacked this one forcing the inclusion of <weston-egl-ext.h> :-S

3)
At linking time the next trouble is:

/home/oliver/raspberry/build-rpi-ivi/tmp/sysroots/i686-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: cannot find -lwayland-egl

Quoted 7 lines

IIRC this lib is provided by mesa-gl, but in my build, mesa is configured(--disable-egl (is this ok being provided by userlad?)) which might be the reason why libwayland-egl is not getting deployed in the image?

Any correction to my statements or hint to go further would be appreciated

Best Regards & thanks for your time

Oliver

Hi Oliver,

I was looking at wayland/weston last year. I can't remember exactly where I was at with it I am afraid, but I think I had it building and have pushed some of the code I was playing with to GitHub

I think this was related to the .pc issue

Quoted 8 lines

https://github.com/DynamicDevices/meta-raspberrypi/commit/491dd14585efdb52378a57fa6ddacb1f15065257

And this was what I was doing with weston. Looks like I was disabling EGL.

https://github.com/DynamicDevices/meta-raspberrypi/commit/c657f69deb57035fc43319dd7d41745c17d7d6e1

Sorry I can't be more help but perhaps there's something in there that might be of use.

I was able to build weston/wayland with meta-raspberrypi, for the Tizen distro:

	http://blogs.s-osg.org/bringing-tizen-to-a-raspberry-pi-2-near-you/

I had to apply a few patches to make it work on both Tizen and meta-raspberrypi. The forks are at:

	http://git.s-osg.org/

The current version there is actually disabling EGL. Enabling it seems to be possible, but we're still trying to make it work (it compiles fine, though, so I think we're close).

Once done, my plan is to work on porting the patches back to meta-raspberrypi (and tizen-distro).

The egl-enabled version (with doesn't run, currently), is at the "devel" branch at both git trees.

I hope that helps.

Regards,
Mauro

#3 lore raw
Quoted 60 lines · Mauro Carvalho Chehab

Em Wed, 29 Apr 2015 16:05:58 +0200
Alex J Lennon <[email protected]> escreveu:

Quoted 43 lines · Oliver
Quoted 27 lines

Hello

I have been working building together the meta-raspberrypi & the meta-ivi layers. I have been stuck with configuration/compilation of weston(from mata-ivi layer):

1)

You can check the intial thread http://lists.genivi.org/pipermail/genivi-meta-ivi/2015-April/000508.html

egl provided by userlad is not detected as the *.pc files are not deployed Someone has faced similar problems:

   http://git.buildroot.net/buildroot/commit/?id=2282b93f4248a32de84805456efa352f69b28624

2)
With this I am able to reach the do_compile stage but there are errors related to the undefined type

PFNEGLQUERYWAYLANDBUFFERWL
Hacked this one forcing the inclusion of <weston-egl-ext.h> :-S

3)
At linking time the next trouble is:

/home/oliver/raspberry/build-rpi-ivi/tmp/sysroots/i686-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: cannot find -lwayland-egl

Quoted 7 lines

IIRC this lib is provided by mesa-gl, but in my build, mesa is configured(--disable-egl (is this ok being provided by userlad?)) which might be the reason why libwayland-egl is not getting deployed in the image?

Any correction to my statements or hint to go further would be appreciated

Best Regards & thanks for your time

Oliver

Hi Oliver,

I was looking at wayland/weston last year. I can't remember exactly where I was at with it I am afraid, but I think I had it building and have pushed some of the code I was playing with to GitHub

I think this was related to the .pc issue

Quoted 8 lines

https://github.com/DynamicDevices/meta-raspberrypi/commit/491dd14585efdb52378a57fa6ddacb1f15065257

And this was what I was doing with weston. Looks like I was disabling EGL.

https://github.com/DynamicDevices/meta-raspberrypi/commit/c657f69deb57035fc43319dd7d41745c17d7d6e1

Sorry I can't be more help but perhaps there's something in there that might be of use.

I was able to build weston/wayland with meta-raspberrypi, for the Tizen distro:

	http://blogs.s-osg.org/bringing-tizen-to-a-raspberry-pi-2-near-you/

I had to apply a few patches to make it work on both Tizen and meta-raspberrypi. The forks are at:

Quoted 10 lines
	http://git.s-osg.org/

The current version there is actually disabling EGL. Enabling it seems to be possible, but we're still trying to make it work (it compiles fine, though, so I think we're close).

Once done, my plan is to work on porting the patches back to meta-raspberrypi (and tizen-distro).

Great news Mauro. If you need anybody to test out your patches, when ready, please give me a shout.

Cheers, Alex

#4 lore raw

@Mauro We can't wait to see the patches. :) @Oliver If you are working on this please assign yourself to
http://redmine.gherzan.com/issues/19

Quoted 100 lines · Alex J Lennon
Quoted 7 lines · Mauro Carvalho Chehab

Em Wed, 29 Apr 2015 16:05:58 +0200
Alex J Lennon <[email protected]> escreveu:

Quoted 4 lines · Oliver
Quoted 3 lines

Hello

I have been working building together the meta-raspberrypi & the

meta-ivi layers.

Quoted 1 line
Quoted 1 line
Quoted 1 line

I have been stuck with configuration/compilation of weston(from

mata-ivi layer):

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

1)

You can check the intial thread

http://lists.genivi.org/pipermail/genivi-meta-ivi/2015-April/000508.html

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

egl provided by userlad is not detected as the *.pc files are not

deployed

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Someone has faced similar problems:

http://git.buildroot.net/buildroot/commit/?id=2282b93f4248a32de84805456efa352f69b28624

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

2)
With this I am able to reach the do_compile stage but there are errors

related to the undefined type

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

PFNEGLQUERYWAYLANDBUFFERWL
Hacked this one forcing the inclusion of <weston-egl-ext.h> :-S

3)
At linking time the next trouble is:

/home/oliver/raspberry/build-rpi-ivi/tmp/sysroots/i686-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld:
cannot find -lwayland-egl

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

IIRC this lib is provided by mesa-gl, but in my build, mesa is

configured(--disable-egl (is this ok being provided by userlad?)) which might be the reason why libwayland-egl is not getting deployed in the image?

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Any correction to my statements or hint to go further would be

appreciated

Quoted 6 lines
Quoted 6 lines
Quoted 4 lines

Best Regards & thanks for your time

Oliver

Hi Oliver,

Quoted 7 lines
Quoted 7 lines

I was looking at wayland/weston last year. I can't remember exactly where I was at with it I am afraid, but I think I had it building and have pushed some of the code I was playing with to GitHub

I think this was related to the .pc issue

https://github.com/DynamicDevices/meta-raspberrypi/commit/491dd14585efdb52378a57fa6ddacb1f15065257

Quoted 2 lines
Quoted 2 lines

And this was what I was doing with weston. Looks like I was disabling

EGL.

Quoted 2 lines
Quoted 2 lines

https://github.com/DynamicDevices/meta-raspberrypi/commit/c657f69deb57035fc43319dd7d41745c17d7d6e1

Quoted 6 lines
Quoted 3 lines

Sorry I can't be more help but perhaps there's something in there that might be of use.

I was able to build weston/wayland with meta-raspberrypi, for the Tizen distro:

http://blogs.s-osg.org/bringing-tizen-to-a-raspberry-pi-2-near-you/

Quoted 13 lines

I had to apply a few patches to make it work on both Tizen and meta-raspberrypi. The forks are at:

      http://git.s-osg.org/

The current version there is actually disabling EGL. Enabling it seems to be possible, but we're still trying to make it work (it compiles fine, though, so I think we're close).

Once done, my plan is to work on porting the patches back to meta-raspberrypi (and tizen-distro).

Great news Mauro. If you need anybody to test out your patches, when ready, please give me a shout.

Cheers, Alex

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 3 lines
*Andrei Gherzan*
*e: **[email protected] <[email protected]>*
*w: *www.gherzan.ro