[yocto] Error during webkit compilation for rasberry pi3
Khem Raj
raj.khem at gmail.com
Wed Dec 21 11:28:09 PST 2016
On Wed, Dec 21, 2016 at 9:50 AM, Mont3z Claros <mont3z.claro5 at gmail.com> wrote:
> Thanks, Khem. I'll try this.
> I've just asked this because I've got a black screen on my monitor
> when using VC4 driver and when I've check the UART console I see the
> error:
>
> vc4-drm soc:gpu: failed to bind 3f902000.hdmi (ops vc4_hdmi_ops): -517
> vc4-drm soc:gpu: master bind failed: -517
> vc4-drm soc:gpu: failed to bind 3f902000.hdmi (ops vc4_hdmi_ops): -517
> vc4-drm soc:gpu: master bind failed: -517
Dont think it has to do anything with opencl, but you need to start
some app and see if it fails to
display
>
> So, I'll try building it without opencl.
> Montez.
>
>
>
> On Wed, Dec 21, 2016 at 9:19 AM, Khem Raj <raj.khem at gmail.com> wrote:
>> Perhaps by adding -DENABLE_OPENCL=OFF to the EXTRA_OECONF
>>
>> On Wed, Dec 21, 2016 at 7:20 AM, Mont3z Claros <mont3z.claro5 at gmail.com> wrote:
>>> Thanks all for the help. I was able to build webkit using:
>>> MACHINE_FEATURES += "vc4graphics"
>>>
>>> I'm sorry for asking those basic questions but is there a way to build
>>> webkit without opencl for the raspberry pi3?
>>>
>>> Thanks,
>>> Montez
>>>
>>> On Sun, Dec 11, 2016 at 9:55 PM, Gary Thomas <gary at mlbassoc.com> wrote:
>>>> On 2016-12-11 16:49, Mont3z Claros wrote:
>>>>>
>>>>> Hi Khem,
>>>>>
>>>>> this layer is:
>>>>>
>>>>> https://layers.openembedded.org/layerindex/branch/master/layer/meta-webkit/
>>>>>
>>>>> I've also tried to use the webkit recipe from poky but I've got the
>>>>> same error. In this case I used a different configuration because poky
>>>>> doesn't have webkitgtk-bin (mini browser). To test that I've tried to
>>>>> build a modified version of meta-web-kiosk
>>>>> (https://github.com/mont3z/meta-web-kiosk). This is still a work in
>>>>> progress but basically it replaces midori by epiphany.
>>>>>
>>>>> local.conf:
>>>>> MACHINE = "raspberrypi3"
>>>>> DISTRO_FEATURES_append = " x11 gles2"
>>>>>
>>>>> command:
>>>>> bitbake core-image-web-kiosk
>>>>>
>>>>> bblayes.conf:
>>>>> BBLAYERS ?= " \
>>>>> /home/mont3z/yocto/poky/meta \
>>>>> /home/mont3z/yocto/poky/meta-poky \
>>>>> /home/mont3z/yocto/poky/meta-yocto-bsp \
>>>>> /home/mont3z/yocto/meta-openembedded/meta-oe \
>>>>> /home/mont3z/yocto/meta-raspberrypi \
>>>>> /home/mont3z/yocto/meta-web-kiosk \
>>>>> "
>>>>>
>>>>> I also found this discussion about rpi2. I'll try to run some of those
>>>>> configurations:
>>>>> https://github.com/Igalia/meta-webkit/issues/1
>>>>
>>>>
>>>> I built webkit for rpi3 just fine (yesterday 2016-12-11) using just
>>>> poky: e38775a1d82e6dc60fc96cf243ecb94be964d9b2
>>>> meta-raspberrypi: 44d41bf3e94c4c8fe5ad5a3650572c8d17ef36c9
>>>> these were the current master as of then.
>>>>
>>>> What version(s) are you trying to use?
>>>>
>>>>
>>>>>
>>>>> On Sat, Dec 10, 2016 at 1:02 PM, Khem Raj <raj.khem at gmail.com> wrote:
>>>>>>
>>>>>> On Sat, Dec 10, 2016 at 7:52 AM, Mont3z Claros <mont3z.claro5 at gmail.com>
>>>>>> wrote:
>>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I don't know what I'm doing wrong but I'm getting an error during
>>>>>>> compilation of webkit for raspberry pi3. Please see below the error
>>>>>>> and my configurations,
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Mont3z
>>>>>>>
>>>>>>> local.conf:
>>>>>>> MACHINE = "raspberrypi3"
>>>>>>> DISTRO_FEATURES_append = " x11 gles2"
>>>>>>> IMAGE_INSTALL_append = " webkitgtk-bin"
>>>>>>>
>>>>>>> Error:
>>>>>>> | ERROR: oe_runmake failed
>>>>>>> | In file included from
>>>>>>>
>>>>>>> /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp:51:0:
>>>>>>> |
>>>>>>> /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:109:5:
>>>>>>> error: 'PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC' does not name a
>>>>>>> type
>>>>>>> | PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC
>>>>>>> m_glFramebufferTexture2DMultisampleIMG;
>>>>>>> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>>
>>>>>>> command:
>>>>>>> bitbake core-image-sato
>>>>>>>
>>>>>>> bblayes.conf:
>>>>>>> BBLAYERS ?= " \
>>>>>>> /home/mont3z/yocto/poky/meta \
>>>>>>> /home/mont3z/yocto/poky/meta-poky \
>>>>>>> /home/mont3z/yocto/poky/meta-yocto-bsp \
>>>>>>> /home/mont3z/yocto/meta-openembedded/meta-oe \
>>>>>>> /home/mont3z/yocto/meta-webkit \
>>>>>>
>>>>>>
>>>>>>
>>>>>> what does this layer do ?
>>>>>>
>>>>>>> /home/mont3z/yocto/meta-raspberrypi \
>>>>>>> "
>>>>
>>>>
>>>>
>>>> --
>>>> ------------------------------------------------------------
>>>> Gary Thomas | Consulting for the
>>>> MLB Associates | Embedded world
>>>> ------------------------------------------------------------
>>>> --
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto at yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
More information about the yocto
mailing list