* [meta-raspberrypi] meta-ivi & meta-raspberrypi
@ 2015-04-29 13:30 Oliver
2015-04-29 14:05 ` Alex J Lennon
0 siblings, 1 reply; 5+ messages in thread
From: Oliver @ 2015-04-29 13:30 UTC (permalink / raw)
To: yocto@yoctoproject.org
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-raspberrypi] meta-ivi & meta-raspberrypi
2015-04-29 13:30 [meta-raspberrypi] meta-ivi & meta-raspberrypi Oliver
@ 2015-04-29 14:05 ` Alex J Lennon
2015-04-29 14:34 ` Mauro Carvalho Chehab
0 siblings, 1 reply; 5+ messages in thread
From: Alex J Lennon @ 2015-04-29 14:05 UTC (permalink / raw)
To: Oliver; +Cc: Yocto
[-- Attachment #1: Type: text/plain, Size: 1997 bytes --]
On 29/04/2015 15:30, Oliver wrote:
> 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
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
[-- Attachment #2: Type: text/html, Size: 3413 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-raspberrypi] meta-ivi & meta-raspberrypi
2015-04-29 14:05 ` Alex J Lennon
@ 2015-04-29 14:34 ` Mauro Carvalho Chehab
2015-04-29 14:53 ` Alex J Lennon
0 siblings, 1 reply; 5+ messages in thread
From: Mauro Carvalho Chehab @ 2015-04-29 14:34 UTC (permalink / raw)
To: Alex J Lennon; +Cc: Yocto
Em Wed, 29 Apr 2015 16:05:58 +0200
Alex J Lennon <ajlennon@dynamicdevices.co.uk> escreveu:
>
> On 29/04/2015 15:30, Oliver wrote:
> > 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
>
> 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.
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-raspberrypi] meta-ivi & meta-raspberrypi
2015-04-29 14:34 ` Mauro Carvalho Chehab
@ 2015-04-29 14:53 ` Alex J Lennon
2015-04-30 11:08 ` Andrei Gherzan
0 siblings, 1 reply; 5+ messages in thread
From: Alex J Lennon @ 2015-04-29 14:53 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: Yocto
On 29/04/2015 16:34, Mauro Carvalho Chehab wrote:
> Em Wed, 29 Apr 2015 16:05:58 +0200
> Alex J Lennon <ajlennon@dynamicdevices.co.uk> escreveu:
>
>> On 29/04/2015 15:30, Oliver wrote:
>>> 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
>> 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.
> 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).
>
>
Great news Mauro. If you need anybody to test out your patches, when
ready, please give me a shout.
Cheers, Alex
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-raspberrypi] meta-ivi & meta-raspberrypi
2015-04-29 14:53 ` Alex J Lennon
@ 2015-04-30 11:08 ` Andrei Gherzan
0 siblings, 0 replies; 5+ messages in thread
From: Andrei Gherzan @ 2015-04-30 11:08 UTC (permalink / raw)
To: Alex J Lennon; +Cc: Yocto, Mauro Carvalho Chehab
[-- Attachment #1: Type: text/plain, Size: 3648 bytes --]
@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
On Wed, Apr 29, 2015 at 4:53 PM, Alex J Lennon <
ajlennon@dynamicdevices.co.uk> wrote:
>
>
> On 29/04/2015 16:34, Mauro Carvalho Chehab wrote:
> > Em Wed, 29 Apr 2015 16:05:58 +0200
> > Alex J Lennon <ajlennon@dynamicdevices.co.uk> escreveu:
> >
> >> On 29/04/2015 15:30, Oliver wrote:
> >>> 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
> >> 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.
> > 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).
> >
> >
>
> Great news Mauro. If you need anybody to test out your patches, when
> ready, please give me a shout.
>
> Cheers, Alex
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
--
*Andrei Gherzan*
*e: **andrei@gherzan.ro <andrei@gherzan.ro>*
*w: *www.gherzan.ro
[-- Attachment #2: Type: text/html, Size: 6278 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-04-30 11:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29 13:30 [meta-raspberrypi] meta-ivi & meta-raspberrypi Oliver
2015-04-29 14:05 ` Alex J Lennon
2015-04-29 14:34 ` Mauro Carvalho Chehab
2015-04-29 14:53 ` Alex J Lennon
2015-04-30 11:08 ` Andrei Gherzan
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.