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

[ARM/RISC-V] Maybe check /sys/devices/soc0 #295

Open
ThomasKaiser opened this issue Sep 29, 2024 · 2 comments
Open

[ARM/RISC-V] Maybe check /sys/devices/soc0 #295

ThomasKaiser opened this issue Sep 29, 2024 · 2 comments

Comments

@ThomasKaiser
Copy link

Another sbc-bench try to differentiate SoCs / SoC revisions is parsing /sys/devices/soc0. But if doing so checking for /sys/devices/soc* might be an even better idea.

Most of the time this sysfs entry doesn't exist, sometimes it contains valuable hardware information, sometimes stuff we don't understand and sometimes rather confusing info (examples in this order):

Hmm... having checked sbc-bench's results collection right now with only SpacemiT K1/M1 providing relevant info via this sysfs node it's most probably not worth the efforts.

@ThomasKaiser
Copy link
Author

Well, on other devices /sys/devices/soc0 also seems to contain useful information: https://github.com/search?q=repo%3ADr-Noob%2Fcpufetch+%2Fsys%2Fdevices%2Fsoc0&type=issues

@ThomasKaiser
Copy link
Author

Texas Instruments SoCs running with their BSP kernel also seem to expose SoC info via /sys/devices/soc0. For example the BeagleY-AI board equipped with a TI AM67A SoC from the J722S family exposes this:

  • /sys/devices/soc0/family = J722S
  • /sys/devices/soc0/revision = SR1.0

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

1 participant