Michael Scire
|
3aa51a375d
|
Stratosphere: Skeleton more Control Command, implement QueryPointerBufferSize
|
2018-04-19 16:40:05 -06:00 |
|
Michael Scire
|
71427677cc
|
Fix indentation
|
2018-04-19 16:29:44 -06:00 |
|
Michael Scire
|
0267a1ad71
|
Stratosphere: Skeleton framework for auto-hipc manager responses for IpcCommandType != Request
|
2018-04-19 16:28:19 -06:00 |
|
Michael Scire
|
b843938b1a
|
Stratosphere: Implement ldr:dmnt->GetNsoInfos()
|
2018-04-19 16:14:48 -06:00 |
|
Michael Scire
|
b2660c661c
|
Stratosphere: Move lr commands to ContentManagement, add Code FS Mounting/Unmounting
|
2018-04-19 15:28:27 -06:00 |
|
Michael Scire
|
7940981bb8
|
Stratosphere: Add lz4 library, add GetContentPath primitive to loader.
|
2018-04-19 07:34:56 -06:00 |
|
Michael Scire
|
5342f7248a
|
Stratosphere: Assume fsldr code is provided by libnx
|
2018-04-19 07:12:13 -06:00 |
|
Michael Scire
|
d39c3b8efc
|
Stratosphere: Properly overwrite appInit/appExit for libnx in loader
|
2018-04-19 07:07:43 -06:00 |
|
Michael Scire
|
f0759b0afc
|
Stratosphere: Add libnx fsp-ldr wrapper to Loader
|
2018-04-19 00:37:01 -06:00 |
|
Michael Scire
|
af11f9fdec
|
Stratosphere: Skeleton ldr:pm (RegisterTitle/UnregisterTitle are implemented)
|
2018-04-18 23:15:17 -06:00 |
|
Michael Scire
|
30e401d125
|
Stratosphere: Add Registration Management to Loader
|
2018-04-18 23:00:10 -06:00 |
|
Michael Scire
|
c5b7f39a67
|
Add support for receiving X descriptors (works on console)
|
2018-04-18 21:12:09 -06:00 |
|
Michael Scire
|
7fed8a4428
|
Stratosphere: Add debugging to loader, it can now be talked to on console successfully.
|
2018-04-18 16:24:40 -06:00 |
|
Michael Scire
|
8ba3894c3a
|
Stratosphere: Skeleton actual IPC dispatch in ServiceSession
|
2018-04-18 12:53:04 -06:00 |
|
Michael Scire
|
49719c8a44
|
Stratosphere: Add missing priority updates
|
2018-04-18 12:23:06 -06:00 |
|
Michael Scire
|
321286ceab
|
Stratosphere: Fill out Loader main(), fix template classes.
|
2018-04-18 12:10:45 -06:00 |
|
Michael Scire
|
ee1488a1ed
|
Turns out WaitableManager->delete_waitable() wasn't needed
|
2018-04-18 11:44:03 -06:00 |
|
Michael Scire
|
cbb0a084a6
|
Stratosphere: Add IWaitable, WaitableManager
|
2018-04-18 11:41:17 -06:00 |
|
Michael Scire
|
8e25534912
|
Stratosphere: Skeleton templated IPC Server code
|
2018-04-18 08:57:06 -06:00 |
|
Michael Scire
|
5345d7c206
|
Stratosphere: Skeleton ldr:shel
|
2018-04-18 03:57:18 -06:00 |
|
Michael Scire
|
b8ad7125ca
|
Stratosphere: Skeleton more of ldr:dmnt->Dispatch()
|
2018-04-18 03:52:19 -06:00 |
|
Michael Scire
|
c4db563261
|
Stratosphere: Skeleton ldr:dmnt
|
2018-04-18 03:30:34 -06:00 |
|
Michael Scire
|
21fa9ff17c
|
Stratosphere: Fix removed add() in Launch Queue
|
2018-04-17 18:05:19 -06:00 |
|
Michael Scire
|
033cd8df24
|
Stratosphere: Launch Queue C style lib -> namespace
|
2018-04-17 18:04:41 -06:00 |
|
Michael Scire
|
c8d1342ddf
|
Stratosphere: Add Launch Queue to Loader
Modified from RE done by @ogniK5377
|
2018-04-17 17:41:57 -06:00 |
|
Michael Scire
|
864979179a
|
Fix C++ header includes
|
2018-04-17 17:31:57 -06:00 |
|
Michael Scire
|
79aba08295
|
Stratosphere: Make dir for loader
|
2018-04-17 17:26:28 -06:00 |
|
Michael Scire
|
5742571153
|
Fusee: Fix overflow condition in SD KIP merging
|
2018-04-12 02:47:27 -06:00 |
|
Michael Scire
|
75b29e777b
|
Fusee: Update INI1 size after patching
|
2018-04-11 22:32:45 -06:00 |
|
Michael Scire
|
375a0b3fa8
|
Fusee: Actually write SD path in stratosphere_merge_inis
|
2018-04-11 22:10:02 -06:00 |
|
Michael Scire
|
7ddf5a922c
|
Exosphere: Support unsigned/plaintext Package2s if signature is clear.
|
2018-04-11 21:56:30 -06:00 |
|
Michael Scire
|
0674c4b64f
|
Stratosphere: Add support for custom KIPs/INI in Fusee
|
2018-04-11 21:56:11 -06:00 |
|
Michael Scire
|
e5a0cb1abe
|
Fusee Stage 2: Flesh out Package2 patching (implement decryption, fixing of metadata)
|
2018-04-11 20:29:35 -06:00 |
|
Michael Scire
|
a0d2642bb1
|
Skeleton out framework for patching package2.
|
2018-04-11 18:19:01 -06:00 |
|
Michael Scire
|
3c24bfdb79
|
Fusee Stage2: skeleton more of the nxboot process
|
2018-04-10 16:37:58 -06:00 |
|
Michael Scire
|
9fadec60c5
|
Add skeleton architecture for displaying custom splash screen
|
2018-04-10 16:09:00 -06:00 |
|
Michael Scire
|
87605563d2
|
Restore incorrectly deleted files
|
2018-04-10 15:56:45 -06:00 |
|
Michael Scire
|
d6806517c8
|
Fusee Stage 2: Make references to external (stage 1) memory internal.
|
2018-04-09 15:44:59 -06:00 |
|
Michael Scire
|
a05bf5b4ce
|
Fusee stage 2: Fix up loader (no stage 3!). Skeleton chainload behavior.
|
2018-04-09 15:34:23 -06:00 |
|
Michael Scire
|
b85567dff3
|
Remove stage3 refs from Makefile
|
2018-04-09 15:16:51 -06:00 |
|
Michael Scire
|
92ef68e84a
|
Turns out we actually don't need a third stage for Fusee
|
2018-04-09 15:12:54 -06:00 |
|
Michael Scire
|
953c02dfba
|
Update argument passing, add video resume
|
2018-04-08 13:51:44 -06:00 |
|
Michael Scire
|
82552b5a89
|
Implement much of the core Stage2 loader logic for Fusee
|
2018-04-08 05:51:57 -06:00 |
|
Michael Scire
|
c9909b34db
|
Use argc/argv in Stage 2
|
2018-04-08 05:13:15 -06:00 |
|
Michael Scire
|
39bf3cb800
|
Add display/printk to fusee stage2
|
2018-04-08 05:06:47 -06:00 |
|
Michael Scire
|
c758b1188a
|
Fix start.s in stage2 of Fusee for argc/argv
|
2018-04-08 05:06:04 -06:00 |
|
Michael Scire
|
353019a269
|
Add debugging prints, enable backlight for stage1
|
2018-04-07 23:04:30 -06:00 |
|
Michael Scire
|
33f76545df
|
Implement all core Stage 1 logic for Fusee
|
2018-04-07 22:51:24 -06:00 |
|
Michael Scire
|
18f1274587
|
Change fusee folder naming
|
2018-04-07 21:45:57 -06:00 |
|
Michael Scire
|
2c7d6dc9b7
|
Sketch out more of fusee
|
2018-04-07 15:43:54 -06:00 |
|
Michael Scire
|
2d8812ac6e
|
Implement BIS Key derivation.
|
2018-03-31 15:40:23 -06:00 |
|
Michael Scire
|
19178d6176
|
Fix XTS implementation, now verified working on HW.
|
2018-03-31 15:40:23 -06:00 |
|
SciresM
|
9f36769b12
|
Update README.md
|
2018-03-29 18:30:58 -07:00 |
|
Michael Scire
|
edf9e2f5c7
|
Prevent compiler optimization of SE LL writes
|
2018-03-29 13:46:10 -06:00 |
|
Michael Scire
|
6ed9123c24
|
Implement NX Key Derivation.
|
2018-03-29 13:14:58 -06:00 |
|
Michael Scire
|
9ab7d66524
|
Implement SE XTS driver code for fusee
|
2018-03-25 18:50:56 -06:00 |
|
Michael Scire
|
53cf46d20f
|
Clean up Fusee's SE API, removing unneeded functionality
|
2018-03-25 17:16:17 -06:00 |
|
Michael Scire
|
3140ddc301
|
Reserve AMS0 magic for later use, change to eXosphere Boot Config rev 0
|
2018-03-25 17:02:24 -06:00 |
|
Michael Scire
|
c2eed3caf6
|
Integrate 5.x SMC API changes, add 4.x specific setup, implement target firmware selection
|
2018-03-25 15:05:08 -06:00 |
|
Michael Scire
|
f624cccd0d
|
Fix LP0 TZRAM CMAC calculation
|
2018-03-10 19:11:58 -08:00 |
|
Michael Scire
|
32bd5b3a73
|
Fix LP0 entry. Exit still fails in warmboot bin.
|
2018-03-10 18:57:17 -08:00 |
|
Michael Scire
|
ab2b8e4db5
|
Fix CpuSuspend not making it to finalize_powerdown()
|
2018-03-09 23:56:48 -08:00 |
|
Michael Scire
|
c2676c359c
|
Fix CAR primitives
|
2018-03-09 15:40:11 -08:00 |
|
Michael Scire
|
88c4dfd444
|
Fix flow controller set functions
|
2018-03-09 14:56:16 -08:00 |
|
Michael Scire
|
1ffa239b5a
|
Fix async expMod output + smcUnwrapAesWrappedTitlekey
|
2018-03-08 19:48:35 -08:00 |
|
Michael Scire
|
7e780301de
|
Fix AES-GCM code.
|
2018-03-08 17:26:42 -08:00 |
|
Michael Scire
|
8e5228866c
|
Fix smcComputeCmac, generally improve userpage cache usage
|
2018-03-08 04:59:00 -08:00 |
|
Michael Scire
|
ec8f27f1be
|
Fix AES ECB encryption not encrypting
|
2018-03-08 03:16:50 -08:00 |
|
Michael Scire
|
3d8ff446ad
|
Implement BootReason config
|
2018-03-08 01:48:57 -08:00 |
|
Michael Scire
|
6592744b3b
|
Add debug region to mapped memory
|
2018-03-07 04:00:19 -08:00 |
|
Michael Scire
|
b26b8e1f5c
|
Fix smcConfigureCarveout
|
2018-03-07 03:45:27 -08:00 |
|
Michael Scire
|
d4c1e0b982
|
Merge branch 'master' of https://github.com/SciresM/Atmosphere-NX
|
2018-03-07 03:44:37 -08:00 |
|
Michael Scire
|
11e694d15c
|
Fix SMMU Enable preventing FS from talking to NAND MMIO
|
2018-03-07 03:37:11 -08:00 |
|
Michael Scire
|
6b10c21a10
|
Default kernel carveout is ID 4, not 5
|
2018-03-05 03:27:24 -08:00 |
|
Michael Scire
|
ffd0181aa1
|
Fix Stack Overflow in SMC handler
|
2018-03-04 19:07:17 -08:00 |
|
Michael Scire
|
1fa64fccbf
|
Add pre-defined panic utilities
|
2018-03-04 17:23:54 -08:00 |
|
Michael Scire
|
58036dac0b
|
Fix coldboot init (presentations lie)
|
2018-03-03 12:22:50 -08:00 |
|
Michael Scire
|
48e8d9c7de
|
Fix bugs required to successfully hand off to kernel
|
2018-03-03 06:15:46 -08:00 |
|
Michael Scire
|
661bcaa3ec
|
Change 'success' panic location to end of coldboot_main()
|
2018-03-02 15:09:51 -08:00 |
|
Michael Scire
|
102fb5004f
|
Cleanup TODOs, implement bootconfig SCR_EL3 bit setting
|
2018-03-02 15:04:16 -08:00 |
|
Michael Scire
|
301b166684
|
Implement CPU state init, fix bug in cpu_context restore
|
2018-03-02 14:16:54 -08:00 |
|
Michael Scire
|
a292e95c2f
|
Finish bootup_misc_mmio() - Cur build gets to end of pk2ldr.
|
2018-03-02 13:44:21 -08:00 |
|
Michael Scire
|
ca7b441079
|
Add call to se_generate_stored_vector() before validating
|
2018-03-02 12:59:12 -08:00 |
|
Michael Scire
|
3388198a26
|
Add coldboot mmio init (for non 4.x), required for FLOW writes to succeed.
|
2018-03-02 12:45:37 -08:00 |
|
Michael Scire
|
e7e62ef90b
|
Implement half of bootup_misc_mmio()
|
2018-03-02 12:16:30 -08:00 |
|
Michael Scire
|
b3dbfd8ee0
|
Update pk2ldr outline, prepare for bootup_misc_mmio() impl
|
2018-03-02 11:28:05 -08:00 |
|
Michael Scire
|
303e189559
|
Implement a few TODOs with CAR driver.
|
2018-03-01 23:33:43 -08:00 |
|
Michael Scire
|
5f7308efd1
|
Implement Clock/Reset Driver.
|
2018-03-01 22:50:07 -08:00 |
|
Michael Scire
|
78bee60485
|
Fix dangling comments
|
2018-03-01 21:24:22 -08:00 |
|
Michael Scire
|
7b6d15ec36
|
Fix up package2.c, current build makes it to the panic() on hardware
|
2018-03-01 21:15:19 -08:00 |
|
Michael Scire
|
2390df4d07
|
Fix start.s to pass reloc_list properly to package2ldr
|
2018-03-01 20:39:49 -08:00 |
|
Michael Scire
|
0a80a7caf5
|
Fix coldboot init, Exosphere makes it to PK2LDR in this commit.
|
2018-03-01 20:10:05 -08:00 |
|
Michael Scire
|
9553c69c8f
|
Properly detect PK21 master key rev.
|
2018-03-01 03:28:34 -08:00 |
|
Michael Scire
|
205d3b8b80
|
Fix PK2LDR bugs, Fix SE bugs
|
2018-03-01 03:25:12 -08:00 |
|
Michael Scire
|
b67ce08f84
|
Fix Modulus Exponentiation in SE driver
|
2018-03-01 02:00:39 -08:00 |
|
Michael Scire
|
4025781f1c
|
Make clear_bss work regardless of load address
|
2018-03-01 00:59:48 -08:00 |
|
Michael Scire
|
c5b0639b8a
|
Implement BootConfig.
|
2018-02-27 20:28:34 -08:00 |
|
Michael Scire
|
d0b74d7751
|
Panic Bright Red on failed master key detection.
|
2018-02-27 20:00:48 -08:00 |
|
Michael Scire
|
694872b4cc
|
Fix decrypt_data_into_keyslot
|
2018-02-27 19:59:51 -08:00 |
|
Michael Scire
|
0508ee29d8
|
Clean up SE TODOs, implement GIC nonsecure init
|
2018-02-27 19:58:56 -08:00 |
|