Page MenuHomeFreeBSD

arm64/RPI: enable powerd by default on arm64-aarch64-RPI images
ClosedPublic

Authored by karels on Jan 3 2024, 9:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 14, 4:02 PM
Unknown Object (File)
Fri, May 10, 3:53 AM
Unknown Object (File)
Fri, May 10, 3:49 AM
Unknown Object (File)
Thu, May 9, 6:20 PM
Unknown Object (File)
Sun, May 5, 5:25 AM
Unknown Object (File)
Sat, Apr 27, 12:51 PM
Unknown Object (File)
Fri, Apr 26, 2:51 AM
Unknown Object (File)
Mon, Apr 22, 1:58 PM

Details

Summary

Most 64-bit Raspberry Pi models have a variable processor clock
speed that defaults to a slow speed (e.g. 600 MHz for a nominal
1.5 GHz clock). This results in everything running slowly unless
or until powerd is started, and FreeBSD is then thought to be slow.
Enable powerd by default in /etc/rc.conf on the arm64-aarch64-RPI
images. Tested on Raspberry Pi 3B+ and 4B so far.

PR: 256836
MFC after: 1 month

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

karels requested review of this revision.Jan 3 2024, 9:33 PM

There is an alternative approach in https://reviews.freebsd.org/D43141. The main difference is that it splits RPI4 into a separate image, leaving RPI for RPi 3 etc. I don't think that is necessary, as noted in that review. The other difference is in using the quirks mechanism, which would require modification to be effective in this case.

rgrimes added a subscriber: rgrimes.

I see this as the better of the two solutions in front of us.

This revision is now accepted and ready to land.Jan 4 2024, 5:23 PM