Oops: Unable to determine board revision from /proc/cpuinfo
-
wrote on 27 Mar 2019, 19:33 last edited by
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. -
Hi,
Where does it come from ?
What device are you using ?
What does /dev/cpuinfo return ?
What distribution are you running ? -
Hi,
Where does it come from ?
What device are you using ?
What does /dev/cpuinfo return ?
What distribution are you running ?wrote on 27 Mar 2019, 21:00 last edited by@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. -
What are you using that tries to access
/dev/cpuinfo
? -
wrote on 27 Mar 2019, 22:27 last edited by
and what happens when you cat /proc/cpuinfo from the command shell?
-
wrote on 28 Mar 2019, 08:52 last edited by
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.
-
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.
@Momeneh Where do you call gpio? On your RaspberryPi?
As @Kent-Dorfman asked - what does "cat /proc/cpuinfo" on your RaspberryPi output? -
wrote on 28 Mar 2019, 09:50 last edited by
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. -
wrote on 28 Mar 2019, 10:00 last edited by
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 : 4processor : 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 : 4processor : 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 : 4processor : 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 : 4Hardware : BCM2835
Revision : a22082
Serial : 00000000d6fbcaf1 -
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 : 4processor : 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 : 4processor : 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 : 4processor : 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 : 4Hardware : BCM2835
Revision : a22082
Serial : 00000000d6fbcaf1@Momeneh Shouldn't you use gpio on your RaspberryPi and not Ubuntu machine?
-
Just in case, there's an issue opened on the WiringPI-python project about that error.
-
wrote on 28 Mar 2019, 13:48 last edited by
@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. -
@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.@Momeneh You can use Qt packages provided by Raspbian if you don't need latest Qt version. This would be the easiest way.
1/13