Commit Graph

729 Commits

Author SHA1 Message Date
CTCaer
c026b1db3d hos: fix 21.0.0 nogc FS patch and refactor patches
The NOGC sdmmc memio patch was incorrectly changing the register that keeps the value for HOS 21.0.0.
Refactored all patches to stop patching the whole op and just change the value from 0x200 to 0x400.
2026-03-27 09:49:29 +01:00
CTCaer
dc1ad1a5a7 Bump hekate to v6.4.0 and Nyx to v1.8.0 2026-03-27 09:49:29 +01:00
CTCaer
10521a32d3 hos: add 21.0.0 support 2026-03-27 09:48:54 +01:00
CTCaer
b0ec8a1e64 l4t: add some missing carveout configs
Mostly relevant for CARVEOUT_NVDEC_TSEC_ENABLE.
2026-03-27 09:44:07 +01:00
CTCaer
23ac454b1d hekate: use the new dirlist 2026-03-27 09:44:07 +01:00
CTCaer
7b4b26bb38 hos: use the renamed mc carveout function 2026-03-27 09:44:07 +01:00
CTCaer
1cf9cdc390 hekate: reorder some checks & add load nyx in TUI 2026-03-27 09:44:06 +01:00
CTCaer
a532353682 hos: simplify warmboot pa id calculation 2026-03-27 09:43:28 +01:00
CTCaer
3c02710192 hos: add NX BIT/BC structures and utilize them
These are used to communicate between bootloader stages and pass config.
The NX Boot Config is now passed as is from PKG2 partition.
2026-03-27 09:43:28 +01:00
CTCaer
961acef306 hos: simple refactor of defines 2026-03-27 09:43:28 +01:00
CTCaer
8bb483f20a hos: refactor keyblob to eks and kb to mkey
Use the official name for keyblob which is EKS.
For that reason the keyblob version enum is renamed to master key version.
2026-03-27 09:42:41 +01:00
CTCaer
760c93e92f config: utilize devmode variable
This holds the NX hw state.
2026-03-27 09:42:40 +01:00
CTCaer
48b2f20c88 config: move externs into header 2026-03-27 09:41:57 +01:00
Christoph Baumann
335b8b9a94 ensure sd/emmc get disabled 2025-09-12 23:08:38 +02:00
Christoph Baumann
e1e2366684 make sure both sd and emmc are deinitialized 2025-06-20 18:15:38 +02:00
CTCaer
b0690a7280 Bump hekate to v6.3.1 2025-06-14 18:52:51 +02:00
CTCaer
7f0835a548 hos: bail if requested emummc patch is not applied 2025-06-14 18:52:43 +02:00
CTCaer
5704004bc8 hos: 20.1.0 FS support 2025-06-14 18:52:33 +02:00
Christoph Baumann
db519a454b fix partition set 2025-05-22 18:42:48 +02:00
Christoph Baumann
f8436d1247 fix mem_mode_auto config 2025-05-22 18:42:33 +02:00
Christoph Baumann
6340881f59 disable console 2025-05-21 23:04:33 +02:00
Christoph Baumann
8405a86937 make sure same fs version is set for emusd and emummc config 2025-05-21 20:32:34 +02:00
Christoph Baumann
a3f5e33625 init sd card when emusd inactive 2025-05-21 16:52:33 +02:00
Christoph Baumann
cfc2febc1b dont unmute console 2025-05-21 16:52:16 +02:00
Christoph Baumann
d6fda80057 remove prints, fix backup/restore 2025-05-21 12:31:17 +02:00
Christoph Baumann
37c8874930 add option to determine memory mode from physical memory 2025-05-21 01:17:44 +02:00
Christoph Baumann
9b95d026f3 support for file based and sd partition based emusd 2025-05-20 00:40:48 +02:00
Christoph Baumann
7ebceb78bd add emusd.c 2025-05-14 02:51:21 +02:00
Christoph Baumann
154ed594fc Support for hekate to boot hos with emusd/emmc base emummc 2025-05-14 02:24:33 +02:00
CTCaer
f3b104e234 Bump hekate to v6.3.0 and Nyx to v1.7.0 2025-05-13 16:27:57 +02:00
CTCaer
4c58708253 l4t: use strtol for sld_type 2025-05-13 16:27:49 +02:00
CTCaer
082490deda hos: add 20.0.0 support 2025-05-13 16:27:36 +02:00
CTCaer
7927cfe818 pkg3: actually skip if instructed 2025-05-13 16:26:52 +02:00
CTCaer
567f0f66e1 hos: secmon exo: always set private debug mode
It should always be enabled for CFW mode.
2025-05-13 16:26:23 +02:00
CTCaer
b798dd1ef6 hos: secmon exo: fix system_settings.ini parsing
A previous change guarded the setting with exosphere.ini parsing succeeding.
Correct this, so it always gets parsed.
2025-05-13 16:26:01 +02:00
CTCaer
814ef14f2d hos: add package3 kip skip option
By using `pkg3kip1skip`, any kip internal name that fully matches will be skipped from being loaded and the stock one will be used.

Multiple can be set by setting more lines with it or by using a comma separator.

Only for advanced users.
2025-05-13 16:18:29 +02:00
CTCaer
eaedec7b6e hos: refactor fss to pkg3
To `fss0` config is now renamed to `pkg3`.
`fss0` still works but is deprecated.
Additionally `fss0experimental` key is now renamed to `pkg3ex`
2025-05-13 16:18:10 +02:00
CTCaer
7dad628dfc hos: update some comments
And remove unneeded checks.
2025-05-13 16:17:10 +02:00
CTCaer
02281fccf1 fatfs: set default year to 2025 2025-05-13 16:14:54 +02:00
CTCaer
84078e5469 l4t: allow SLD type to be changed or disabled 2025-05-13 16:14:28 +02:00
CTCaer
805686105d l4t: remove unchanged carveout config clear
Also allow wrong dram types to be mapped for T210B01.
The default table used is 0.
2025-05-13 16:14:11 +02:00
CTCaer
eacb4f2844 pkg2: fix ini size when not using mesosphere
Important in case the same ini1 space is used and stock kernel is new.

Additionally, also set the hash for the 3rd section, even if empty.
2025-05-13 16:13:49 +02:00
CTCaer
c8da71229a hos: config: exit the loop after matching cfg key 2025-05-13 16:13:06 +02:00
CTCaer
1a157a33f6 hos: rename atmosphere key to kernelprocid
So it reflects what it does.
2025-05-13 16:12:46 +02:00
CTCaer
f093c9368b hos: small refactor
Also exiting hos_launch is considered always an error.
2025-05-13 16:12:10 +02:00
Christoph Baumann
76508c74e8 file based emmc emummc, some other stuff 2025-05-12 01:24:01 +02:00
Christoph Baumann
241b0f2274 . 2025-05-06 12:37:46 +02:00
Christoph Baumann
4f72660603 fuck 2025-05-02 01:43:51 +02:00
Christoph Baumann
337f219ac6 Support for NYX to load from BOOT1/GPP/SD in that order, UMS option to mount whatever volume is selected as boot storage 2025-04-24 12:06:15 +02:00
Christoph Baumann
4e9e21b3b1 move boot_storage.h/.c to bdk/storage, check result of ensure_partition 2025-04-22 14:25:14 +02:00