Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Unable to determine board revision from /proc/cpuinfo" on none Raspberry Pi OS #194

Closed
mstroh76 opened this issue Mar 8, 2024 · 4 comments · Fixed by #196
Closed

"Unable to determine board revision from /proc/cpuinfo" on none Raspberry Pi OS #194

mstroh76 opened this issue Mar 8, 2024 · 4 comments · Fixed by #196
Assignees
Labels

Comments

@mstroh76
Copy link
Member

mstroh76 commented Mar 8, 2024

No description provided.

@pasquale90
Copy link

pasquale90 commented Mar 8, 2024

Hello there. Please excuse me for the inconvenience on the previous thread. I am re posting here.

I can't be sure if this is adequate, but I managed to resolve this using #108 (comment). I also replaced the line ..

*model = PI_MODEL_4B ; *rev = PI_VERSION_1_2 ; *mem = 2 ; *maker = PI_MAKER_EGOMAN;

...with...

*model = PI_MODEL_3B ; *rev = PI_VERSION_1_2 ; *mem = 2 ; *maker = PI_MAKER_EGOMAN;

...., as I use a rpi 3B. After changing the file, I recompiled and the runtime error disappeared.

Informatively, I am using debian server on a raspberry pi 3 .

$ uname -a
Linux rpi3-20231109 6.1.0-13-arm64 #1 SMP Debian 6.1.55-1 (2023-09-29) aarch64 GNU/Linux

$ cat /proc/cpuinfo

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

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

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

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

@mstroh76
Copy link
Member Author

mstroh76 commented Mar 8, 2024

please execute https://github.com/GrazerComputerClub/Benchmark/blob/master/src/pidetect.py and 'lsb_release -a' and post the output

@pasquale90
Copy link

pasquale90 commented Mar 8, 2024

$ python3 pidetect.py
model: Raspberry Pi 3 Model B Rev 1.2, modelno: 8, RAM: 1024 MB(2), revision: 0xa02082, serial: 0x8feca3c8

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm

@mstroh76
Copy link
Member Author

mstroh76 commented Mar 8, 2024

I will fix it this weekend. Be prepared for testing...

mstroh76 added a commit that referenced this issue Mar 9, 2024
mstroh76 added a commit that referenced this issue Mar 9, 2024
@mwallner mwallner mentioned this issue Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants