Comments (12)
can you run this script and paste the output?
https://github.com/adafruit/Adafruit_Python_PlatformDetect/blob/master/bin/detect.py
from adafruit_blinka.
Here's the response from my RPi
python3
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import adafruit_platformdetect
i?", detector.board.any_raspberry_pi_40_pin)
print("Is this a BBB?", detector.board.BEAGLEBONE_BLACK)
print("Is this an Orange Pi PC?", detector.board.ORANGE_PI_PC)
print("Is this an embedded Linux system?", detector.board.any_embedded_linux)
print("Is this a generic Linux PC?", detector.board.GENERIC_LINUX_PC)
if detector.board.any_raspberry_pi:
print("Raspberry Pi detected.")>>>
>>> detector = adafruit_platformdetect.Detector()
>>>
>>> print("Chip id: ", detector.chip.id)
Chip id: BCM2XXX
>>>
>>> print("Board id: ", detector.board.id)
Board id: None
>>>
>>> print("Is this a Pi 3B+?", detector.board.RASPBERRY_PI_3B_PLUS)
Is this a Pi 3B+? False
>>> print("Is this a 40-pin Raspberry Pi?", detector.board.any_raspberry_pi_40_pin)
Is this a 40-pin Raspberry Pi? False
>>> print("Is this a BBB?", detector.board.BEAGLEBONE_BLACK)
Is this a BBB? False
>>> print("Is this an Orange Pi PC?", detector.board.ORANGE_PI_PC)
Is this an Orange Pi PC? False
>>> print("Is this an embedded Linux system?", detector.board.any_embedded_linux)
Is this an embedded Linux system? True
>>> print("Is this a generic Linux PC?", detector.board.GENERIC_LINUX_PC)
Is this a generic Linux PC? False
>>>
>>> if detector.board.any_raspberry_pi:
... print("Raspberry Pi detected.")
...
Raspberry Pi detected.
from adafruit_blinka.
ok - please paste the output of cat /proc/cpuinfo
from adafruit_blinka.
processor : 0
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 76.80
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 : 76.80
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 : 76.80
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 : 76.80
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 : 2a02082
Serial : 00000000f60f3209
from adafruit_blinka.
dak, are you doing something 'unusual' with this Pi, overvolting or overclocking or some other mod? 2a02082
is an unusual revcode
from adafruit_blinka.
(or did you at some time?) its no biggie, we're just trying to figure out why you have that bit set so we can add it
from adafruit_blinka.
I'm not modding my Pi at all. I have tried several times using either the OS from NOOBS and from the stretch img file.
The only thing I did was expanding the SWAPFILE so I could install OpenCV on my Pi. But I returned the SWAPFILE back to default setting. So I don't know where the cause of it
And hopefully this info can help with the troubleshooting, I did install the MotorKit library on this same RPi before, and it worked before Christmas. But after I reinstalled the OS yesterday, I cannot import the library anymore.
from adafruit_blinka.
And I think that revcode is because my RPi is shipped from UK
https://www.raspberrypi-spy.co.uk/2012/09/checking-your-raspberry-pi-board-version/
from adafruit_blinka.
nope, its because of the warranty bit
- please hold! :)
from adafruit_blinka.
Oh. I did some modification on my /boot/config.txt then. But it's mostly for gpu_mem, and screen resolution to fit my teamviewer
from adafruit_blinka.
ok try sudo pip install Adafruit-PlatformDetect --upgrade
so you have 0.0.9 and try again
from adafruit_blinka.
Thank you very much. The problem is resolved. Still kinda strange for me when I did the exact thing like I did before Christmas and it did not work
Well, I guess that will remain a mystery of programming lol
from adafruit_blinka.
Related Issues (20)
- Banana Pi M2 Berry
- Adafruit-PlatformDetect version 3.60.0 was unable to identify the board HOT 13
- Please support RP2040-LCD-1.28 HOT 1
- adafruit HOT 2
- KB 2040 board HOT 2
- Open drain output on a Raspberry Pi requires value setting of an input pin HOT 2
- GPIO Access Support for linux (kernel > 4.7) HOT 7
- These are very inexpensive and I think would be good boards to support -- LuckyFox Pico Mini HOT 1
- Jetson Nano resulting in AttributeError: module 'adafruit_platformdetect.constants.chips' has no attribute 'JH71x0' HOT 30
- Use HW PWM for pins that support it
- Please support for orange pi win plus!!! HOT 1
- Support for Orange Pi Zero 2W HOT 1
- problem in running code in raspberry pi pico HOT 1
- Bug in pwmio.py introduced with commit e13c0662ce0da9e936c652953aa1d3f9d6b872d5 HOT 1
- Up Board
- not able to run the code HOT 3
- RPi 5 compatibility HOT 2
- Nanopi neo HOT 1
- New Support: Orange Pi Zero LTS HOT 1
- LED Channel as one of parameters for NeoPixel HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adafruit_blinka.