Qt5 (minimal) on beaglebone, with Yocto
Upcoming SlideShare
Loading in...5
×
 

Qt5 (minimal) on beaglebone, with Yocto

on

  • 5,185 views

Qt5 (minimal) on beaglebone, with Yocto

Qt5 (minimal) on beaglebone, with Yocto

Statistics

Views

Total Views
5,185
Views on SlideShare
5,185
Embed Views
0

Actions

Likes
3
Downloads
45
Comments
3

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Hello Sukesh - the minimal plugin and linuxfb plugin do not support a GL context. Please use eglfs or other.
    @sukeshputta - 'Hi one more error when i am trying to run Qt5_CinematicExperience example i am getting below error. root@pcm051-bsp:~# Qt5_CinematicExperience This plugin does not support createPlatformOpenGLContext! /usr/bin/Qt5_CinematicExperience: line 4: 1692 Segmentation fault /usr/share/cinematicexperience-1.0/Qt5_CinematicExperience $* root@pcm051-bsp:~# i am using minimal platform plugin. Need your suggestion. Thanks In Advance'
    Are you sure you want to
    Your message goes here
    Processing…
  • For the Black, you need a framebuffer driver display support. If that is available, you can use the same approach.
    Are you sure you want to
    Your message goes here
    Processing…
  • Hi! Great post! I want to learn Yocto and I want to start off with the BeagleBone Black board. Does this procedure apply to this board as well?

    Thanks in advance,
    Henrique
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Qt5 (minimal) on beaglebone, with Yocto Qt5 (minimal) on beaglebone, with Yocto Presentation Transcript

  • Qt5 (minimal) on Beaglebone, with Yocto
  • Introduction• This post publishes the method to build Qt5 for Beaglebone. To build Qt5 for Beaglebone, the below repos are needed:• poky meta-oe meta-ti meta-qt5
  • Downloading the configuration files$ git clone git://git.yoctoproject.org/poky$ cd poky$ git clone https://github.com/openembedded/meta-oe$ git clone git://git.yoctoproject.org/meta-ti$ git clone git@github.com:prabindh/meta- qt5.git View slide
  • Adding qt5 to minimal image• Add below line to conf/local.conf (notice the space at start)• IMAGE_INSTALL_append = " qtbase qtbase- tools qtbase-plugins" View slide
  • Setting Beaglebone as target• Specify Beaglebone as target, as below, in conf/local.conf• MACHINE ?= "beaglebone" BBMASK ?= ".*/meta-ti/recipes- misc/(images|payload)/"
  • Adding meta-ti and meta-oe layers to Bitbake build system• Add meta-oe and meta-ti, so that it looks like below in conf/bblayers.conf• BBFILES ?= "" BBLAYERS ?= " ${TOPDIR}/../meta ${TOPDIR}/../meta-yocto ${TOPDIR}/../meta-yocto-bsp ${TOPDIR}/../meta-oe/meta-oe ${TOPDIR}/../meta-ti "
  • Building the image$ source oe-init-build-env$ bitbake core-image-minimal• Creating SD card:• The images (MLO, u-boot, dt, uImage, and rootfs) are available at below folder,• <>/poky/build/tmp/deploy/images• Use mkmmc scripts (or any other standard SD format scripts) to burn these images to SD card.
  • Running the Qt5 examples with minimal plugin• Boot the Beaglebone, and login in as root.• $>export QT_DEBUG_BACKINGSTORE=1 $>export QT_QPA_PLATFORM=minimal $>cd /usr/bin/qt5/examples/• UI/widget examples (ex, calculator) can be run and output observed from the png file stored in the same folder.
  • Yocto build configuration used• There was an update after this, but below should give a reference.• BB_VERSION = "1.17.1" BUILD_SYS = "i686-linux" NATIVELSBSTRING = "Ubuntu-12.04" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "beaglebone" DISTRO = "poky" DISTRO_VERSION = "1.3+snapshot-20130403" TUNE_FEATURES = "armv7a vfp neon" TARGET_FPU = "vfp-neon" meta meta-yocto = "master:c0910f26ea0d692c6d22f2e3f87cf710b31fdf0a" meta-oe = "master:af6c39379dbe6822d1457498e53747ed63bdbb65" meta-ti = "master:ca0f68d71b08de156c4424324466aab0ebc7296f" meta-yocto-bsp = "master:c0910f26ea0d692c6d22f2e3f87cf710b31fdf0a"
  • TODO and References• TODO:• - fonts are not installed to target, so no text appears• - eglfs with virtual/gles2 configuration update• - wayland update• - Qt 5.1 update• - webkit update• - Beaglebone itself runs only at 250 MHz (!) in the default Yocto core-image-minimal. To update with TI scripts for a better performance profile• References:• https://gist.github.com/errordeveloper/4056193 https://github.com/meta-qt5/• http://gpupowered.org/node/20