Patching pcv and ptm sysmodules at boot without loader.kip
wanderingmeow opened this issue · 4 comments
As demonstrated in sys-patch, any sysmodules in title list can be patched at boot with the usage of svcReadDebugProcessMemory
and svcWriteDebugProcessMemory
, including those loaded before SD card initialization (cannot be patched by .ips
files).
If this could be implemented in sys-clk-OC, then:
- No need to compile loader.kip for every Atmosphere-NX release.
- Out-of-the-box experience, no configuration required.
- Easy integration with configurator in overlay or homebrew app.
- One may change DRAM timing or other parameters without reboot.
Some issues might arise:
- Some parameters might be initialized and stored in bss segments or even heap segments.
- DRAM training data at 1600 MHz shall be invalidated for new frequency table, or requires more meticulous handling.
yes. I did see sys-patch. i forked the repo to test if it suits this project.
I will do some tests and see what i can do, it sure has benefits and since users don't have to manually edit hekate_ipl.ini, less confusion
if you need any help getting this to work / understanding my code, feel free to ask :)
since sys-clk-oc dependes heavily on loader.kip file, and requires lot of rework, priority for this is low for now.
but potential of migrating sure seems high. so will test more after doing homebrew