OpenEmbedded/Yocto for UDOO Boards

Discussion in 'Yocto' started by graugans, Nov 7, 2015.

  1. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Perhaps i will wait your update :D
     
    graugans likes this.
  2. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Please retry, should be fixed now
     
  3. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Ok, i use the patch like you say (don't use your update), and it work, just this warning :

    WARNING: QA Issue: ELF binary '/media/modjo/39a50e93-4c35-4598-a6b8-9627986411e5/yocto/seco/udoo-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebengine/5.5.1+gitAUTOINC+qtwebengine_146ebe26dc-r0/packages-split/qtwebengine-plugins/usr/lib/qt5/plugins/qtwebengine/libffmpegsumo.so' has relocations in .text [textrel]
    WARNING: QA Issue: qtwebengine rdepends on qtlocation, but it isn't a build dependency? [build-deps]

    NOTE: Tasks Summary: Attempted 4776 tasks of which 4760 didn't need to be rerun and all succeeded.
     
  4. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    UPDATE 27.01.2016
    • ROOTFS Partion is expanded to SD-Card size during first boot

    The very last one should be fixed by my update.
    Code:
    WARNING: QA Issue: qtwebengine rdepends on qtlocation, but it isn't a build dependency? [build-deps]
    The first one will be hopefully fixed with my next update :)
     
    modjo likes this.
  5. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    for lsmod : https://gist.github.com/modjo756/739ae77f32bae86f1256
    dmesg :

    [ 8895.075031] usb 1-1.2: USB disconnect, device number 3
    [ 8897.873413] usb 1-1.2: new full-speed USB device number 6 using ci_hdrc
    [ 8898.005275] usb 1-1.2: New USB device found, idVendor=0eef, idProduct=0001
    [ 8898.012199] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [ 8898.019669] usb 1-1.2: Product: USB TouchController
    [ 8898.024662] usb 1-1.2: Manufacturer: eGalax Inc.
     
  6. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    About your update, i apply
    $ repo sync
    $ MACHINE=udooqdl bitbake udoo-image-qt5

    I have this error :

    ERROR: Command Error: exit status: 1 Output:
    Patch 0002-media_capture_devices_dispatcher.h-Include-QCoreApplication-translate.patch is already applied; check your series file
    ERROR: Function failed: patch_do_patch
    ERROR: Logfile of failure stored in: /media/modjo/39a50e93-4c35-4598-a6b8-9627986411e5/yocto/seco/udoo-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtwebengine/5.5.1+gitAUTOINC+qtwebengine_146ebe26dc-r0/temp/log.do_patch.26004
    ERROR: Task 449 (/media/modjo/39a50e93-4c35-4598-a6b8-9627986411e5/yocto/seco/udoo-community-bsp/sources/meta-qt5/recipes-qt/qt5/qtwebengine_git.bb, do_patch) failed with exit code '1'

    Do i need to make a clean of qtwebengine to resolve this ?

    Otherwise, i have added some modules to qt5 but one module give me some issue. I would to add qtquickcontrols-qmlplugin to udoo-image-qt5.bb --> my file https://gist.github.com/modjo756/23bf84e4e3ae5feb73e6

    it fetch qtquickcontrol but i have this error during do_rootfs
    https://gist.github.com/modjo756/0584836fa56545c01da3

    In meta qt5 we can find this package https://github.com/meta-qt5/meta-qt5/blob/master/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb but i can't find a solution to use it (perhaps i need another module to build it ...)
     
  7. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Regarding the build error of qtwebengine this is caused by your modification either in the original recipe or by adding a second bbappend so you have to revert this first. Otherwise the buildsystem tries to apply patches a second time this will not work :)

    Gesendet von meinem Nexus 4 mit Tapatalk
     
  8. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Yes, do i remove the patchs that i have downloaded and the 3 lines add to qtwebengine.bb ?
     
  9. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Or you can do a git checkout -- qtwebengine.bb in the meta-qt5 when changed there.

    Gesendet von meinem Nexus 4 mit Tapatalk
     
    modjo likes this.
  10. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Ok build with success with your layer, but already this error about qtquickcontrols :mad: I didn't find any solution ... Otherwise qtquick (particles, video effect ...) works very good on quad :) i will make some video about this but before i would like to build qtquickcontrols !!!

    edit :
    perhaps, they have another modules to install, but i'm not an expert with yocto, see this post https://community.freescale.com/docs/DOC-100419
     
    Last edited: Jan 28, 2016
    graugans likes this.
  11. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Have you tried to create an issue on the meta-qt5 repo on github regarding the qtquickcontrols issue. Frankly this is beyond my limited QtGui knowledge :) Maybe you have to enable them in a recipe or they are part of another package. Do you have an idea how the files are named?
     
    modjo likes this.
  12. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    I will try to post an issue on meta qt5 repo, nice idea ;) ! I already post a mail on the meta freescale mailing list but no answer for the moment ... Other point, qt multimedia can't read video for the moment (no service provider)--> need to install gstreamer dev tool (i will try it).
    Otherwise, do you know how to enable the power button on udoo quad ?
     
    graugans likes this.
  13. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    I can not find your post on meta-fsl Mailinglist. Just one mail regarding X11 and Qt.

    Gesendet von meinem Nexus 4 mit Tapatalk
     
  14. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    i poste my mail on this mail list --> meta-freescale@yoctoproject.org yesterday. Under a copy of my mail :
    Hi, i have an issue to build qtquickcontrols-qmlplugin with qt5.5.1 (jethro branch). I'm doing this for a udoo board (neo and quad) with this meta :https://github.com/graugans/meta-udoo. I added the meta qt5 layer and i can deploy some app to the board (cinematic experience work fine in eglfs). The problem is that i didn't have qt quick control, when i add it to the image, it fetch but i have this error during do_rootfs :ERROR: qtquickcontrols-qmlplugins not found in the base feeds (complete error here : https://gist.github.com/modjo756/0584836fa56545c01da3)

    this is the bb for qt5 image that i use : https://gist.github.com/modjo756/23bf84e4e3ae5feb73e6

    i didn't find a solution for the moment

    thank's in advance for your help !
     
  15. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    @modjo you need to activate accessibility to provide qtquickcontrols
    Related to this posting on the ML you need to tweak your local.conf like this

    And then add add
    • qtdeclarative-qmlplugins
    • qtquickcontrols-qmlplugin
    Or like Otavio suggested in this post

    To the image. I recommend to do this by an extra udoo-image-qt5.bbappend file

    Code:
    IMAGE_INSTALL += " \
    qtdeclarative-qmlplugins \
    qtquickcontrols-qmlplugins \
    "
    Otherwise you'll always run in trouble when I do updates on the image file.
     
    Last edited: Jan 29, 2016
    modjo likes this.
  16. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    On behalf of the UDOO Team, we love you, @graugans!
     
    modjo and graugans like this.
  17. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Like Andrea, you are the best Graugan !!!
    @Udoo team engage him ;)
     
    graugans likes this.
  18. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Thx, guys I just try to improve my skills ...

    Gesendet von meinem Nexus 4 mit Tapatalk
     
    waltervl likes this.
  19. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    I think i can say thanks for the community !

    Graugans, with your tip about quickcontrol, it's ok ! build fine and lib install in rootfs :cool: and sdcard resize work fine at boot, good job ! (another time)

    But i have a last point (to have a full qt install in your bsp !!!), for the moment we can't play video with qt. Gstreamer 1 is install, but in usr/lib/qt5/plugins/mediaservice/ we just have libqtmedia_audioengine.so (on the sdcard). But to have the full multimedia pack (video, cam ...) we need to add :

    - libgstmediacapture.so
    - libgstcamerabin.so
    - libgstmediaplayer.so
    - libgstaudiodecoder.so

    See this post : http://forums.wandboard.org/viewtopic.php?f=10&t=1057

    i have added this to your udoo-image-qt5.bb

    GSTREAMER_TOOLS = " \
    packagegroup-fsl-gstreamer1.0-full \
    gstreamer \
    gst-plugins-base-app \
    gst-plugins-base \
    gst-plugins-good \
    gst-plugins-good-rtsp \
    gst-plugins-good-udp \
    gst-plugins-good-rtpmanager \
    gst-plugins-good-rtp \
    gst-plugins-good-video4linux2 \
    "

    make a :
    $ MACHINE=udooqdl bitbake -ccleanall qtmultimedia
    $ MACHINE=udooqdl bitbake udoo-image-qt5

    But it's not sufficient, i don't have the lib ! do you have an idea about this ?
    for information, the error is :

    defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"

    edit :
    I'm trying with this option :
    PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer010"
     
    Last edited: Jan 29, 2016
    graugans likes this.
  20. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    I'll take a look into gstreamer soon. I guess 0.10 is not the way to go. But maybe I am wrong.

    What package config did you finally used the first one or the one from Otavio?

    Gesendet von meinem Nexus 4 mit Tapatalk
     

Share This Page