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

Old boards not auto detected. #406

Open
cniesen opened this issue Nov 3, 2024 · 4 comments
Open

Old boards not auto detected. #406

cniesen opened this issue Nov 3, 2024 · 4 comments
Assignees

Comments

@cniesen
Copy link

cniesen commented Nov 3, 2024

I have an old model B+ board. The BoardInfoHelper doesn't detect this board because it returns the old code of 0010 at

var boardVersionCode = getBoardVersionCode();

In the BoardModel this code isn't listed for the board.

Please add the old board codes. Here's a reference for these codes. Thanks.

https://github.com/raspberrypi/documentation/blob/develop/documentation/asciidoc/computers/raspberry-pi/revision-codes.adoc

@cniesen
Copy link
Author

cniesen commented Nov 3, 2024

Additional info:

$ cat /proc/cpuinfo | grep 'Revision' | awk '{print $3}'
0010

$ cat /proc/device-tree/model
Raspberry Pi Model B Plus Rev 1.2

FDelporte added a commit that referenced this issue Nov 4, 2024
@FDelporte
Copy link
Member

Thanks @cniesen, very usefull link! I was indeed missing the codes for those old boards...

Can you please review the changes in #407?

@FDelporte FDelporte self-assigned this Nov 4, 2024
@FDelporte
Copy link
Member

And thanks @cniesen for adding the additional info with the output of the cat command!

@cniesen
Copy link
Author

cniesen commented Nov 5, 2024

Thanks @cniesen, very usefull link! I was indeed missing the codes for those old boards...

Can you please review the changes in #407?

@FDelporte The PR #407 looks good to me. Thanks.

cc @eitch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants