[meta-ti] Building qt5 using Yocto+meta-ti possible for Beaglebone?

Denys Dmytriyenko denys at ti.com
Tue Jun 10 19:58:57 PDT 2014


On Tue, Jun 10, 2014 at 08:36:39AM +0200, Ulf Samuelsson wrote:
> 
> 2014-06-10 02:35, Denys Dmytriyenko skrev:
> >On Tue, Jun 10, 2014 at 12:54:10AM +0200, Ulf Samuelsson wrote:
> >>2014-06-09 12:04, Diego Sueiro skrev:
> >>>Ulf,
> >>>
> >>>On Sun, Jun 8, 2014 at 9:24 PM, Ulf Samuelsson <meta-ti at emagii.com
> >>><mailto:meta-ti at emagii.com>> wrote:
> >>>
> >>>    Romber Nelson and some other people mention that the 3.12 kernel
> >>>    used is not compatible with the advanced capes like LCDs.
> >>>    Do I need to revert to the 3.8 kernel?
> >>>
> >>>
> >>>Kernel 3.12 does not have cape manager capabilities, as far as I know.
> >>>Did you tested it in a HDMI monitor/TV?
> >>>
> >>>
> >>I have a 4,3" LCD display and HDMI connected.
> >>
> >>"Romber Nelson" = Robert C Nelson.
> >>
> >>I replaced the  meta-ti kernel with his patched 3.8.13 kernel.
> >>If I understand this correctly, this has backported the Graphics
> >>acceleration.
> >>
> >>Made sure that kernel-modules and libgles-omap3 are included in the build.
> >>Also made sure that qtbase-5.1.1 is built with qtbaseexamples for testing.
> >>
> >>I also enabled the LCD in the bootargs.
> >>
> >>Now I get a splash screen and I can run the qt examples,
> >>but only if I supply the linux frame buffer
> >>
> >>"$ calculator"   fails, due not no X-windowa
> >>
> >>Available platform plugins are: eglfs, linuxfb, minimal, minimalegl,
> >>offscreen.
> >>
> >>"$ calculator -platform linuxfb" works, but is of course not accelerated.
> >>
> >>"$ calculator -platform eglfs" fails.
> >>
> >>Could not initialize egl display
> >>EGL error
> >>Aborted
> >IIRC, there were some additional patches for libgles-omap3 and Qt5 in
> >meta-arago... I don't remember the version of Qt5 when I played with it and
> >got it working - it was either 5.1.1 or 5.2...
> >
> meta-arago (dora) has 5.1.1
> master has 5.2.0
> 
> meta-qt5 uses 5.2.1

Can you please try the patches from meta-arago with qt 5.1.1?


> >>I assume that this is either a faulty kernel, or lack of libraries.
> >>
> >>My libraires related to EGL are:
> >>
> >>root at beaglebone:/usr/lib# ls | grep EGL
> >>libEGL.so
> >>libEGL.so.1
> >>libEGL.so.1.10
> >>libEGL.so.1.10.2359475
> >>libEGL_eglimage.so
> >>libEGL_eglimage.so.1
> >>libEGL_eglimage.so.1.10
> >>libEGL_eglimage.so.1.10.2359475
> >>libpvrPVR2D_BLITWSEGL.so
> >>libpvrPVR2D_BLITWSEGL.so.1
> >>libpvrPVR2D_BLITWSEGL.so.1.10
> >>libpvrPVR2D_BLITWSEGL.so.1.10.2359475
> >>libpvrPVR2D_FLIPWSEGL.so
> >>libpvrPVR2D_FLIPWSEGL.so.1
> >>libpvrPVR2D_FLIPWSEGL.so.1.10
> >>libpvrPVR2D_FLIPWSEGL.so.1.10.2359475
> >>libpvrPVR2D_FRONTWSEGL.so
> >>libpvrPVR2D_FRONTWSEGL.so.1
> >>libpvrPVR2D_FRONTWSEGL.so.1.10
> >>libpvrPVR2D_FRONTWSEGL.so.1.10.2359475
> >>libpvrPVR2D_LINUXFBWSEGL.so
> >>libpvrPVR2D_LINUXFBWSEGL.so.1
> >>libpvrPVR2D_LINUXFBWSEGL.so.1.10
> >>libpvrPVR2D_LINUXFBWSEGL.so.1.10.2359475
> >>
> >>Any other library, I should be looking for?
> >>
> >>-----------------------------------------------------------------------
> >>
> >>The kernel options have set
> >>CONFIG_DRM_TILCDC=y
> >>CONFIG_DRM is not set
> >>CONFIG_FIRMWARE_EDID=y
> >>CONFIG_FB_MODE_HELPERS=y
> >>CONFIG_FB_TILEBLITTING=y
> >>CONFIG_FB_DA8XX=y
> >>CONFIG_FB_ST7735=y
> >>FB_BOTH_ENDIAN=y
> >>
> >>CONFIG_OMAP2_DSS_DPI=y
> >>CONFIG_OMAP2_DSS_RFBI=y
> >>CONFIG_OMAP2_DSS_VENC=y
> >>CONFIG_OMAP4_DSS_HDMI=y
> >>CONFIG_OMAP2_DSS_SDI=y
> >>CONFIG_OMAP2_DSS_DSL=y
> >>
> >>CONFIG_FB_OMAP2_DEBUG_SUPPORT=y
> >>
> >>
> >>CONFIG_FB_OMAP2_NUM_FBS=3
> >>
> >>CONFIG_PANEL_GENERIC_DPI=m
> >>CONFIG_PANEL_SHARP_LS037V7DW01=m
> >>CONFIG_PANEL_NEC_NL8048HL11_01B=m
> >>
> >>CONFIG_PANEL_TAAL=y
> >>CONFIG_PANEL_TPO_TD043MTEA1=y
> >>CONFIG_PANEL_ACX565AKM=y
> >>CONFIG_LCD_ILI9320=y
> >>
> >>
> >>CONFIG_LCD_PLATFORM=y
> >>CONFIG_FRAMEBUFFER_CONSOLE=y
> >>CONFIG_FONTS=y
> >>CONFIG_FONT_8x8=y
> >>CONFIG_FONT_8x16=y
> >>FONT_MINI_4x6=y
> >>LOGO_LINUX_MONO=y
> >>LOGO_LINUX_VGA16=y
> >>LOGO_LINUX_CLUT224=y
> >>
> >>Checked the 3.12 meta-ti kernel and it does not seem to have a lot
> >>of extra config options.
> >>
> >>Should I focus on the kernel or the libraries to get an EGL display?
> >>---------------------------------------------------------------------
> >>
> >>BTW: What is the reason that there is no cape support
> >>
> >>1.It is considered a bad idea, and rejected?
> >>2.Beaglebone specific, and thus of no interest to anyone with real money?
> >>3.Noone bothered to submit to mainstream?
> >>4.There is another API in the works, which will allow similar functionality.
> >>5.Other reason?
> >5. Other reason - it's been in the works for some time now, but is still not
> >merged upstream, as it's not trivial. You can google for capebus, capemgr and
> >devtree overlays for the latest set of patches...
> Thanks!
> 
> Wouldn't a customized device-tree work?
> BR
> Ulf
> 
> >
> >>Seems that every system on a chip with programmable I/O would need
> >>something similar.
> >>
> >>Is there any other easy way to get the LCD running.
> >>Customized device-tree fille?
> >>
> >>Any such file available off the shelf?
> >>
> >>
> >>BR
> >>Ulf Samuelsson
> >>
> >>>Regrads,
> >>>
> >>>--
> >>>*dS
> >>>Diego Sueiro
> >>>
> >>>Administrador do Embarcados
> >>>www.embarcados.com.br <http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>
> >>>
> >>>/*long live rock 'n roll*/
> >>-- 
> >>_______________________________________________
> >>meta-ti mailing list
> >>meta-ti at yoctoproject.org
> >>https://lists.yoctoproject.org/listinfo/meta-ti
> 


More information about the meta-ti mailing list