Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Oops: Unable to determine board revision from /proc/cpuinfo
QtWS25 Last Chance

Oops: Unable to determine board revision from /proc/cpuinfo

Scheduled Pinned Locked Moved Unsolved General and Desktop
13 Posts 4 Posters 12.0k Views
  • 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.
  • M Offline
    M Offline
    Momeneh
    wrote on last edited by
    #1

    can you help me for solving this problem?
    " Oops: Unable to determine board revision from /proc/cpuinfo "
    after i run my qt application, this error apear.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Where does it come from ?
      What device are you using ?
      What does /dev/cpuinfo return ?
      What distribution are you running ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        Where does it come from ?
        What device are you using ?
        What does /dev/cpuinfo return ?
        What distribution are you running ?

        M Offline
        M Offline
        Momeneh
        wrote on last edited by
        #3

        @SGaist
        I intend to turn on and off a led(or a blinking led) using raspberry pi3 and i also want to firstly do this in qtcreator in ubuntu enviroment and then cross compile it on raspberry pi,
        But when i run the code on qtcreator, this error apear.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          What are you using that tries to access /dev/cpuinfo ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • Kent-DorfmanK Offline
            Kent-DorfmanK Offline
            Kent-Dorfman
            wrote on last edited by
            #5

            and what happens when you cat /proc/cpuinfo from the command shell?

            1 Reply Last reply
            1
            • M Offline
              M Offline
              Momeneh
              wrote on last edited by
              #6

              I used wiringPi library in my code, and now i found out this library installed with problem. i installed this library from bellow link :
              http://wiringpi.com/download-and-install/
              and when i use "gpio -v" command bellow error apear again :
              Oops: Unable to determine board revision from /proc/cpuinfo
              -> No "Hardware" line
              -> You'd best google the error to find out why.

              unfortunatly, i cann't install wiringPi successfully and i think that my problem relevant to it.

              jsulmJ 1 Reply Last reply
              0
              • M Momeneh

                I used wiringPi library in my code, and now i found out this library installed with problem. i installed this library from bellow link :
                http://wiringpi.com/download-and-install/
                and when i use "gpio -v" command bellow error apear again :
                Oops: Unable to determine board revision from /proc/cpuinfo
                -> No "Hardware" line
                -> You'd best google the error to find out why.

                unfortunatly, i cann't install wiringPi successfully and i think that my problem relevant to it.

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

                @Momeneh Where do you call gpio? On your RaspberryPi?
                As @Kent-Dorfman asked - what does "cat /proc/cpuinfo" on your RaspberryPi output?

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

                1 Reply Last reply
                1
                • M Offline
                  M Offline
                  Momeneh
                  wrote on last edited by
                  #8

                  i used "gpio -v" command on terminal in ubuntu , becauce qtcreator installed in ubuntu, i want cross compile my code on raspberry pi after it run on qtcreator in ubuntu sucessfully.
                  i don't check "cat /proc/cpuinfo" command. let me to check it.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    Momeneh
                    wrote on last edited by
                    #9

                    you can see the result of "cat /proc/cpuinfo" command on raspberry pi :
                    pi@raspberrypi:~ $ cat /proc/cpuinfo
                    processor : 0
                    model name : ARMv7 Processor rev 4 (v7l)
                    BogoMIPS : 38.40
                    Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
                    CPU implementer : 0x41
                    CPU architecture: 7
                    CPU variant : 0x0
                    CPU part : 0xd03
                    CPU revision : 4

                    processor : 1
                    model name : ARMv7 Processor rev 4 (v7l)
                    BogoMIPS : 38.40
                    Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
                    CPU implementer : 0x41
                    CPU architecture: 7
                    CPU variant : 0x0
                    CPU part : 0xd03
                    CPU revision : 4

                    processor : 2
                    model name : ARMv7 Processor rev 4 (v7l)
                    BogoMIPS : 38.40
                    Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
                    CPU implementer : 0x41
                    CPU architecture: 7
                    CPU variant : 0x0
                    CPU part : 0xd03
                    CPU revision : 4

                    processor : 3
                    model name : ARMv7 Processor rev 4 (v7l)
                    BogoMIPS : 38.40
                    Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
                    CPU implementer : 0x41
                    CPU architecture: 7
                    CPU variant : 0x0
                    CPU part : 0xd03
                    CPU revision : 4

                    Hardware : BCM2835
                    Revision : a22082
                    Serial : 00000000d6fbcaf1

                    jsulmJ 1 Reply Last reply
                    0
                    • M Momeneh

                      you can see the result of "cat /proc/cpuinfo" command on raspberry pi :
                      pi@raspberrypi:~ $ cat /proc/cpuinfo
                      processor : 0
                      model name : ARMv7 Processor rev 4 (v7l)
                      BogoMIPS : 38.40
                      Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
                      CPU implementer : 0x41
                      CPU architecture: 7
                      CPU variant : 0x0
                      CPU part : 0xd03
                      CPU revision : 4

                      processor : 1
                      model name : ARMv7 Processor rev 4 (v7l)
                      BogoMIPS : 38.40
                      Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
                      CPU implementer : 0x41
                      CPU architecture: 7
                      CPU variant : 0x0
                      CPU part : 0xd03
                      CPU revision : 4

                      processor : 2
                      model name : ARMv7 Processor rev 4 (v7l)
                      BogoMIPS : 38.40
                      Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
                      CPU implementer : 0x41
                      CPU architecture: 7
                      CPU variant : 0x0
                      CPU part : 0xd03
                      CPU revision : 4

                      processor : 3
                      model name : ARMv7 Processor rev 4 (v7l)
                      BogoMIPS : 38.40
                      Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
                      CPU implementer : 0x41
                      CPU architecture: 7
                      CPU variant : 0x0
                      CPU part : 0xd03
                      CPU revision : 4

                      Hardware : BCM2835
                      Revision : a22082
                      Serial : 00000000d6fbcaf1

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

                      @Momeneh Shouldn't you use gpio on your RaspberryPi and not Ubuntu machine?

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

                      M 1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        Just in case, there's an issue opened on the WiringPI-python project about that error.

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply
                        2
                        • jsulmJ jsulm

                          @Momeneh Shouldn't you use gpio on your RaspberryPi and not Ubuntu machine?

                          M Offline
                          M Offline
                          Momeneh
                          wrote on last edited by
                          #12

                          @jsulm
                          Yes, i checked it on raspberry pi, i installed wiringPi on raspberry pi successfully and output of "gpio -v" command was true. Now i want to compile and run my code on raspberry pi. But i connect to raspberry pi with ssh from ubuntu and control it remotely. Now i copied my files to raspberry pi and i want to compile it with qmake but qmake don't install on raspberry pi and i don't know why.

                          jsulmJ 1 Reply Last reply
                          0
                          • M Momeneh

                            @jsulm
                            Yes, i checked it on raspberry pi, i installed wiringPi on raspberry pi successfully and output of "gpio -v" command was true. Now i want to compile and run my code on raspberry pi. But i connect to raspberry pi with ssh from ubuntu and control it remotely. Now i copied my files to raspberry pi and i want to compile it with qmake but qmake don't install on raspberry pi and i don't know why.

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

                            @Momeneh You can use Qt packages provided by Raspbian if you don't need latest Qt version. This would be the easiest way.

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

                            1 Reply Last reply
                            1

                            • Login

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