Code Monkey home page Code Monkey logo

Comments (5)

jan-kiszka avatar jan-kiszka commented on August 28, 2024 1

Most likely, you are building Qt with some compiler optimization flags or even optimized assembly that does not run on the Quark. It's a Pentium-I device, thus no SSE & Co. instructions that tend to be used for accelerating things, even memcpy. Check if you can configure Qt without that or for a specific processor generation. That may require overloading the Qt build recipe then.

from meta-iot2000.

jan-kiszka avatar jan-kiszka commented on August 28, 2024

I strongly suspect this behavioral change came from the customizations. Our vanilla example & bsp images come with an empty root password. And that's due to

debug-tweaks: |
  EXTRA_IMAGE_FEATURES = "debug-tweaks"

in meta-iot2000-bsp/kas.yml.

from meta-iot2000.

atomass avatar atomass commented on August 28, 2024

I've checked out your hint and you were right: I accidentally overwrote EXTRA_IMAGE_FEATURES in kas.yml file, instead of just appending to it.

OT:
I've added meta-qt5 layer to iot2000-example-image recipe. Everything built successfully but when I run a Qt application on the IOT2000 it crashes with a SIGILL and an Illegal instruction message. If I do a backtrace, the issue seems to be in the qCalculateBlockSize of Qt core lib. Do I have to take some particular expedient when building meta-qt5? I've added it in the kas.yml file with

  meta-qt5:
    url: https://github.com/meta-qt5/meta-qt5
    refspec: 73f99f2370a3dc5b81f42d0af7fe530431599454

under the repos section

from meta-iot2000.

atomass avatar atomass commented on August 28, 2024

Thank a million @jan-kiszka ! You saved my days! You were totally right, I've disabled sse2 optimizations (enabled by default starting from QT 5.3) and now it seems to work. Do you think could worth something if I do a pull request with the modifications I've made in order to have QT working?

from meta-iot2000.

jan-kiszka avatar jan-kiszka commented on August 28, 2024

Yes, that would be valuable! We should make this an optional fixup, though: Such a bbappend would become active if a custom image is built that includes the Qt meta layer, but we would not make that layer a hard dependency (there are currently no plans to include Qt into the example image).

Look at how we handle Go in the BSP layer for that pattern. It basically consists of having a dummy target for the .bbappend in case the user does not include a layer with the target recipe.

from meta-iot2000.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.