Michael Scire
b566d04036
Exosphere: Fix 4.0+ hang while waiting for BPMP shutdown.
2018-06-01 01:39:08 -06:00
Michael Scire
af9bee6e7f
Exosphere: Fix SE definition bug, misc other bugs. Now boots on 1.0.0
2018-06-01 00:46:05 -06:00
Michael Scire
1058ac7b2d
Exosphere: Fix MMIO configuration on low firmware versions.
2018-05-31 18:32:51 -06:00
Tomasz Moń
0534e36cf8
Set SDMMC controller to SDR104 as a workaround
...
According to Tegra X1 Series Processors Silicon Errata there is possible
misalignment of received data which results in a CRC error. The issue is
present only in SDR50 mode.
2018-05-27 17:43:25 +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
Kate J. Temkin
eaf8e559d6
fusee: work around some dual-init SDMMC issues
2018-05-23 07:47:02 -06:00
Michael Scire
ef9adabb40
Exosphere: Fix MC carveout setup bug, now receives smcCpuOn from kernel on 1.0.0.
2018-05-21 20:14:18 -06:00
hexkyz
b777844d2d
Boot: Implement PMC wake pin events
2018-05-21 21:32:57 +01:00
TuxSH
a4b1cf8b50
Stage1: fix SE issue too
2018-05-21 21:18:30 +02:00
Michael Scire
c64d7904b4
Fusee: Fix se_calculate_sha256
2018-05-21 13:07:46 -06: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
Michael Scire
366cc5e189
Exosphere: Fix extremely spooky Security Engine bugs, now makes it to the end of package2loader.
2018-05-21 04:30:53 -06:00
Kate J. Temkin
ac7ee45493
fusee: improve SDR104 frequency and support AUTOCMD23
2018-05-21 04:24:50 -06: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
Kate J. Temkin
add03d5774
fusee: correct computation of tuning block size
2018-05-20 07:21:49 -06:00
Kate J. Temkin
d5411b5b1f
fusee: begin adding support for MMC HS modes
2018-05-20 07:05:35 -06:00
Kate J. Temkin
5f3fc8156c
fusee: SD: implement tuning, allowing for all SD UHS-I speed
2018-05-20 07:05:35 -06:00
Kate J. Temkin
38350e769c
fusee: SD driver: implement everything necessary for UHS except tuning
2018-05-20 07:05:35 -06:00
Kate J. Temkin
633c5e95ed
fusee: correct constants in CAR
2018-05-20 07:05:35 -06:00
Kate J. Temkin
817c42efc2
fusee: handle SDMMC speeds sanely
2018-05-20 07:05:35 -06: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
Kate J. Temkin
7bfdf63a71
fusee sdmmc: don't time out on long reads
2018-05-18 07:43:09 -06:00
Michael Scire
9424510f8f
Exosphere: Fix remaining crt0 bugs, we now make it to pk2ldr.
2018-05-18 07:16:41 -06:00
Michael Scire
6954925f71
Exosphere: Fix bug, we now make it past MMU enable.
2018-05-18 06:58:49 -06:00
Michael Scire
ea905725c4
Exosphere: Copy initial data image to DRAM for coldboot init.
2018-05-18 06:49:49 -06:00
Michael Scire
1a9f095463
Exosphere: Fix relocation bug (warmboot relocs currently broken in edge case)
2018-05-18 03:10:48 -06:00
TuxSH
e0a5acd0ba
[stage2] Add more debugging printfs to package2.c, etc.
2018-05-18 00:24:06 +02:00