UDOObuntu 2 with Kernel 3.14

Discussion in 'Linux Ubuntu' started by Andrea Rovai, Jul 28, 2015.

  1. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Thank's for your help !

    Otherwise, i'm trying to compile qt5.5 on the card but i have many problems ...
    First there is no lib for open gl es 2 installed on this os. To correct this i install this : http://repository.timesys.com/buildsources/g/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q-3.10.17-1.0.2/ but i'm not sure is it correct because the kernel version is not the same (3.14 on udoobuntu 2). Perhaps the good solution is to install this version : http://repository.timesys.com/buildsources/i/imx-gpu-viv/imx-gpu-viv-5.0.11.p4.4/ but i don't know how to install this patch (.bin) ?! Udooteam can you said us what version of this lib do you plan to deliver ?

    Other problem, after a ./configure i obtain this :

    Build options:
    Configuration .......... accessibility accessibility-atspi-bridge alsa audio-backend c++11 clock-gettime clock-monotonic compile_examples concurrent cross_compile cups dbus eglfs_viv enable_new_dtags evdev eventfd fontconfig full-config getaddrinfo getifaddrs glib gstreamer-0.10 harfbuzz iconv icu inotify ipv6ifname large-config largefile libudev linuxfb medium-config minimal-config mremap mtdev neon nis opengl opengles2 openssl openvg pcre png posix_fallocate precompile_header pulseaudio qpa qpa reduce_exports release rpath shared small-config system-freetype system-jpeg system-png system-zlib tslib use_gold_linker xcb xcb-glx xcb-plugin xcb-render xcb-xlib xinput2 xkbcommon-qt xlib xrender
    Build parts ............ libs
    Mode ................... release
    Using sanitizer(s)...... none
    Using C++11 ............ yes
    Using gold linker....... yes
    Using new DTAGS ........ yes
    Using PCH .............. yes
    Target compiler supports:
    Neon ................. yes


    Qt modules and options:
    Qt D-Bus ............... yes (loading dbus-1 at runtime)
    Qt Concurrent .......... yes
    Qt GUI ................. yes
    Qt Widgets ............. yes
    Large File ............. yes
    QML debugging .......... yes
    Use system proxies ..... no

    Support enabled for:
    Accessibility .......... yes
    ALSA ................... yes
    CUPS ................... yes
    Evdev .................. yes
    FontConfig ............. yes
    FreeType ............... yes (system library)
    Glib ................... yes
    GStreamer .............. yes (0.10)
    GTK theme .............. no
    HarfBuzz ............... yes (bundled copy)
    Iconv .................. yes
    ICU .................... yes
    Image formats:
    GIF .................. yes (plugin, using bundled copy)
    JPEG ................. yes (plugin, using system library)
    PNG .................. yes (in QtGui, using system library)
    journald ............... no
    libinput................ no
    mtdev .................. yes (system library)
    Networking:
    getaddrinfo .......... yes
    getifaddrs ........... yes
    IPv6 ifname .......... yes
    libproxy.............. no
    OpenSSL .............. yes (loading libraries at run-time)
    NIS .................... yes
    OpenGL / OpenVG:
    EGL .................. no
    OpenGL ............... yes (OpenGL ES 2.0+)
    OpenVG ............... yes-auto
    PCRE ................... yes (bundled copy)
    pkg-config ............. yes
    PulseAudio ............. yes
    QPA backends:
    DirectFB ............. no
    EGLFS ................ no
    EGLFS i.MX6....... . yes
    EGLFS KMS .......... no
    EGLFS Mali ......... no
    EGLFS Raspberry Pi . no
    EGLFS X11 .......... no
    LinuxFB .............. yes
    XCB .................. yes (system library)
    EGL on X ........... no
    GLX ................ yes
    MIT-SHM ............ yes
    Xcb-Xlib ........... yes
    Xcursor ............ yes (loaded at runtime)
    Xfixes ............. yes (loaded at runtime)
    Xi ................. no
    Xi2 ................ yes
    Xinerama ........... yes (loaded at runtime)
    Xrandr ............. yes (loaded at runtime)
    Xrender ............ yes
    XKB ................ yes
    XShape ............. yes
    XSync .............. yes
    XVideo ............. yes
    Session management ..... yes
    SQL drivers:
    DB2 .................. no
    InterBase ............ no
    MySQL ................ yes (plugin)
    OCI .................. no
    ODBC ................. yes (plugin)
    PostgreSQL ........... yes (plugin)
    SQLite 2 ............. yes (plugin)
    SQLite ............... yes (plugin, using bundled copy)
    TDS .................. yes (plugin)
    tslib .................. yes
    udev ................... yes
    xkbcommon-x11........... yes (bundled copy, XKB config root: /usr/share/X11/xkb)
    xkbcommon-evdev......... no
    zlib ................... yes (system library)


    make -j3
    I have this error :
    usr/include/c++/4.8/bits/stl_relops.:67: Parse error at "std"
    make[3]: *** [.moc/moc_qabstractanimation.cpp] Error 1

    Normally this bug is corrected in previous version https://forum.qt.io/topic/56552/solved-pi2-qt5-4-1-std-errors-configure-errors, i don't know why i have this ...
     
  2. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Hi there modjo!
    Opengl libraries are present, as it's shown in the log you posted. There are also the Vivante OpenGL libraries. Qt will be released in the next beta, but nothing's established yet.
    Cheers
     
  3. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Hi Andrea, openGl libraries is present in my log because i install the patch (see my previous post) before that i have an error with qt that not find the opengl libraries in /usr/include. It doesn't matter i just would like to make a test ! I'm waiting the next beta to test Qt ....
    Just for informations, can you said us where are it and here name please ?
     
    Last edited: Aug 20, 2015
  4. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Hi there modjo,
    libraries are installed, but headers, useful to compile, are not inside. We didn't install them. However, they're available in our repo - through apt-get install -

    imx-gpu-viv-9t6-dev

    you have to install this packet, it contains the headers - that are useless to run opengl apps, but useful to compile ogl-based stuff.
     
  5. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Thank's a lot;)
     
    Andrea Rovai likes this.
  6. Theflorianmaas

    Theflorianmaas UDOOer

    Joined:
    Dec 7, 2013
    Messages:
    22
    Likes Received:
    2
    Hi there,
    I find UDOObuntu 2 is a great improvement, faster and more stabile.
    I'd like to test is running on a Sata driver instead of the microSD. Is there a way to change the default boot device?
    It sounds like the instructions for the previous version are no longer valid. I hope the feature to change the boot device is kept in the Udoo configuration tools and included in the next beta, but in the meanwhile i'd appreciate if you could give me a tip.
    Thank's a lot
     
  7. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Hi there all,
    @Theflorianmaas: in the next betas we'll add an easy way, like UDOO Configuration Tool, to change the default boot device, but for the moment my only suggestion is to play with the uboot environment variables.
     
  8. sirrab

    sirrab UDOOer

    Joined:
    Jul 26, 2014
    Messages:
    264
    Likes Received:
    32
    Can you provide more info to get a SSD setup to boot with the new 14.04 lubuntu image? I have tried using the older 12.0 to no avail.
     
  9. sirrab

    sirrab UDOOer

    Joined:
    Jul 26, 2014
    Messages:
    264
    Likes Received:
    32
    Has anyone been successful getting an SSD/HDD to boot with the new beta v2 lubuntu distribution? Really, no one?
     
  10. chiefwigms

    chiefwigms New Member

    Joined:
    Oct 19, 2013
    Messages:
    15
    Likes Received:
    0
    can you guys add 1wire support in the kernel?
     
  11. sirrab

    sirrab UDOOer

    Joined:
    Jul 26, 2014
    Messages:
    264
    Likes Received:
    32
    I ask again, has anyone been able to setup a boot from SATA with this version of lubuntu?
     
  12. B35a13

    B35a13 UDOOer

    Joined:
    Jun 24, 2014
    Messages:
    10
    Likes Received:
    1
    Hey sirrab, not exactly what you want to hear but I failed to get the SATA boot working. In all honesty, I didn't know what I was doing ;)
     
  13. sirrab

    sirrab UDOOer

    Joined:
    Jul 26, 2014
    Messages:
    264
    Likes Received:
    32
    Don't feel bad. I was able to with the older version of ubuntu. But not yet with the newer version....
     
  14. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Hi , about the beta 2, how we can install qt5.2, by a sudo apt-get install ? Can you precise it please ?
    For information usb egalax don't work anymore in this version ?
     
  15. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
    Yes, you can use apt-get to install qt5. We pushed on our repository all packages from `qtbase-opensource` and `qtmultimedia-opensource`. There is X11 GPU acceleration provided by XCB QPA backend.
     
    modjo likes this.
  16. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Hi and thank you for your answer ! I will try it as soon as possible ! For information, do you compile the source of qt5.2 or just take the binaries in a depot ? If you make a compile, could you provide us a guide (i say that to try qt5.5) ?
     
  17. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
    I started from sources (the ones posted on our deb-src repo). Basically it is just ubuntu's 5.2 QT, applying a couple of Freescale patches (see source/debian/patches) and patched source/debian/rules to run ./configure with different args, thus enabling XCB backend. Some makefile had to be patched too to link against x11-libxkbd.

    I tried to build QT5.4 too from Ubuntu, but some dependencies changed from 14.04 to 15.04/10 so I stopped everything, I wouldn't risk to provide something bad. Why do you need 5.5?
     
  18. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Hi, i would like qt5.5 because they have some new feature that i need (qt3d, qt bluetooth LE, qtquick extras http://doc.qt.io/qt-5/qtquickextras-index.html, webEngine ...) for my project. All of this work fine on my raspberry2, but i will prefer to use your hardware because it better ! And in the next qt5.6 they introduce Qt Speech (for speech recognition and text to speech) and a new serial module that introduce Can network) ... All of this feature is very interesting for an embedded platform i think ! If it can works i can make some tutorial (comm between c++ and qml, network ..., i use it at my work) but for the moment ... See this video :

    Otherwise my Sata disk work now and the navigation under chrome is very fluent, congratulation for your good job !;)
     
    Last edited: Sep 17, 2015
  19. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
    In the next days I will try to build QT 5.5 but in every case will not be included in the official udoobuntu, but eventually provided as external package.
     
    modjo likes this.
  20. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Big thank's to try it !!! :) If we just have a tutorial it would be a big step Francesco and a package a dream ...

    Let us know your progress
     

Share This Page