pages: update main page and configurator

This commit is contained in:
hanabbi
2023-10-30 12:21:09 +09:00
parent 74ede72bd3
commit 65930ede28
4 changed files with 53 additions and 39 deletions

File diff suppressed because one or more lines are too long

2
pages/dist/main.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -185,7 +185,7 @@
<details open>
<summary>Modded sys-clk and ReverseNX-RT</summary>
<ul>
<li>Auto CPU Boost
<li STYLE="text-decoration:line-through">Auto CPU Boost
<ul>
<li>For faster game loading</li>
<li>Enable CPU Boost (1785 MHz) when CPU Core#3 (System Core) is
@@ -194,13 +194,13 @@
<li>This feature is considered unsafe on Erista, especially when combined with high GPU frequency or with governor enabled.</li>
</ul>
</li>
<li>CPU &amp; GPU frequency governor (Experimental)
<li STYLE="text-decoration:line-through">CPU &amp; GPU frequency governor (Experimental)
<ul>
<li>Adjust frequency based on load. Might decrease power draw but can
introduce stutters. Can be turned off for specific titles.</li>
</ul>
</li>
<li>Set charging current (100 mA - 2000 mA) and charging limit (20% -
<li STYLE="text-decoration:line-through">Set charging current (100 mA - 2000 mA) and charging limit (20% -
100%)
<ul>
<li>Long-term use of charge limit may render the battery gauge
@@ -215,7 +215,7 @@
profile" &gt; "System default".</li>
</ul>
</li>
<li>Sync ReverseNX Mode
<li STYLE="text-decoration:line-through">Sync ReverseNX Mode
<ul>
<li>No need to change clocks manually after toggling modes in ReverseNX
(-RT and -Tool)</li>
@@ -231,10 +231,9 @@
<h3 id="installation" open>Installation</h3>
<ol type="1">
<li>Download latest <a href="#download">release</a>.</li>
<li>Copy all files in <code>SdOut</code> to the root of SD card.</li>
<li>Grab <code>x.x.x_loader.kip</code> for your Atmosphere version, rename it to <code>loader.kip</code> and
place it in <code>/atmosphere/kips/</code>.</li>
<li>Customization via <a href="#config">online loader configurator</a>
<li>(optional) You can customize via <a href="#config">online loader configurator</a>
<table role="grid">
<thead>
<tr>
@@ -262,12 +261,12 @@
<tr>
<td>GPU OC</td>
<td>1267 MHz Max</td>
<td>N/A</td>
<td>998 MHz Max</td>
</tr>
<tr>
<td>RAM OC</td>
<td>1996 MHz Max</td>
<td>1862 MHz Max</td>
<td>1996 MHz</td>
<td>1862 MHz</td>
</tr>
<tr>
<td>RAM Volt</td>
@@ -277,17 +276,31 @@
<tr>
<td>RAM Timing</td>
<td>Auto-Adjusted</td>
<td>Auto-Adjusted</td>
</tr>
<tr>
<td>CPU UV</td>
<td>Disabled</td>
<td>N/A</td>
</tr>
<tr>
<td>GPU UV</td>
<td>Disabled</td>
<td>N/A</td>
</tr>
</tbody>
</table>
</li>
<li>Hekate-ipl bootloader Only
<li>Hekate-ipl bootloader Only (fss0) (Not required for AMS fusee)
<ul>
<li>Add <code>kip1=atmosphere/kips/loader.kip</code> to boot entry
section in <code>bootloader/hekate_ipl.ini</code>.</li>
<li>At boot entry section in <code>bootloader/hekate_ipl.ini</code>,
Add <code>kip1=atmosphere/kips/loader.kip</code> to any line that works.</li>
</ul>
</li>
<li>Install sys-clk-oc, or install official sys-clk (2.0.0+) instead.
</li>
<li>(optional) Copy SdOut.zip for useful utilities.
</li>
</ol>
<details>
<summary>How to build this project</summary>
@@ -309,7 +322,7 @@
<li>Above all else, you should know <a href="#readme">what "unsafe" means and issues might arise</a>.</li>
<li>See the end of <a href="https://github.com/hanai3Bi/Switch-OC-Suite/blob/master/Source/sys-clk-OC/README.md"
target="_blank">README in sys-clk-OC</a>. Place this line <code>allow_unsafe_freq=1</code> under
<code>[value]</code> section in
<code>[values]</code> section in
<code>/config/sys-clk/config.ini</code>
</li>
</ul>
@@ -318,9 +331,12 @@
<summary>I would like to bypass limit enforced in sys-clk to improve handheld performance without charger
connected.</summary>
<ul>
<li>Never will it be implemented here, or work out of the box.</li>
<li>You have to modify the code yourself for your own use. If you are to share modified binaries you have
made based on this project publicly, make sure to comply with GPL v2 licenses.</li>
<li>Bypassing clock cappings will be bad for battery</a>.</li>
<li>See the end of <a href="https://github.com/hanai3Bi/Switch-OC-Suite/blob/master/Source/sys-clk-OC/README.md"
target="_blank">README in sys-clk-OC</a>. Place this line <code>uncapped_clocks=1</code> under
<code>[values]</code> section in
<code>/config/sys-clk/config.ini</code>
</li>
</ul>
</details>
</body>
@@ -349,6 +365,8 @@
kernel
and device tree</a></li>
<li>ZatchyCatGames for RE and original OC loader patches for Atmosphere</li>
<li><a href="https://github.com/KazushiMe/Switch-OC-Suite" target="_blank">KazushiMe for original Switch-OC-Suite</a>
<li>lineon for research and help</li>
</ul>
</details>
</footer>

View File

@@ -221,8 +221,7 @@ var CustTable: Array<CustEntry> = [
CustPlatform.All,
4,
["System default: 1785000",
"Boost clock will be applied when applications request higher CPU frequency for quicker loading.",
"This will be set regardless of whether sys-clk is enabled."],
"Boost clock will be applied when applications request Boost Mode via performance configuration."],
1785_000,
[1020_000, 3000_000],
1,
@@ -230,14 +229,14 @@ var CustTable: Array<CustEntry> = [
),
new CustEntry(
"commonEmcMemVolt",
"EMC Vddq (Erista Only) & RAM Vdd2 Voltage in uV",
"EMC Vdd2 Voltage in uV",
CustPlatform.All,
4,
["Acceptable range: 1100000 ≤ x ≤ 1250000, and it should be divided evenly by 12500.",
"Erista Default (HOS): 1125000 (bootloader: 1100000)",
"Mariko Default: 1100000 (It will not work without sys-clk-OC)",
"Official lpddr4(x) range: 1060mV~1175mV",
"Public version needs high voltage because of wrong values, but it is recommended to stay within safe limits",
"Erista Default: 1125000",
"Mariko Default: 1100000",
"Official lpddr4(x) range: 1060mV~1175mV (1100mV nominal)",
"OCS need high voltage unlike l4t because of not scaling mtc table well. However it is recommended to stay within official limits",
"Not enabled by default"],
0,
[1100_000, 1250_000],
@@ -285,7 +284,7 @@ var CustTable: Array<CustEntry> = [
4,
["Values should be ≥ 1600000, and divided evenly by 3200.",
"Recommended Clocks: 1862400, 2131200, 2400000 (JEDEC)",
"Clocks above 2400Mhz might not boot, or work correctly",
"Some clocks above 2400Mhz might not boot, because OCS doesn't scale table very well",
"<b>WARNING:</b> RAM overclock could be UNSTABLE if timing parameters are not suitable for your DRAM."],
1996_800,
[1600_000, 2502_400],
@@ -299,9 +298,8 @@ var CustTable: Array<CustEntry> = [
["Acceptable range: 550000 ≤ x ≤ 650000",
"Value should be divided evenly by 5000",
"Default: 600000",
"Official lpddr4(x) range: 570mV~650mV",
"Not enabled by default.",
"This will not work without sys-clk-OC."],
"Official lpddr4(x) range: 570mV~650mV (600mV nominal)",
"Not enabled by default."],
0,
[550_000, 650_000],
5000,
@@ -312,7 +310,6 @@ var CustTable: Array<CustEntry> = [
CustPlatform.Mariko,
4,
["Reduce CPU power draw",
"Your CPU might not withstand undervolt and performance might drop",
"<b>0</b> : Default Table",
"<b>1</b> : Undervolt Level 1 (SLT - CPU speedo < 1650)",
"<b>2</b> : Undervolt Level 1 (SLT - CPU speedo >= 1650)",],
@@ -326,12 +323,13 @@ var CustTable: Array<CustEntry> = [
CustPlatform.Mariko,
4,
["Reduce GPU power draw",
"Your GPU might not withstand undervolt and may not work properly",
"Can hang your console, or crash games",
"Your GPU might not withstand undervolt, and can hang your console, or crash games",
"Undervolting too much will drop GPU performance even if it seems stable",
"GPU voltages are dynamic and will change with temperature and gpu speedo",
"<b>0</b> : Default Table",
"<b>1</b> : Undervolt Level 1 (SLT: Aggressive)",
"<b>2</b> : Undervolt Level 2 (HiOPT: Drastic)",
"<b>3</b> : Custom static GPU Table (Use Gpu Configuation below)"],
"<b>3</b> : Custom static GPU Voltage Table (Use Gpu Configuation below)"],
0,
[0,3],
1,
@@ -819,10 +817,9 @@ class ReleaseAsset {
class ReleaseInfo {
ocVer: string;
amsVer: string;
loaderKipAsset: ReleaseAsset;
sysclkOCAsset: ReleaseAsset
sdOutZipAsset: ReleaseAsset;
amsUrl: string;
readonly ocLatestApi = "https://api.github.com/repos/hanai3Bi/Switch-OC-Suite/releases/latest";
@@ -846,10 +843,9 @@ class ReleaseInfo {
parseOcResponse(response) {
this.ocVer = response.tag_name;
this.amsVer = this.ocVer.split(".").slice(0, 3).join(".");
this.loaderKipAsset = new ReleaseAsset(response.assets.filter( a => a.name.endsWith("loader.kip") )[0]);
this.sdOutZipAsset = new ReleaseAsset(response.assets.filter( a => a.name.endsWith(".zip") )[0]);
this.amsUrl = `https://github.com/Atmosphere-NX/Atmosphere/releases/tags/${this.amsVer}`;
this.sdOutZipAsset = new ReleaseAsset(response.assets.filter( a => a.name.endsWith("SdOut.zip") )[0]);
this.sysclkOCAsset = new ReleaseAsset(response.assets.filter( a => a.name.endsWith("sys-clk-oc.zip") )[0]);
};
};
@@ -865,7 +861,7 @@ class DownloadSection {
await info.load();
this.update("loader_kip_btn", `loader.kip <b>${info.ocVer}</b><br>${info.loaderKipAsset.updatedAt}`, info.loaderKipAsset.downloadUrl);
this.update("sdout_zip_btn", `SdOut.zip <b>${info.ocVer}</b><br>${info.sdOutZipAsset.updatedAt}`, info.sdOutZipAsset.downloadUrl);
this.update("ams_btn", `Atmosphere-NX <b>${info.amsVer}</b>`, info.amsUrl);
this.update("ams_btn", `sys-clk-oc <b>${info.ocVer}</b><br>${info.sysclkOCAsset.updatedAt}`, info.sysclkOCAsset.downloadUrl);
}
isVisible(): boolean {