Commit Graph

66 Commits

Author SHA1 Message Date
Michael Scire
8ad00caa00 pmic: use correct shutdown impl for erista power-off 2021-01-05 15:14:11 -08:00
Michael Scire
c4215bc6dd ams: update five -> aula, per CalWriterManu 2020-12-28 17:34:07 -08:00
Michael Scire
245b159b98 fusee/exo: support dynamic control of invert flag for logging 2020-12-11 03:49:03 -08:00
Michael Scire
3355f97275 exo/meso/fusee: support dynamic control of log port/baud rate 2020-12-11 03:48:58 -08:00
Michael Scire
78510a74f0 exo: add new dram IDs 2020-12-02 10:00:28 -08:00
Michael Scire
4d1664157d exo: update for 11.0.0 2020-12-02 06:53:05 -08:00
Michael Scire
9ae30ca73b exo/mariko fatal: perform display init, reboot on power button press 2020-12-02 06:53:01 -08:00
Michael Scire
a9062994d2 exo: receive saved lcd vendor from bl 2020-12-02 06:52:59 -08:00
Michael Scire
74affceb16 exo/mariko fatal: save fatal error binaries to the SD 2020-12-02 06:52:58 -08:00
Michael Scire
76c3491354 mariko fatal: map 0xC0000000 for framebuffer usage 2020-12-02 06:52:57 -08:00
Michael Scire
23609fb983 exo: implement start of mariko fatal handler 2020-12-02 06:52:57 -08:00
Michael Scire
1e04fe9d63 exo: map stack region for mariko-only program 2020-12-02 06:52:55 -08:00
Michael Scire
11073d9ae3 exo: load mariko-only program during boot 2020-12-02 06:52:55 -08:00
Michael Scire
701fcce0b4 exo: free space by moving keys to volatile iram, support logging under debug config 2020-12-02 06:52:54 -08:00
Michael Scire
47cd423aa0 exo: shuffle logic around to support debug code region in iram 2020-12-02 06:52:54 -08:00
Michael Scire
fcde887f21 exo/program: release, debug, audit configs 2020-12-02 06:52:53 -08:00
Michael Scire
3cfd412e6a libexo/sc7fw: support release/debug/audit 2020-12-02 06:52:53 -08:00
Michael Scire
61b0f7f0a6 libexosphere: support building under debug/audit configurations 2020-12-02 06:52:52 -08:00
Michael Scire
2284fa193f exo: reserve a portion of iram for secure monitor debug (including code) 2020-12-02 06:52:52 -08:00
Michael Scire
f99c30920b boot: add rgltr/clkrst overrides, skel I2cBusAccessor 2020-12-02 06:52:44 -08:00
SciresM
791b402320 sdmmc: implement driver suitable for fs + bootloader
* sdmmc: begin skeletoning sdmmc driver

* sdmmc: add most of SdHostStandardController

* sdmmc: implement most of SdmmcController

* sdmmc: Sdmmc2Controller

* sdmmc: skeleton implementation of Sdmmc1Controller

* sdmmc: complete abstract logic for Sdmmc1 power controller

* sdmmc: implement gpio handling for sdmmc1-register-control

* sdmmc: implement pinmux handling for sdmmc1-register-control

* sdmmc: fix building for arm32 and in stratosphere context

* sdmmc: implement voltage enable/set for sdmmc1-register-control

* util: move T(V)SNPrintf from kernel to util

* sdmmc: implement BaseDeviceAccessor

* sdmmc: implement MmcDeviceAccessor

* sdmmc: implement clock reset controller for register api

* sdmmc: fix bug in WaitWhileCommandInhibit, add mmc accessors

* exo: add sdmmc test program

* sdmmc: fix speed mode extension, add CheckMmcConnection for debug

* sdmmc: add DeviceDetector, gpio: implement client api

* gpio: modernize client api instead of doing it the lazy way

* sdmmc: SdCardDeviceAccessor impl

* sdmmc: update test program to read first two sectors of sd card

* sdmmc: fix vref sel

* sdmmc: finish outward-facing api (untested)

* ams: changes for libvapours including tegra register defs

* sdmmc: remove hwinit
2020-12-02 06:52:42 -08:00
Michael Scire
99bd8bae5f fusee: fix sleep/wake on 6.x 2020-09-07 10:51:47 -07:00
Michael Scire
f2b9036355 exo: build with -Wextra 2020-09-07 10:51:37 -07:00
Michael Scire
9f7bc49438 ams: avoid UB infinite loops 2020-08-14 17:36:37 -07:00
Michael Scire
4ee7df6340 ams: update build system to add generic-fallback support 2020-08-14 17:36:36 -07:00
Michael Scire
178deebf24 exo: fixes, now tested working on mariko hardware 2020-08-01 15:30:55 -07:00
Michael Scire
3d529522d3 exo: add mariko spare reg write during setup 2020-08-01 15:30:54 -07:00
Michael Scire
8f2c7eef54 exo: implement mariko fuse driver 2020-08-01 15:30:53 -07:00
Michael Scire
7de919f3df exo: implement remaining SE changes for mariko support 2020-08-01 15:30:52 -07:00
Michael Scire
1f252dfa43 exo: implement mariko se/tzram context save 2020-08-01 15:30:52 -07:00
Michael Scire
1e0ca0e9cc fusee/exo: correct device key management for newer consoles (closes #1053) 2020-06-28 19:41:11 -07:00
Michael Scire
a27e9f1595 exo: amend pk21 restrictions 2020-06-14 22:54:09 -07:00
Michael Scire
000e845cd2 exo2: add security checks, full 2.0.0 support 2020-06-14 22:54:08 -07:00
Michael Scire
339dd49c20 exo2: address volca review commentary 2020-06-14 22:54:07 -07:00
Michael Scire
1674d4d220 exo2: implement warmboot firmware 2020-06-14 22:54:06 -07:00
Michael Scire
46983d7b6f exo2: implement SmcIramCopy/reboot to payload/rcm 2020-06-14 22:54:05 -07:00
Michael Scire
3d96ce7512 exo2: implement SmcReencryptDeviceUniqueData 2020-06-14 22:54:04 -07:00
Michael Scire
43569123cd exo2: suspend fixes (sleep/wake now works on hardware) 2020-06-14 22:54:04 -07:00
Michael Scire
4ba07f80f8 exo2: implement the rest of cpu suspend (security checks TODO) 2020-06-14 22:54:04 -07:00
Michael Scire
72a7b840d3 exo2: add sc7fw load, skeleton rest of suspend 2020-06-14 22:54:04 -07:00
Michael Scire
b8ae1b1799 exo2: implement the first half of SmcCpuSuspend 2020-06-14 22:54:03 -07:00
Michael Scire
e9100b287d exo2: add a number of minor configuration fixes 2020-06-14 22:54:03 -07:00
Michael Scire
b3819a1e29 exo2: implement smc cpu off 2020-06-14 22:54:03 -07:00
Michael Scire
810419f2da exo2: implement SmcPrepareEsDeviceUniqueKey, SmcPrepareEsCommonTitleKey, SmcLoadPreparedAesKey 2020-06-14 22:54:02 -07:00
Michael Scire
7561db5ed2 exo2: Implement (untested) SmcDecryptDeviceUniqueData 2020-06-14 22:54:01 -07:00
Michael Scire
ec2ec1feef exo2: implement some mariko TODOs 2020-06-14 22:54:00 -07:00
Michael Scire
68398407e0 exo2: cache soc type/hardware type for quick lookup 2020-06-14 22:54:00 -07:00
Michael Scire
60416d1439 exo2: fix bugs in Cmac and DeviceId calculation 2020-06-14 22:54:00 -07:00
Michael Scire
49fc2acc9f exo2: tentative (read: bugged) SmcComputeCmac, SmcGenerateSpecificAesKey, SmcGetSecureData 2020-06-14 22:53:59 -07:00
Michael Scire
8b80e0ec23 exo2: implement SmcComputeAes, SmcGetResult, SmcGetResultData 2020-06-14 22:53:59 -07:00