Commit graph

438 commits

Author SHA1 Message Date
Michael Scire
cb532e3fb3 Merge branch 'master' into emunand_dev 2019-05-27 11:43:37 -07:00
hexkyz
2c3111f9c9 fusee: Add more verbose error messages
boot: Fix license text
2019-05-10 17:15:25 +01:00
Michael Scire
ca2c171482 fusee: how did this ever work 2019-05-10 08:40:21 -07:00
Michael Scire
bb6cc6532b fusee/exo: add ability to disable user exception handlers
please do not use this
yellows8 needs it to debug am, 99% of use cases want them on
2019-05-10 03:50:25 -07:00
Michael Scire
6ae6c80c25 fusee: enable boot sysmodule. 2019-05-09 03:23:26 -07:00
Michael Scire
7c5dc61795 boot: prepare for rewrite of boot sysmodule 2019-04-29 03:25:24 -07:00
hexkyz
0177b612f4 emunand: Use HOS archive style for rawnand parts 2019-04-28 18:22:32 +01:00
hexkyz
a9afbd2458 Merge branch 'master' into emunand_dev 2019-04-28 16:53:39 +01:00
Michael Scire
7fef83885f ams: improve fatal error context 2019-04-26 07:25:38 -07:00
Michael Scire
51858e732a fusee: embed spl. 2019-04-25 11:24:25 -07:00
Michael Scire
87f7a6ebdc fusee: support both exfat and non-exfat 2019-04-20 11:24:05 -07:00
Michael Scire
81895c8019 fusee: update to support booting 8.0.0 2019-04-20 10:36:38 -07:00
Michael Scire
1a396235cd fusee: only partially hash 8.0.0 kernel, add ControlCodeMemory patch 2019-04-20 10:36:38 -07:00
hexkyz
732a6159f7 fusee: Properly finalize SDMMC1 (fixes 8.0.0 issues with PCV) 2019-04-20 10:36:38 -07:00
Michael Scire
ae90a9d7a6 exo/fusee: implement 8.0.0 support (package2 changes still TODO) 2019-04-20 10:36:38 -07:00
hexkyz
017d473b99 emunand: Add multipart support for rawnand images in fusee 2019-04-13 18:28:54 +01:00
hexkyz
a1512cf30f Merge branch 'master' into emunand_dev 2019-04-13 18:23:23 +01:00
Michael Scire
ac07971211 stratosphere: custom exception handlers (reboot to fusee) 2019-04-12 15:28:46 -07:00
hexkyz
88294116b8
fusee-secondary: Fix arg names in raw_dev 2019-04-09 19:40:00 +01:00
hexkyz
fe62ab9aed emunand: Implement folder and file detection (boot0/boot1 now work from SD) 2019-04-09 19:32:18 +01:00
hexkyz
5868e0769a Merge branch 'master' into emunand_dev 2019-04-09 19:14:21 +01:00
2g4y1
3cb60b324b More 2019 Copyrights (#503) 2019-04-08 12:47:01 +02:00
Michael Scire
03e176d7f1 atmosphere: current year is 2019 2019-04-07 19:00:49 -07:00
hexkyz
92816be055 emunand: Move all emulation code to fusee-secondary and simplify logic 2019-04-07 19:02:01 +01:00
hexkyz
c878e96398 emunand: Fix bugs and add missing stuff 2019-04-06 20:01:11 +01:00
hexkyz
e5045556bf emunand: Preliminary skeleton for emunand in fusee 2019-04-06 19:35:27 +01:00
Michael Scire
e25d83f701 fss: seems ext_csd is not initialized by then 2019-03-06 08:34:33 -08:00
Michael Scire
ed37c149d1 fss: how many commits does it take to fix one line of code? 2019-03-06 05:56:58 -08:00
Michael Scire
7c8d126f23 fusee-secondary: fix previous generalization 2019-03-06 05:55:35 -08:00
Michael Scire
c9b88f0404 fusee: dynamically read NAND num_sectors (thanks @shchmue!) 2019-03-06 05:40:32 -08:00
Michael Scire
e5bedd52ac fusee-secondary: add content type to content headers 2019-03-05 10:53:17 -08:00
Michael Scire
aaabb4bfc4 atmosphere: add define for supported hos version 2019-02-24 20:28:06 -08:00
Michael Scire
be772b40e1 fusee-secondary: add content metadata 2019-02-24 20:22:57 -08:00
thedax
618de9546a Makefile tweaks. (#376)
-Have fusee-secondary clean sept-secondary as required.
-Use $(TARGET) variable for sept-secondary, and clean the encrypted output as required.
2019-02-23 17:16:37 -08:00
Michael Scire
d0ff791260 fusee: remove print in panic 2019-02-20 13:12:53 -08:00
Michael Scire
ddc5222208 sept-s: First functional version. 2019-02-20 13:12:15 -08:00
Michael Scire
f1068d6c3f sept-s: Implement key derivation 2019-02-20 11:31:36 -08:00
Michael Scire
5fe24b620d sept: add secondary skeleton + buildscript 2019-02-20 06:33:23 -08:00
Michael Scire
26f45fab19 sept: commit working primary. 2019-02-20 04:52:44 -08:00
m4xw
56246551e6 [Fusee] Refactor Kernel patching (#343)
* [Fusee] Refactor Kernel patching
Add offset based patching
Add svcControlCodeMemory patches for ver. 5, 6, 7
2019-02-13 09:20:07 -08:00
Michael Scire
e715197290 Merge fs.mitm and set.mitm. 2019-02-04 20:15:16 -08:00
Michael Scire
752e0757d9 fusee: basic byok support for 7.0.0 2019-01-31 02:23:43 -08:00
Michael Scire
46f4896992 exo/fusee: add support for new master key 2019-01-30 22:37:26 -08:00
Michael Scire
6c41e105c4 fusee: fix stack oob read 2019-01-30 21:56:33 -08:00
Michael Scire
f78fd29e38 Add basic support to fusee for multiple tsec_root_keys. 2019-01-30 21:53:37 -08:00
Michael Scire
3d6405be85 exo: change config to its own static page
This is necessary to support both pre-7.0.0 and 7.0.0...
2019-01-30 13:53:16 -08:00
Michael Scire
891b865da8 fusee: change default power-off-time to 6 seconds. 2019-01-26 05:58:02 -08:00
Michael Scire
dc2b8ebab9 fusee: remove unnecessary delay. 2019-01-26 00:59:27 -08:00
Michael Scire
901723621c fusee: hide non-error logs behind splash screen (closes #328) 2019-01-26 00:50:38 -08:00
Michael Scire
3f6325c358 fusee-secondary: reboot to fusee-primary, instead of rcm 2019-01-26 00:21:34 -08:00
Michael Scire
ea02f389ac fusee-primary: reboot to self, instead of to RCM 2019-01-25 23:51:28 -08:00
Michael Scire
d349bdb1f8 fusee/exo: build warmboot, use instead of Nintendo's. 2019-01-22 05:38:27 -08:00
TuxSH
d0505d3c11 Revert "Merge pull request #313 from jul2003/master"
This reverts commit dad67de8af, reversing
changes made to af55d5872c.
2019-01-22 05:38:27 -08:00
jul2003
d1abc53d33 devkitARM r50-3 buildfix 2019-01-22 05:38:27 -08:00
The Dax
3ce32d2014 DevkitARM r50-2 buildfix. 2019-01-22 05:38:27 -08:00
Michael Scire
e0f1e637f7 Add single source of truth for target firmwares. 2018-12-17 12:40:06 -08:00
Michael Scire
0ef3368893 fusee: retry tsec key generation on failure. 2018-12-07 14:54:06 -08:00
Michael Scire
4827fd71b4 fusee: Fix race condition involving volatile reads 2018-12-07 14:27:46 -08:00
hexkyz
00aa283a54
fusee: Fix KFUSE clock. 2018-12-07 22:18:01 +00:00
hexkyz
ef373d954f
fusee: Fix KFUSE clock. 2018-12-07 22:17:06 +00:00
Michael Scire
903789cf6e fusee: fix error printing pre-SD card init (closes #289). 2018-12-04 04:01:22 -08:00
Michael Scire
49ba3a86e2 fusee: move BCT.ini/secondary into atmosphere/ 2018-12-04 03:55:01 -08:00
Michael Scire
021d84ff04 fusee: remove duplicate hook 2018-12-01 21:39:29 -08:00
Michael Scire
8ecf68cb65 fusee: Add support for 1.0.0-7. 2018-12-01 21:38:28 -08:00
Michael Scire
bd76e73b25 fusee: fix configuration typo 2018-12-01 13:58:09 -08:00
Michael Scire
33b7e227d4 fusee: do PMC reboots, not CAR reboots. 2018-11-30 06:34:20 -08:00
Michael Scire
5201803685 fusee: auto-apply nogc if fuses say we should. 2018-11-30 04:36:29 -08:00
Michael Scire
72f028efae fusee: Implement built-in support for togglable nogc patches 2018-11-30 04:10:23 -08:00
Michael Scire
72a2c10896 exosphere: Add support for enabling debugmode via BCT.ini 2018-11-30 03:10:27 -08:00
hexkyz
ed37706915 fusee: Add full 6.2.0 support via SMMU virtualization. 2018-11-29 23:32:31 +00:00
SciresM
ab33329129
Merge pull request #266 from Atmosphere-NX/fatal
Implement custom fatal sysmodule.
2018-11-29 12:04:40 -08:00
Michael Scire
767a4b3606 fusee/exo: BYOK support for 6.2.0. Proper support TODO. 2018-11-25 22:37:24 -08:00
Michael Scire
c3569ec5e2 fusee: support getting old tsec key from new tsec fw. 2018-11-25 16:22:47 -08:00
hexkyz
982797df31
fusee: Fix custom splash screen loading. 2018-11-19 20:05:47 +00:00
hexkyz
6e7eb47d33 fusee: Minor hardware configuration fixes. 2018-11-17 21:50:31 +00:00
SciresM
c530bb8910
Merge branch 'master' into fatal 2018-11-14 14:15:01 -08:00
hexkyz
e5e9968d22 fusee: Remove obsolete MC carveout configuration.
exosphere: Fix client access for MC carveout 2.
2018-11-14 20:14:41 +00:00
Michael Scire
2838e41819 Add defines for atmosphere git revision. 2018-11-13 12:42:35 -08:00
hexkyz
b19e50e720 fusee: Implement DRAM training:
- Based on reverse engineered code and Peter De Schrijver's patches;
- Complemented with CTCaer's minerva_tc project.
2018-11-12 01:55:16 +00:00
Michael Scire
ce1a6a68bf fs.mitm/loader: Fix crashes when launching too many processes. 2018-11-08 16:02:04 -08:00
Michael Scire
6711cd93a8 atmosphere: extract API version management to common folder 2018-10-16 17:54:50 -07:00
Michael Scire
2f29bcef3a fusee: Fix IPS patching for KIPs. (closes #3). 2018-10-16 17:21:08 -07:00
Michael Scire
472059134a fusee: Hook up kip/kernel patch support (needs testing). 2018-10-16 16:17:30 -07:00
Michael Scire
b78a3f7065 fusee: Add support for loading kernel from SD 2018-10-16 16:03:23 -07:00
Michael Scire
d4d197a26a fusee: add untested, not hooked up ips code 2018-10-16 15:54:42 -07:00
Michael Scire
bfa5847e48 fusee: Greatly simplify and improve KIP loading 2018-10-16 15:08:06 -07:00
Michael Scire
49f627bb28 fusee: Load fs.mitm by default. 2018-10-16 14:19:55 -07:00
hexkyz
ca0e41e8a0 fusee: Improve integration with the new logging system
fusee: Implement log level configuration from BCT.ini
2018-09-28 21:12:59 +01:00
hexkyz
2e6983d214
Merge pull request #209 from Resaec/new_print
Silenced boot from stage 2
2018-09-28 16:26:42 +01:00
hexkyz
b2b7bf2bb3
fusee: Fix support for firmware 6.0.0 2018-09-26 21:31:18 +01:00
hexkyz
7b0ed094a7
fusee: Fix support for firmware 6.0.0 2018-09-26 21:30:53 +01:00
Resaec
1d22bb7b81
we need to strip the NO_PREFIX flag so your log_level is corrected for checking against the global 2018-09-26 02:47:24 +02:00
Resaec
81355415d0
port log.c log.h for fusee-primary
refactor printing
remove lib/printk as it is replaced with log
remove lib/driver_utils.h
added log levels as they seem right, might need adjustments
2018-09-26 02:18:50 +02:00
Resaec
d67a7c0a87
moving log.c and log.h to lib/
removing lib/driver_utils.h as it have no purpose anymore now
2018-09-26 02:13:20 +02:00
Resaec
762383f0d2
fix stray [DEBUG] at the end of sdmmc log 2018-09-26 00:25:01 +02:00
Resaec
d2355cdc9b
add the ability to print without adding a prefix for multi part/line prints 2018-09-25 23:43:52 +02:00
Resaec
1eb3d7969e
changes to fit the codestyle
improved a comment
removed unused code and imports
2018-09-24 00:02:58 +02:00
Resaec
8cc266174d
change all print* calls to use the new print with a log_level 2018-09-23 23:22:25 +02:00
Resaec
7548c8ecfa
rather call the files log.c and log.h
changed LOG_LEVEL order
export only externaly used functions
add todos
2018-09-23 23:18:41 +02:00
Resaec
840242b68e started on centralized printing/logging
some character problems with "atmosphère" and such strings
2018-09-22 05:14:43 +02:00