View rk3588-increase-opp-microvolt.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dts-v1/; | |
/plugin/; | |
/ { | |
fragment@0 { | |
target = <&cluster1_opp_table>; | |
__overlay__ { | |
opp-408000000 { | |
opp-microvolt = <675000 675000 1100000>, | |
<675000 675000 1100000>; | |
}; |
View test-rk3568-thermals.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
InstallLocation=/usr/local/src | |
[ -x "${InstallLocation}"/mhz/mhz ] || (echo "You need to run sbc-bench at least once to meet prerequisits" ; exit 1) | |
TempFile="$(mktemp /tmp/${0##*/}.XXXXXX)" | |
ReportClockSpeedandTemperature() { | |
MeasuredSpeed=$(( $(taskset -c 1 "${InstallLocation}"/mhz/mhz 3 100000 | awk -F" cpu_MHz=" '{s+=$2} END {printf "%.0f", s}') / 3 )) | |
CPUTemp=$(awk '{printf ("%0.1f",$1/1000); }' </sys/devices/virtual/thermal/thermal_zone0/temp) | |
if [ -s "${TempFile}" ]; then |
View gist:24a88bec8e6749bbc723cd6f6e78a3ab
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+-o Root <class IORegistryEntry, id 0x100000100, retain 34> | |
| { | |
| "IOKitBuildVersion" = "Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:01 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T6000" | |
| "OS Build Version" = "21A559" | |
| "OSKernelCPUSubtype" = 18446744072635809794 | |
| "OSKernelCPUType" = 16777228 | |
| "OSPrelinkKextCount" = 5 | |
| "IORegistryPlanes" = {"IOPort"="IOPort","IOPower"="IOPower","IOService"="IOService","IOAccessory"="IOAccessory","IOUSB"="IOUSB","CoreCapture"="CoreCapture","IO80211Plane"="IO80211Plane","IODeviceTree"="IODeviceTree"} | |
| "IOConsoleLocked" = No | |
| "IOConsoleUsers" = ({"kCGSSessionOnConsoleKey"=Yes,"kCGSSessionLoginwindowSafeLogin"=No,"kSCSecuritySessionID"=100013,"kCGSessionLongUserNameKey"="Thomas Kaiser","kCGSSessionUserIDKey"=505,"kCGSSessionSystemSafeBoot"=No,"kCGSessionLoginDoneKey"=Yes,"kCGSSessionUserNameKey"="tk","kCGSSessionGroupIDKey"=20,"kCGSSessionIDKey"=257,"kCGSSessionAuditIDKey"=100013}) |