Coder Social home page Coder Social logo

Comments (9)

makermelissa avatar makermelissa commented on August 16, 2024

The A64 and H5 may be similar enough that you could just use that. Otherwise we'll need to add something that narrows it down further like a longer string. I have the Pine64 if we need to go that route.

from adafruit_python_platformdetect.

twa127 avatar twa127 commented on August 16, 2024

Thanks for getting back to me, unfortunately the pin mapping is totally different, I have a local copy for the H5 based Orange Pi working fine, its just at I can see how to to have both the Pine A64 and the Orange Pi H5 at the same time, the problem being that both the A64 and H5 are identified as sun50iw1p1.

from adafruit_python_platformdetect.

makermelissa avatar makermelissa commented on August 16, 2024

Ok, it sounds like we'll have to narrow it down a bit further then. I just pulled out my Pine64. Let me see what I can find.

from adafruit_python_platformdetect.

makermelissa avatar makermelissa commented on August 16, 2024

Here's the results of cat /proc/cpuinfo

pi@pine64:~$ cat /proc/cpuinfo
processor	: 0
Processor	: AArch64 Processor rev 4 (aarch64)
Hardware	: sun50iw1p1
BogoMIPS	: 48.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 1
Processor	: AArch64 Processor rev 4 (aarch64)
Hardware	: sun50iw1p1
BogoMIPS	: 48.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 2
Processor	: AArch64 Processor rev 4 (aarch64)
Hardware	: sun50iw1p1
BogoMIPS	: 48.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 3
Processor	: AArch64 Processor rev 4 (aarch64)
Hardware	: sun50iw1p1
BogoMIPS	: 48.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

from adafruit_python_platformdetect.

makermelissa avatar makermelissa commented on August 16, 2024

Here's the results of cat /proc/device-tree/compatible

pine64,pine64-plusallwinner,sun50i-a64

from adafruit_python_platformdetect.

makermelissa avatar makermelissa commented on August 16, 2024

I'm thinking possibly one CPU fields differs or possibly the sun50i-a64 inside of the device-tree/compatible results.

from adafruit_python_platformdetect.

twa127 avatar twa127 commented on August 16, 2024

cat/proc/cpuinfo

root@orangepizeroplus2-h5:/home/pi/pihome# cat /proc/cpuinfo
processor : 0
Processor : AArch64 Processor rev 4 (aarch64)
Hardware : sun50iw1p1
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 1
Processor : AArch64 Processor rev 4 (aarch64)
Hardware : sun50iw1p1
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 2
Processor : AArch64 Processor rev 4 (aarch64)
Hardware : sun50iw1p1
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 3
Processor : AArch64 Processor rev 4 (aarch64)
Hardware : sun50iw1p1
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

from adafruit_python_platformdetect.

twa127 avatar twa127 commented on August 16, 2024

cat /proc/device-tree/compatible

xunlong,orangepi-zero-plus2allwinner,sun50i-h5

from adafruit_python_platformdetect.

makermelissa avatar makermelissa commented on August 16, 2024

Ok cool. I'm going to submit a PR that changes the A64 chip to use the dt-compatible value for detection and I would suggest you use that too.

from adafruit_python_platformdetect.

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.