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

Make rAudio less Raspberry centric #288

Closed
wants to merge 1 commit into from

Conversation

fillods
Copy link

@fillods fillods commented Apr 3, 2021

Other platforms like BeagleBone have no command vcgencmd, and optional /boot/config.txt ..

Other platforms like BeagleBone have no command vcgencmd, and optional /boot/config.txt ..
@rern
Copy link
Owner

rern commented Apr 11, 2021

Hi,

Please tell me how to identify BeagleBone programatically.

@fillods
Copy link
Author

fillods commented Apr 11, 2021

Hi,

Here is how to identify a BeagleBone:

grep -q BeagleBone /proc/device-tree/model && echo "Hi BB!"

For the curious one:

$ cat /proc/device-tree/model
TI AM335x BeagleBone Black

This is inspired by this doc for identifying RPi SoC (hint ^^): https://github.com/raspberrypi/documentation/blob/master/hardware/raspberrypi/revision-codes/README.md

@rern
Copy link
Owner

rern commented Apr 11, 2021

And what's the output of lscpu?

@fillods
Copy link
Author

fillods commented Apr 11, 2021

$ LANG=en_GB lscpu 
Architecture:        armv7l
Byte Order:          Little Endian
CPU(s):              1
On-line CPU(s) list: 0
Thread(s) per core:  1
Core(s) per socket:  1
Socket(s):           1
Vendor ID:           ARM
Model:               2
Model name:          Cortex-A8
Stepping:            r3p2
CPU max MHz:         1000.0000
CPU min MHz:         300.0000
BogoMIPS:            995.32
Flags:               half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32

@rern
Copy link
Owner

rern commented Apr 14, 2021

The request has been integrated into 20210414 update.

@fillods
Copy link
Author

fillods commented Apr 14, 2021

Works great! Thanks !

@fillods fillods closed this Apr 14, 2021
@fillods fillods deleted the BeagleBoneBlack_support branch April 15, 2021 07:02
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

Successfully merging this pull request may close these issues.

2 participants