349 Commits

Author SHA1 Message Date
NaGa
91cdf02c43 warmboot fix 2026-03-28 03:52:26 +01:00
NaGa
45318f691f . 2026-03-28 01:42:43 +01:00
CTCaer
d086da50d7 hos: pull missed se adjusted return values
And fix nogc patches.
2026-03-27 20:44:29 +01:00
CTCaer
fee45ff62d hos: add bc based mem mode support 2026-03-27 20:44:29 +01:00
CTCaer
fb6fb75448 hos: add 22.0.0 support 2026-03-27 20:42:31 +01:00
CTCaer
eb8f46fd74 hos: fix building 2026-03-27 20:42:31 +01:00
CTCaer
c5eefcb609 hos: homogenize return values 2026-03-27 20:19:37 +01:00
CTCaer
89b71d9e81 hekate/nyx: adjust handling of ini return values 2026-03-27 20:17:35 +01:00
CTCaer
154d8b114c hos: store wb anyway even if unused
Partially reverts 73d96b7ca8bd4360b288e53d95295fd98d1655e5.
This should be completely removed at some point.
2026-03-27 10:02:21 +01:00
CTCaer
a8d3018e83 hos: refactor ctr/hash vars in pkg2 header 2026-03-27 10:01:38 +01:00
CTCaer
0f4636546c hos: add 21.2.0 support 2026-03-27 10:01:20 +01:00
CTCaer
57e6875b42 hekate/nyx: update ctx keys calls based on new bdk 2026-03-27 09:59:42 +01:00
CTCaer
0cd9a5c80e hekate/nyx: update sha calls based on new bdk 2026-03-27 09:59:42 +01:00
CTCaer
ab794bc61d hekate/nyx: update aes calls based on new bdk 2026-03-27 09:59:42 +01:00
CTCaer
64a4f9db16 hekate/nyx: remove last calloc references 2026-03-27 09:57:59 +01:00
CTCaer
4af99c9f78 hos/l4t: deduplicate sc7exit-b01 load
And remove obsolete MWS (L4T one deprecated it 3 years ago).
2026-03-27 09:56:31 +01:00
CTCaer
4c2f8f14dc hos: reflect minerva changes 2026-03-27 09:55:59 +01:00
CTCaer
892dba3a71 hekate: exo: simplify fatal screen to save space
And remove an obsolete message.
2026-03-27 09:55:12 +01:00
CTCaer
4430833d28 hekate: write rsvd cfg to update.bin if different 2026-03-27 09:53:33 +01:00
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