raspi-packer icon indicating copy to clipboard operation
raspi-packer copied to clipboard

Remove raspberrypi-firmware and update throttle script

Open bcomnes opened this issue 2 years ago • 0 comments

  <fogobogo> ah yeah
[13:26:47]  <fogobogo> install script
[13:26:55]  <fogobogo> already found an issue
[13:27:24]  <fogobogo> never can recall which one it is but one of them isn't needed anymore  firmware-raspberrypi raspberrypi-firmware
[13:27:39]  <fogobogo> the one with the bcrmGLES libs
[13:28:10]  <fogobogo> unless you hate mesa
[13:28:33]  <bret> I think raspberrypi-firmware is optional, but if you want to monitor throttle and temps you need it still
[13:28:54]  <fogobogo> no.
[13:29:23]  <fogobogo> cat /sys/class/thermal/thermal_zone0/temp
[13:29:43]  <bret> I added it to make this script work: https://github.com/bcomnes/raspi-packer/blob/master/throttle.sh
[13:29:50]  <bret> maybe there are better/other ways of doing it
[13:29:57]  <fogobogo> likewise you can cat /sys/devices/system/cpu/cpuX/scaling_cur_freq
[13:30:35]  <fogobogo> now for voltage i'm not sure theres something
[13:31:09]  <bret> Does having raspberrypi-firmware installed do bad things/have drawbacks? 
[13:31:20]  <bret> found where I added it: https://github.com/bcomnes/raspi-packer/commit/25c598d0be2e11c08a14cb8016854afe442014ca
[13:31:24]  <bret> re-addedit
[13:32:15]  <fogobogo> make might pick it up compiling if it detects those. some very broken libs anyway
[13:32:53]  <fogobogo> god those were some dark time when those were around
[13:34:33]  <fogobogo> they should only work with the framebuffer driver anyway
[13:34:42]  <bret> have to bounce. Finding approaches for a similar script would be nice. I'll put it as a todo
[13:35:08]  <bret> I mean being added to the video group to check throttle status seemed weird ngl
[13:35:13]  <fogobogo> o/

bcomnes avatar Mar 19 '23 20:03 bcomnes