TuxSH
|
9c9f6c04cc
|
thermosphere: add spinlock code
|
2020-02-04 19:12:19 +00:00 |
|
TuxSH
|
0c0d9f5335
|
thermometer: yeet most a32 support code 👌
|
2020-02-04 19:12:19 +00:00 |
|
TuxSH
|
7f9c80abec
|
thermosphere: impl stage2 translation
|
2020-02-04 19:12:19 +00:00 |
|
TuxSH
|
c33d2ee369
|
thermosphere: rework linkscrips, use discardable sections, better sp pivot on crash
|
2020-02-04 19:12:19 +00:00 |
|
TuxSH
|
0b1ab362c6
|
thermosphere: add shadow page table hooks
note: HCR.TVM not supported by qemu yet
|
2020-02-04 19:12:19 +00:00 |
|
TuxSH
|
823b2c8a6d
|
thermosphere: enable EL2 stage1 translation (doesn't take much space)
Identity map using 1GB L1 blocks
|
2020-02-04 19:12:19 +00:00 |
|
TuxSH
|
a35b3ff982
|
thermosphere: fix x18 init, etc.
|
2020-02-04 19:12:19 +00:00 |
|
TuxSH
|
7f094044b2
|
thermosphere: add semihosting support & load a kernel using it when needed
basically host i/o
|
2020-02-04 19:12:19 +00:00 |
|
TuxSH
|
6cbf5628d4
|
thermosphere: seriaLog => debugLog, add DEBUG macro
|
2020-02-04 19:12:19 +00:00 |
|
TuxSH
|
abe524fd79
|
thermosphere: cpu_on hook & skeleton for other PSCI functions
|
2020-02-04 19:12:19 +00:00 |
|
TuxSH
|
2bc1dc5ac2
|
thermosphere: add smc trap handler
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
a47ad0b155
|
thermosphere: use adrp
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
e6db007a22
|
thermosphere: enable traps, works around qemu brk bug
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
ebef9b92e4
|
thermosphere: Fix wrong register allocation
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
af80d5816b
|
thermosphere: unfuck qemu JIT, fix exc. handling bug, add cache funcs
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
1f767fcce9
|
thermosphere: use x18 but qemu shits the bed
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
3769493300
|
thermosphere: add core_ctx.c/h
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
eeee49404d
|
fml coke spilled all over this laptop's keyboard
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
df38a00b86
|
thermosphere: sysreg stuff, continued
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
53785b2281
|
thermosphere: add remaining sysreg passthrough stuff
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
07039902f7
|
thermosphere: more sysreg code
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
e06131c114
|
thermosphere: add some basic sysreg trapping code
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
001cd7a7b0
|
thermosphere: proper uart_reset impl for uart-b
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
24f0af9e02
|
thermosphere: fix uart fifo init/flushing
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
36911b1365
|
thermosphere: rebase, fix some bugs
uart now works except for fifo flush
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
532907c9e7
|
thermosphere: add more sysreg stuff & start writing trap stuff
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
fe0c3835b6
|
thermosphere: add sysreg list
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
11c1d926e2
|
thermosphere: add hypercall support... even if unused
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
f2d22ccdef
|
thermosphere: add ExceptionSyndromeRegister definition
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
114cd464e8
|
thermosphere: start exception handling
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
8e73bdef4c
|
thermosphere: add qemu support
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
02c27a482a
|
thermosphere: uart fixes/ still not working
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
3c2ff2933a
|
thermosphere: rebase, doesn't work
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
c326492464
|
thermosphere: uart refactor, now it doesn't work at all
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
20e5689f04
|
thermosphere: set correct gpio config for uart (thanks @hexkyz)
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
1d225ed5f8
|
thermosphere: attempt to output to uart-c
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
acae18365b
|
thermosphere: fix bugs:
- missing barriers after setting elr/spsr
- .text.start* matching .text.startup (which contains main, thanks @fincs)
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
b124c4383e
|
thermosphere: attempt to run
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
5bc923ea00
|
thermosphere: "write" placeholder code
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
2e2976efba
|
thermosphere: remove legacy code
|
2020-02-04 19:12:18 +00:00 |
|
TuxSH
|
1309e93e26
|
libvapours: reorganize includes.hpp
|
2020-02-04 19:02:17 +00:00 |
|
TuxSH
|
c6a736a6f6
|
libvapours: constexpr ALWAYS_INLINE T CombineBits
|
2020-02-04 02:09:46 +00:00 |
|
TuxSH
|
30e39e60f7
|
libvapour: forgot to add util_bitutil.hpp to util.hpp
|
2020-02-04 02:04:59 +00:00 |
|
TuxSH
|
108b997ef2
|
libvapours: introduce BitsOf, Bits
|
2020-02-04 01:32:59 +00:00 |
|
TuxSH
|
877b2cf790
|
libvapours: introduce BITL, MASK, MASKL, MASK2, MASK2L which were already present in other ams components
|
2020-02-03 23:01:00 +00:00 |
|
TuxSH
|
72dd25a99e
|
Fix uart init
|
2019-07-24 00:52:02 +02:00 |
|
TuxSH
|
5672c935ed
|
Update libstratosphere submodule
|
2019-07-16 01:26:07 +02:00 |
|
TuxSH
|
7ddaad615b
|
loader; suppress gcc warning
|
2019-03-19 21:29:31 +01: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 |
|
TuxSH
|
536b89efae
|
Add boost as submodule
|
2018-10-30 23:49:26 +01:00 |
|
TuxSH
|
06088d4c60
|
exosphere: fix neon regs being used => don't link against newlib, use -mgeneral-regs-only
|
2018-09-27 23:56:01 +02:00 |
|
TuxSH
|
210c6425c3
|
Cull unmainted exosphere/src/dbg folder
|
2018-09-27 22:54:30 +02:00 |
|
TuxSH
|
d8391078c8
|
Fix creport according to latest libnx release changes
|
2018-09-19 15:03:50 +02:00 |
|
TuxSH
|
82b248aeac
|
Merge pull request #138 from desowin/sdmmc-frequency
Rework sdmmc clocking configuration
|
2018-06-13 17:31:19 +02:00 |
|
TuxSH
|
f5163fa35d
|
Merge pull request #126 from desowin/sdmmc-autocal
Make sdmmc autocalibration follow TRM procedure
|
2018-06-06 18:09:00 +02:00 |
|
TuxSH
|
0491a21a99
|
Fix logic bug in stage2's main function
|
2018-06-05 16:18:02 +02:00 |
|
TuxSH
|
b2139ed182
|
Pass screen status and mmc struct from stage1 to 2
|
2018-06-04 19:17:23 +02:00 |
|
TuxSH
|
af8f63c187
|
Merge pull request #122 from neobrain/master
Build fix
|
2018-06-03 18:35:17 +02:00 |
|
TuxSH
|
c9723d7b68
|
Refactor fusee's makefile
|
2018-05-27 00:59:02 +02:00 |
|
TuxSH
|
ad5be3cae5
|
Refactor exosphère's linker script
To properly separate text/rodata/data+bss, page-alignment needs to be added, as well as some symbol definitions and support code...
|
2018-05-27 00:36:41 +02:00 |
|
TuxSH
|
d57f4c54a9
|
Fix mmc->allow_voltage_switching assignment in sdmmc_init
|
2018-05-24 17:39:36 +02:00 |
|
TuxSH
|
4d43a86b60
|
Copy latest sdmmc driver to stage2
|
2018-05-24 01:17:13 +02:00 |
|
TuxSH
|
fd77e5543e
|
Add debug comment for exosphère
|
2018-05-23 18:46:39 +02:00 |
|
TuxSH
|
16ad355f45
|
Unstub "Validate section hashes."
|
2018-05-23 18:45:53 +02:00 |
|
TuxSH
|
a4b1cf8b50
|
Stage1: fix SE issue too
|
2018-05-21 21:18:30 +02:00 |
|
TuxSH
|
561fa90669
|
Use uintX_t for the SE & copy bugfixed SE struct definition
|
2018-05-21 19:05:00 +02:00 |
|
TuxSH
|
f39622c421
|
Stage2: Fix bug, add more debug printfs to nxboot. The CCPLEX doesn't turn on
|
2018-05-21 18:42:42 +02:00 |
|
TuxSH
|
5920f5a4b0
|
Stage2: fix various bugs in package2.c
|
2018-05-21 18:18:12 +02:00 |
|
TuxSH
|
ffd0b5df6a
|
Fix bug in stratosphere_get_ini1, etc.
|
2018-05-21 17:45:05 +02:00 |
|
TuxSH
|
0e9a304533
|
stage2: package2: bypass hash checks for now
|
2018-05-21 17:42:10 +02:00 |
|
TuxSH
|
ecb83903c0
|
Stage1: fix potential alignment issue
|
2018-05-21 14:18:03 +02:00 |
|
TuxSH
|
bf2c6dff25
|
Stage2: Add exception handlers
|
2018-05-21 03:50:53 +02:00 |
|
TuxSH
|
c1687905a3
|
Fix stack overflow when chainloading stage2
|
2018-05-21 03:42:05 +02:00 |
|
TuxSH
|
ea2693dd2d
|
Fix exception handlers (thanks @fincs)
|
2018-05-21 03:39:18 +02:00 |
|
TuxSH
|
43d1816ac2
|
[stage1] Add exception handlers... which somehow don't work?
|
2018-05-21 02:24:41 +02:00 |
|
TuxSH
|
83d9d874e6
|
Fusee use CAR reboot for fatal errors
|
2018-05-20 23:52:09 +02:00 |
|
TuxSH
|
4ec7d0fc82
|
Remove packed when not needed
|
2018-05-20 22:57:25 +02:00 |
|
TuxSH
|
57ff5e694a
|
Don't check for panics in stage2
|
2018-05-20 22:00:11 +02:00 |
|
TuxSH
|
3dd6ec5f6c
|
wtf pmc reboot doesn't fully work -- display doesn't reinitialize
|
2018-05-20 16:56:15 +02:00 |
|
TuxSH
|
f45bc83bc4
|
Introduce fatal_error
|
2018-05-20 16:18:48 +02:00 |
|
TuxSH
|
ec7e0d923d
|
Add custom panic driver
|
2018-05-20 14:11:46 +02:00 |
|
TuxSH
|
c820375a86
|
Make struct tegra_pmc not packed
|
2018-05-20 01:40:23 +02:00 |
|
TuxSH
|
64cdd2e63f
|
Actually don't use memcpy in sdmmc
|
2018-05-19 03:10:06 +02:00 |
|
TuxSH
|
2a98e2e3b8
|
Sync sdmmc changes between stage1 and 2
|
2018-05-19 02:50:50 +02:00 |
|
TuxSH
|
2bc2fe1452
|
Use memcpy instead of raw casts in sdmmc.c
|
2018-05-19 01:33:07 +02:00 |
|
TuxSH
|
b4eeddd7e1
|
Revamp all the Makefiles (thanks @fincs @WinterMute)
... dependencies are now properly handled (e.g. header changes, etc.)
|
2018-05-19 01:07:27 +02:00 |
|
TuxSH
|
e0a5acd0ba
|
[stage2] Add more debugging printfs to package2.c, etc.
|
2018-05-18 00:24:06 +02:00 |
|
TuxSH
|
993db7ee95
|
Fix nxboot mkey rev misconception
|
2018-05-18 00:11:44 +02:00 |
|
TuxSH
|
ec6d05892c
|
Refactor nxboot package2 reading, work around sdmmc issue, other changes
|
2018-05-17 23:18:33 +02:00 |
|
TuxSH
|
9ed2f92cdc
|
[stage2] Fix some FS bugs
|
2018-05-17 19:53:42 +02:00 |
|
TuxSH
|
5b5d3c69c2
|
[exosphere] Fix bug in package2.c
|
2018-05-17 16:15:30 +02:00 |
|
TuxSH
|
3dac6c9268
|
Fix bug in fusee: package2.c, etc.
|
2018-05-17 16:11:10 +02:00 |
|
TuxSH
|
1b07a07353
|
Fusee: Change package2 loading logic (untested)
|
2018-05-17 15:56:02 +02:00 |
|
TuxSH
|
5631b27449
|
Fix out-of-bounds partition r/w bugs in raw_dev.c
|
2018-05-17 14:39:16 +02:00 |
|
TuxSH
|
858b40e5fb
|
GPT entry LBA range is inclusive
|
2018-05-17 14:38:19 +02:00 |
|
TuxSH
|
85bfbeccc3
|
Fix latest commit
|
2018-05-17 02:07:11 +02:00 |
|
TuxSH
|
52d2af86b6
|
Fix BCT version parsing
|
2018-05-17 01:54:19 +02:00 |
|
TuxSH
|
9309b0bed5
|
Don't overflow devoptabs, etc.
|
2018-05-17 01:53:32 +02:00 |
|
TuxSH
|
468a063c03
|
Load the appropriate package1 key. The warmboot fw is now properly read.
|
2018-05-16 23:19:55 +02:00 |
|
TuxSH
|
348b2457e0
|
Fix key derivation regression
|
2018-05-16 23:04:54 +02:00 |
|