Commit Graph

34 Commits

Author SHA1 Message Date
souldbminersmwc
4738eea080 Merge sys-clk-oc and add upto 2903 clocks (please don't use)
I do have to come up with a better name too...
2025-08-22 18:31:38 -04:00
hanabbi
aa37b019c2 sys-clk: deprecate 2023-10-31 06:00:13 +09:00
hanabbi
4965b486ab version 1.8.0 2023-08-11 21:52:41 +09:00
hanabbi
4229ad9ee7 version 1.7.0 2023-07-06 06:57:48 +09:00
hanabbi
7464858387 loader: implement emc dvb table shift 2023-07-06 04:34:39 +09:00
hanabbi
63f7e86de0 loader: remove static table and patch coefficients instead 2023-07-06 03:57:48 +09:00
hanabbi
9618b15d68 loader: implement mariko gpu volt customization 2023-07-05 06:18:11 +09:00
hanabbi
0b79b2060e loader: add static gpu table for mariko 2023-07-04 11:30:34 +09:00
hanabbi
1ca65730dd bump cust_rev to 8 2023-06-22 14:52:22 +09:00
hanabbi
4c84a3b212 add 2397 freq and slt table for Mariko CPU 2023-06-22 14:47:01 +09:00
hanabbi
42aa6ce164 version 1.5 2023-06-02 23:26:48 +09:00
hanabbi
a20c62d2e7 recovered 1.5 files 2023-06-02 23:17:58 +09:00
hanabbi
38b8d782e1 bump cust_rev to 6 2023-05-29 14:54:57 +09:00
hanabbi
a43268acac advanced timings and fix for mem auto adjust 2023-05-27 01:24:00 +09:00
hanabbi
3bbcbdae95 add hiopt table for gpu undervolt 2023-05-26 19:03:56 +09:00
hanabbi
0aa5e2927a sys-clk-oc): bump cust rev to 5 2023-05-26 12:46:41 +09:00
hanabbi
df5448136b feat: mariko gpu undervolt implementation 2023-05-26 12:46:41 +09:00
hanabbi
d2cf257fa4 refact(sys-clk-oc): change config directory 2023-05-26 12:46:41 +09:00
hanai3Bi
3db0b9b380 1.5.1 2023-05-26 12:45:29 +09:00
KazushiM
f47e7604fe - pages: Drop cust v2 support; Show update time in download section
- oc_loader: Separate Vddq and Vdd2 DRAM voltage for Mariko

- sys-clk-OC: Fix wrong regulator ID; Auto CPU Boost for Erista
2023-01-27 10:45:06 +08:00
KazushiM
120367cf7c EMC voltage for Mariko; Fix #60; Show battery & voltage info in overlay on Erista
- From previous analysis, EMC voltage is set before AMS loads on Mariko, and will not be set again or changed afterwards.

- sys-clk-OC will take care of setting emc voltage on Mariko once it loads.

- OS will not hang at boot as it always boots with EMC @ 1600 MHz.
2023-01-24 23:24:58 +08:00
KazushiM
72a8421df6 Create config dir if it does not exist; Fixed maxMemFreq detection 2022-10-31 17:22:39 +08:00
KazushiM
859841ab8e - Fixed gpu_hz_list typo in governor (#46)
- Parse loader.kip config from { "/", "/atmosphere/", "/atmosphere/kips/", "/bootloader/" } (#44)
2022-10-31 00:43:40 +08:00
KazushiM
4eed01f458 Fixed SplConfigItem_HardwareType detection 2022-10-30 01:46:02 +08:00
KazushiM
c808daa51f Config directory -> /config/sysclk/ #42 2022-10-30 00:40:56 +08:00
KazushiM
b52bef3c31 Updated: Sys-clk-OC, Loader, System_settings
- Sys-clk-OC

  - Major cleanup in clock_manager, preparing to add basic Erista support.

  - Added an experimental CPU & GPU frequency governor.

    - Known issue:

      - Occasional stuttering is expected: GPU load% metric PMU_GET_GPU_LOAD does not reflect real utilization precisely. Use another metric, some interpolation algo or add min frequency option for improvement.

- Loader

  - Addressed an issue for Erista variants: Boot with unmodified Fusee or Hekate, nn::pcv::EmcDvfsPeriodicCompHandler will fail with rc 0x8C5. Fixed by removing 40.8 MHz while retaining 1600.0 MHz MEM table -- however, this means user has to use modified sys-clk.
2022-10-23 23:36:52 +08:00
KazushiM
eaed085697 Read PTO (PLL test output) regs; Prevent CPU clock from being stuck at boost freq when "Auto CPU Boost" is toggled off 2022-02-12 20:02:48 +08:00
KazushiM
4ff20f15f1 - IPC service for handling ReverseNX-RT communication, reducing I/O requests
- Set config for "Auto CPU Boost"/"Sync ReverseNX Mode" in overlay

- Apply hardened freq cap to handheld mode (CPU@1963MHz, GPU@921MHz)
2022-02-11 01:42:57 +08:00
KazushiM
e6b608fa43 - [Sys-clk-OC] Partial rewrite, general performance & stability improvement
- [ReverseNX-RT] Notify user if profile is synced with sys-clk
2021-12-18 23:11:26 +08:00
KazushiM
12aab58198 [Sys-clk-OC] improve Auto-Boost CPU (reuse some code from Governor_PoC) 2021-12-16 21:22:02 +08:00
KazushiM
bf3bd67dd6 - Revert commit a45b767a80 in favor of tinkering "enough_power_threshold_mw" in system-settings.ini
- Add InfoNX (For battery, charger, clocks, voltages, etc.)
2021-09-19 19:03:24 +08:00
KazushiM
a45b767a80 Sys-clk-OC: Option to regard Power Delivery chargers supplying >=18W (typically, 9V/2A) as official chargers 2021-09-15 12:23:54 +08:00
KazushiM
de9f7b7478 - Sys-clk Fix: "Do not override" in overlay now works as intended
- Sys-clk Fix: Now you can completely disable ReverseNX profile syncing by removing "ReverseNX_sync.flag"
2021-08-31 23:24:17 +08:00
KazushiM
a4b4473809 sys-clk-OC 2021-08-29 15:00:45 +08:00