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
10521a32d3
hos: add 21.0.0 support
2026-03-27 09:48:54 +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
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
48b2f20c88
config: move externs into header
2026-03-27 09:41:57 +01: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
f8436d1247
fix mem_mode_auto config
2025-05-22 18:42: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
cfc2febc1b
dont unmute console
2025-05-21 16:52:16 +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
154ed594fc
Support for hekate to boot hos with emusd/emmc base emummc
2025-05-14 02:24:33 +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
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
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
Christoph Baumann
5798dcde0d
Add support for reading boot files from FAT partition on BOOT1/GPP/SD in that order
...
Emummc config is read from boot partition, file based files still read from SD
2025-04-22 13:42:20 +02:00
CTCaer
81fb318f6b
hos: add 19.0.0 support
2024-10-11 13:04:16 +03:00
CTCaer
1bec721baf
hos: add missing deinit
2024-10-10 15:21:32 +03:00
CTCaer
6fa844b031
hekate/nyx: use updated dirlist
2024-10-09 15:22:16 +03:00
CTCaer
75676a78ff
hos: secmon name ini lists properly
2024-10-04 22:10:50 +03:00
CTCaer
66454b934c
hos: no need to double check allocated eks
2024-10-04 22:09:54 +03:00
CTCaer
7b60c3d162
hekate/nyx: constify more args
2024-10-04 22:09:06 +03:00
CTCaer
106a08f19c
hos: rename function
2024-07-02 18:04:52 +03:00
CTCaer
66303d0d47
hos: reinstate host1x disable
2024-06-11 12:41:13 +03:00
CTCaer
68408bbb79
hos: add 18.1.0 support
2024-06-11 08:59:45 +03:00
CTCaer
e46f54d4e6
hekate/nyx: use static/const where it should
2024-06-02 07:38:07 +03:00
CTCaer
78cdb5575d
hos: use new func
2024-06-02 06:53:40 +03:00
CTCaer
1214ab0e02
ldr/bl: manage arbiter
2024-05-19 10:12:18 +03:00
CTCaer
90b9f9f589
hos: add comments about autonogc
2024-04-25 04:53:06 +03:00
CTCaer
35ea35f6ad
hos: pkg2: do not exit loop when non nogc
2024-03-29 15:12:53 +02:00
CTCaer
5607fd18ea
hos: 18.0.0 support
2024-03-29 13:21:53 +02:00
CTCaer
d71903abf2
hos: simplify nogc patch
2024-03-29 13:21:53 +02:00
CTCaer
547cfca0c9
hos: simplify emummc patch
2024-03-29 13:21:53 +02:00
CTCaer
dca350bfe9
hos: use strcmp for kip name
...
KIP1 names are NULL terminated, so use strcmp to reduce codesize.
2024-03-29 13:21:53 +02:00