hanabbi
38b8d782e1
bump cust_rev to 6
2023-05-29 14:54:57 +09:00
hanabbi
1b1feb76a2
implement CUSTOM_ADJ
2023-05-29 14:54:57 +09:00
hanabbi
0a563e2034
fix AUTO_PERF
...
fix AUTO_ADJ
2023-05-29 14:54:57 +09:00
hanabbi
5c01ba8e51
revert default values
2023-05-29 14:54:57 +09:00
hanabbi
6153071385
Merge remote-tracking branch 'origin/master'
2023-05-28 11:46:17 +09:00
hanabbi
b5fe0b997c
revert mariko emc max to 2400
2023-05-28 11:24:39 +09:00
hanabbi
7a872d937e
AUTO_ADJ_PERF mode
2023-05-28 11:13:34 +09:00
hanabbi
bb9c159266
remove 4266_ADJ and add CUSTOM_ADJ
2023-05-28 10:21:03 +09:00
hanabbi
801a8470d4
emc_dvb table for 2400 mem
2023-05-28 09:51:41 +09:00
hanabbi
486149f30b
auto adj fixes
2023-05-28 09:49:21 +09:00
MasaGratoR
71fe9a308b
Fix compiler errors
2023-05-27 20:17:34 +02:00
hanabbi
a43268acac
advanced timings and fix for mem auto adjust
2023-05-27 01:24:00 +09:00
hanabbi
0bfe0ae561
comment register offsets for RE
2023-05-26 19:38:02 +09:00
hanabbi
3bbcbdae95
add hiopt table for gpu undervolt
2023-05-26 19:03:56 +09:00
hanabbi
f3303152b7
raise mariko max emc clock to 2666
2023-05-26 13:32:38 +09:00
hanabbi
db6df0e9c5
v1.3
2023-05-26 12:46:41 +09:00
hanabbi
859ec00454
v1.3
2023-05-26 12:46:41 +09:00
hanabbi
df5448136b
feat: mariko gpu undervolt implementation
2023-05-26 12:46:41 +09:00
hanabbi
78e814b0a6
fix(loader): fix timing adjust for mariko_4266
2023-05-26 12:46:41 +09:00
hanabbi
9675b97228
revert gpu dvfs table @7bfee60
2023-05-26 12:46:41 +09:00
hanabbi
3c02f170d6
feat(loader): change mariko cust table
...
- mariko: gpu undervolt with gpu dvfs table from l4t
- mariko: remove 2397 CPU and 1305 GPU
2023-05-26 12:46:41 +09:00
hanai3Bi
3db0b9b380
1.5.1
2023-05-26 12:45:29 +09:00
KazushiM
8285e84071
Maximum RAM frequency will not be used automatically
2023-02-02 17:13:52 +08:00
KazushiM
a5e63bc034
Save 5KiB heap space from pcv; Separate configurator entries with tabs
2023-01-31 22:24:06 +08: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
cdbd0b0045
Release: 1.4.1
2023-01-25 21:01:04 +08:00
KazushiM
f33a59370a
Introduce redesigned project homepage; Fix #64 #65
...
- loaderConfigurator now renamed to pages, with configurator section supporting both v2 and v3 Cust
2023-01-25 18:58:43 +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
139c7dfcad
- oc_loader: pcv_erista: use 1963.5 MHz instead of 1989
...
- sys-clk-OC: update safe/unsafe frequencies (Erista CPU 1785/2091, Mariko CPU 1963/2397, Mariko GPU 998/1305); add 408/510 MHz CPU clocks; add unsafe toggle for Erista
2022-12-30 20:58:33 +08:00
KazushiM
b0b80c8458
- oc_loader: major refactoring
2022-12-29 19:41:50 +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
1d7395da56
- [Sys-clk-OC] ( #31 ) Fix the inverted priority of per-app and global settings in clocks and patches detection
...
- [loader] Bump to 1.4.0-pre
- [system_settings] Add possible entries introduced in HOS 15.0.0
2022-10-13 02:11:24 +08:00
KazushiM
c8587ce441
Misc gui in sys-clk overlay updated, HOS 15.0.0 test passed
...
Extracting nca...
79c6b910fe436a85496d3b822f23b8b9.nca (ptm) -> /Volumes/RAMDISK/ptm/
e11685a3958d1f25a8f44f54126b10ff.nca (pcv) -> /Volumes/RAMDISK/pcv/
Converting nca to elf...
Building...
Patching...
Patching pcv for Erista...
CpuClkOSLimit Count: 1
CpuVoltLimit* Count: 14
MemClkOSLimit Count: 32
MemVoltHOS Count: 2
MemClkPllmLimit Count: 2
in void ams::ldr::oc::pcv::Erista::Patch(uintptr_t, size_t)
Saving to "/Volumes/RAMDISK/pcv/main.elf.erista"...
Patching pcv for Mariko...
CpuClkOSLimit Count: 1
CpuClkOfficial Count: 1
GpuClkOfficial Count: 1
CpuVoltOfficial Count: 13
MemClkOSLimit Count: 32
GpuClkPllLimit Count: 1
MemClkPllmLimit Count: 2
GpuAsmPattern Count: 2
in void ams::ldr::oc::pcv::Mariko::Patch(uintptr_t, size_t)
Saving to "/Volumes/RAMDISK/pcv/main.elf.mariko"...
Passed!
Patching ptm (Mariko Only)...
cpuPtmBoost Count: 2
memPtmMax Count: 9
memPtmAlt Count: 7
in void ams::ldr::oc::ptm::Patch(uintptr_t, size_t)
Saving to "/Volumes/RAMDISK/ptm/main.elf.mariko"...
Passed!
2022-10-11 15:28:09 +08:00
KazushiM
9509455291
README.md; loader updated for AMS 1.3.2
2022-04-30 10:56:15 +08:00
KazushiM
c369641229
- [Sys-clk-OC]: Avoid conflicts with ptm module setting boost clocks
...
- [Sys-clk-OC]: Reduce sensitivity of Auto CPU Boost (≥95%)
- [test_patch]: Throw error if no patching entries were found.
2022-04-14 23:06:39 +08:00
KazushiM
926b9016b1
ldr_oc_suite: adopt ams style return code; test is now clang compatible; loader.kip will not crash if pcv/ptm sysmodules is manually patched.
2022-04-02 22:20:21 +08:00
KazushiM
0bb4249a5f
Add info and script on patching sysmodules manually
2022-03-31 23:53:01 +08:00
KazushiM
3daff1b712
ldr_process_creation.cpp: pull from upstream (1.3.0-pre)
2022-03-24 14:34:35 +08:00
KazushiM
d6e2ac2527
HOS 14.0.0 passed:
...
Extracting nca...
./43772e89bbf8147fef94a4e8d81f4810.nca (pcv) -> /Volumes/RAM/pcv/
./5110ceed5e759af52d8ad3efcd005580.nca (ptm) -> /Volumes/RAM/ptm/
Converting nca to elf...
Building and testing...
Patching pcv...
CpuClkOSLimit Count: 1
CpuVoltLimit* Count: 14
MemClkOSLimit Count: 32
MemVoltHOS Count: 2
MemClkPllmLimit Count: 2
in void ams::ldr::oc::pcv::Erista::Patch(uintptr_t, size_t)
CpuClkOSLimit Count: 1
CpuClkOfficial Count: 1
GpuClkOfficial Count: 1
CpuVoltOfficial Count: 13
MemClkOSLimit Count: 32
GpuClkPllLimit Count: 1
MemClkPllmLimit Count: 2
GpuAsmPattern Count: 2
in void ams::ldr::oc::pcv::Mariko::Patch(uintptr_t, size_t)
Passed!
Patching ptm...
cpuPtmBoost Count: 2
memPtmMax Count: 9
memPtmAlt Count: 7
in void ams::ldr::oc::ptm::Patch(uintptr_t, size_t)
Passed!
2022-03-23 13:51:48 +08:00
KazushiM
6585abfcb8
Configurable CPU Boost Freq
2022-03-17 12:21:06 +08:00
KazushiM
94ac52e80b
homebrew to query clkrst registers, requires rebuilding nx-hbloader to allow access; emc pllm(b) divm accepts 1/2/4 only
2022-02-09 19:06:55 +08:00
KazushiM
c701de9ca5
Match pattern before check configuration
2022-02-08 11:48:18 +08:00
KazushiM
7fd47ce576
Add loader configurator in python script
2022-02-08 00:35:05 +08:00
KazushiM
1421586391
Erista EMC volt in uV; Add safety checks (voltage and cust)
2022-02-07 02:25:18 +08:00
KazushiM
c3432281da
Cleanup and add self-test
2022-02-07 01:22:14 +08:00
KazushiM
eed44be28b
- Remove PLL clock limit (Mariko GPU 1300MHz, MEM 2133MHz; Erista MEM 1866MHz)
...
- Remove partial DRAM timing customization (waste of time & mem space, import and edit from ams fusee mtc_table instead)
2022-02-06 14:22:01 +08:00
KazushiM
2a08a6f714
- CPU OC for Erista (does NOT work out of the box)
...
- DRAM Bus voltage for Erista
- Mariko DRAM timing customization
2022-02-05 17:01:33 +08:00
KazushiM
03d2ded202
Customizable clock/volt/mtc_table without recompiling (requires uncompressed loader.kip)
2022-01-26 21:58:41 +08:00
KazushiM
a251178b4c
use erista mtc table as tmp buffer for copying and referencing mariko mtc table
2022-01-25 18:54:12 +08:00
KazushiM
0049ffbf7f
cleanup
2022-01-21 18:01:43 +08:00