Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building Qt for ARMv6l
Forum Updated to NodeBB v4.3 + New Features

Building Qt for ARMv6l

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
24 Posts 5 Posters 11.3k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Gutemberg

    @tomasz3dk Thanks for get back. We cannot create an image for the device. We can only create applications for it. And yes, we have a toolchain with sysroot here. Tutorials like that one is one of the multiple ones around the web that points to specific PI build. There is no docs or tutorial for general ARM devices.

    I updated the post with basic information of the device processor.

    Thanks

    tomasz3dkT Offline
    tomasz3dkT Offline
    tomasz3dk
    wrote on last edited by
    #15

    @Gutemberg I don't see informations about processor in your first post ;)

    G 1 Reply Last reply
    0
    • tomasz3dkT tomasz3dk

      @Gutemberg I don't see informations about processor in your first post ;)

      G Offline
      G Offline
      Gutemberg
      wrote on last edited by
      #16
      This post is deleted!
      mrjjM 1 Reply Last reply
      0
      • G Gutemberg

        This post is deleted!

        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by mrjj
        #17

        @Gutemberg
        Hi upload is broken here at forum ;(
        please use external site and paste link here.

        G 1 Reply Last reply
        0
        • mrjjM mrjj

          @Gutemberg
          Hi upload is broken here at forum ;(
          please use external site and paste link here.

          G Offline
          G Offline
          Gutemberg
          wrote on last edited by mrjj
          #18

          @mrjj thanks!

          @tomasz3dk here is the CPU info http://imageshack.com/a/img923/9276/3Zl3xf.png

          1 Reply Last reply
          0
          • G Offline
            G Offline
            Gutemberg
            wrote on last edited by
            #19

            Ok good news!

            I got Qt 5.8-beta compiled (didn't tried QtWebkit yet and previous versions don't compile, dunno why)! -> I'll post a complete step-by-step here once I got everything to work.

            Sent to the device just the libQt5Core and a HelloWorld app that just write a line to the console I built with QtCreator and this is the output:

            /data/opt/helloconsole $ ./HelloConsole
            A newer kernel is required to run this binary. (__kernel_cmpxchg64 helper)
            

            Any idea on what can be? As the image I posted here, the kernel is 3.0.56...

            Thanks

            jsulmJ 1 Reply Last reply
            1
            • G Gutemberg

              Ok good news!

              I got Qt 5.8-beta compiled (didn't tried QtWebkit yet and previous versions don't compile, dunno why)! -> I'll post a complete step-by-step here once I got everything to work.

              Sent to the device just the libQt5Core and a HelloWorld app that just write a line to the console I built with QtCreator and this is the output:

              /data/opt/helloconsole $ ./HelloConsole
              A newer kernel is required to run this binary. (__kernel_cmpxchg64 helper)
              

              Any idea on what can be? As the image I posted here, the kernel is 3.0.56...

              Thanks

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #20

              @Gutemberg said in Building Qt for ARMv6l:

              __kernel_cmpxchg64

              Does this happen with a plain C++ hello world application without Qt?
              Here something about this issue: http://uhurumkate.blogspot.de/2014/07/a-newer-kernel-is-required-to-run-this.html
              It should work with kernel >= 3.1

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              G 1 Reply Last reply
              1
              • jsulmJ jsulm

                @Gutemberg said in Building Qt for ARMv6l:

                __kernel_cmpxchg64

                Does this happen with a plain C++ hello world application without Qt?
                Here something about this issue: http://uhurumkate.blogspot.de/2014/07/a-newer-kernel-is-required-to-run-this.html
                It should work with kernel >= 3.1

                G Offline
                G Offline
                Gutemberg
                wrote on last edited by
                #21

                @jsulm nop, other c++ apps ran just fine on the device. Only with Qt the problem happens...

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  Gutemberg
                  wrote on last edited by
                  #22

                  Hey guys, does anyone has any idea how to workaround this issue (except by upgrading kernel since it is not possible)?

                  We really want to buy Qt but we are struggling with this major blocker.

                  Thanks!

                  jsulmJ 1 Reply Last reply
                  0
                  • G Gutemberg

                    Hey guys, does anyone has any idea how to workaround this issue (except by upgrading kernel since it is not possible)?

                    We really want to buy Qt but we are struggling with this major blocker.

                    Thanks!

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #23

                    @Gutemberg GCC < 4.7 could help. Did you check the link I provided? There are several suggestions which can help:

                    • Enabling arm v7 hard-float might solve your problem (it solved mine).
                    • Using -mfpu=vfp and -mfloat-abi=hard might solve your problem (i didn't try as armv7 was desired).

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      dsicari
                      wrote on last edited by
                      #24

                      Hello!! Do you have any news on it? Did you even run sme qt application on S920? If you did, can you tell us about?

                      thanks!

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved