Giter Club home page Giter Club logo

Comments (22)

Fury1SOG avatar Fury1SOG commented on July 21, 2024 1

@ladyada , @brennen , thanks for your help!!

from adafruit_blinka.

ladyada avatar ladyada commented on July 21, 2024 1

please open a new issue instead of bumping a closed issue

from adafruit_blinka.

ladyada avatar ladyada commented on July 21, 2024

please update the latest on all your packages in that pip list :) does that help

from adafruit_blinka.

ladyada avatar ladyada commented on July 21, 2024

also, try running this script and telling us the output https://github.com/adafruit/Adafruit_Python_PlatformDetect/blob/master/bin/detect.py

from adafruit_blinka.

rake36 avatar rake36 commented on July 21, 2024

So without upgrading any packages, detect.py returns:

(car1) pi@picar:~/car1 $ python3 detect.py
Chip id:  None
Board id:  None
Is this a Pi 3B+? False
Is this a 40-pin Raspberry Pi? False
Is this a BBB? False
Is this an Orange Pi PC? False
Is this an embedded Linux system? False
Is this a generic Linux PC? False

I had noticed this before: that the Chip and Board id's were returning None, but wasn't sure what to make of it. The Pi appears to be fine to me: Wi-Fi is up, SSH works (which is how I'm interacting with it most of the time).

The motor HAT shows green power when I connect the 4 AA battery pack.

from adafruit_blinka.

rake36 avatar rake36 commented on July 21, 2024

please update the latest on all your packages in that pip list :) does that help

None of the packages were candidates for upgrades. After running upgrade on all of them, I see this from pip3 freeze.

(car1) pi@picar:~/car1 $ cat freeze3b.txt
Adafruit-Blinka==1.0.2
adafruit-circuitpython-busdevice==2.2.7
adafruit-circuitpython-motor==1.3.3
adafruit-circuitpython-motorkit==1.2.3
adafruit-circuitpython-pca9685==3.2.3
adafruit-circuitpython-register==1.3.2
Adafruit-PlatformDetect==0.0.7
rpi-ws281x==4.1.0
RPi.GPIO==0.6.5
spidev==3.2

from adafruit_blinka.

rake36 avatar rake36 commented on July 21, 2024

I removed the Motor Hat and all other connectors from the Pi. Plugged in just the power to the Pi, connected via SSH, and ran detect.py again. Got same results as above.

Now that I can see the board and to clarify the model: Raspberry Pi 3 Model B V1.2.

from adafruit_blinka.

ladyada avatar ladyada commented on July 21, 2024

??
whats the output of cat /proc/cpuinfo?

from adafruit_blinka.

rake36 avatar rake36 commented on July 21, 2024

??
whats the output of cat /proc/cpuinfo?

pi@picar:~ $ 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        : BCM2709
Revision        : a22082
Serial          : 00000000570d0c67

from adafruit_blinka.

ladyada avatar ladyada commented on July 21, 2024

oh right! ok well, we know what it is - if you want to fix right now, replace your site-packages/adafruit_platformdetect/chip.py with this file
https://github.com/ladyada/Adafruit_Python_PlatformDetect/blob/master/adafruit_platformdetect/chip.py
or you can wait a couple days and we'll implement the fix!

from adafruit_blinka.

rake36 avatar rake36 commented on July 21, 2024

@ladyada, thanks so much! I really thought I was going insane.

After updating chip.py to include BCM2709 as per your fix, detect.py is working:

(car1) pi@picar:~/car1 $ python3 detect.py
Chip id:  BCM2XXX
Board id:  RASPBERRY_PI_3B
Is this a Pi 3B+? False
Is this a 40-pin Raspberry Pi? True
Is this a BBB? False
Is this an Orange Pi PC? False
Is this an embedded Linux system? True
Is this a generic Linux PC? False
Raspberry Pi detected.

from adafruit_blinka.

ladyada avatar ladyada commented on July 21, 2024

~ awesome ~! good find :)

from adafruit_blinka.

Fury1SOG avatar Fury1SOG commented on July 21, 2024

Hello!
I am having a similar problem, except with a Raspberry Pi Zero WH with a v2 camera, TSL2561, and BME280 sensor installed.

Here is the error I receive when I try to run blinkatest.py:

pi@raspberrypi:~ $ python3 blinkatest.py
Traceback (most recent call last):
  File "blinkatest.py", line 1, in <module>
    import board
  File "/home/pi/.local/lib/python3.5/site-packages/board.py", line 59, in <module>
    raise NotImplementedError("Board not supported")
NotImplementedError: Board not supported

Here are the results of detect.py:

pi@raspberrypi:~ $ python3 detect.py
Chip id:  BCM2XXX
Board id:  None
Is this a Pi 3B+? False
Is this a 40-pin Raspberry Pi? False
Is this a BBB? False
Is this an Orange Pi PC? False
Is this an embedded Linux system? True
Is this a generic Linux PC? False
Raspberry Pi detected.

Here are the results of cpuinfo:

pi@raspberrypi:~ $ cat /proc/cpuinfo
processor	: 0
model name	: ARMv6-compatible processor rev 7 (v6l)
BogoMIPS	: 697.95
Features	: half thumb fastmult vfp edsp java tls 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xb76
CPU revision	: 7

Hardware	: BCM2835
Revision	: 19000c1
Serial		: 00000000de78b44c

from adafruit_blinka.

ladyada avatar ladyada commented on July 21, 2024

@Fury are you overclocking?

from adafruit_blinka.

Fury1SOG avatar Fury1SOG commented on July 21, 2024

@Fury are you overclocking?

I am using the v2 camera with RPI Cam Web Interface, and it was very unstable at the start. I did experiment with turbo mode and overvolting; I am currently only using the overvolting.

I guess the changed revision number is due to my experimenting with overclocking?
I was able to get blinkatest to run by adding '19000c1' to line 159 in board.py:

RASPBERRY_PI_ZERO_W: ('9000c1', '19000c1'),

from adafruit_blinka.

ladyada avatar ladyada commented on July 21, 2024

yeah that extra 1 means its overclocked/overvolted.
@brennen for the check on the board type maybe we should use in instead of == so any prefix is ignored?

from adafruit_blinka.

brennen avatar brennen commented on July 21, 2024

@ladyada ah, yep, totally. i can throw together a quick PR tomorrow.

from adafruit_blinka.

brennen avatar brennen commented on July 21, 2024

Should now be handled!

from adafruit_blinka.

ladyada avatar ladyada commented on July 21, 2024

these are not released, please try the 1.1.0 version of this library and Adafruit-PlatformDetect v0.0.8, it should now work with raspi 1's!

from adafruit_blinka.

anvoice avatar anvoice commented on July 21, 2024

Hello, I'm having a similar issue on Ubuntu 18.04 server for ARM64 with a raspberry pi 3 B. When importing board, I get the Board not Supported error. cat /proc/cpuinfo lists 4 different processors (4 cores on the pi I imagine) in the following format:

processor         : 0
BogoMIPS          : 38.40
features          : fp asimd evtstrm crc32 cpuid
CPU implementer   : 0x41
CPU architecture  : 8
CPU variant       : 0x0
CPU part          : 0xd03
CPU revision      : 4

Is this fixable by any chance?

from adafruit_blinka.

ladyada avatar ladyada commented on July 21, 2024

hiya thats the same as #99 so please go there

from adafruit_blinka.

nolansingroy avatar nolansingroy commented on July 21, 2024

@ladyada I was using rev 1.4 and had no problems but recently bought some new 4b raspberry pi and I guess its 1.5 and now my clone os is throwing this error.
image

cat /proc/cpuinfo
image

My cloned os using the adafruit plugin for neopixel was working on this version of raspberry pi
Hardware : BCM2711
Revision : c03114
Serial : 100000005a9870db
Model : Raspberry Pi 4 Model B Rev 1.4

Please any advice or help would be greatly appreciated!

from adafruit_blinka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.