Oops: Unable to determine board revision from /proc/cpuinfo
-
Hi,
Where does it come from ?
What device are you using ?
What does /dev/cpuinfo return ?
What distribution are you running ? -
@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
? -
and what happens when you cat /proc/cpuinfo from the command shell?
-
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? -
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 -
Just in case, there's an issue opened on the WiringPI-python project about that error.
-
@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.