Commit Graph

40 Commits

Author SHA1 Message Date
Michael Scire
bc3bcb02ce fusee-cpp: Implement mbist workaround 2021-09-06 16:32:33 -07:00
Michael Scire
9ac6f527e2 ams: update for 12.0.2 2021-05-12 09:09:44 -07:00
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
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
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
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
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
178deebf24 exo: fixes, now tested working on mariko hardware 2020-08-01 15:30:55 -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
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
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
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
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
Michael Scire
94a8be89ac exo2: implement SmcGetConfig 2020-06-14 22:53:58 -07:00
Michael Scire
13ee5bab6a exo2: minor fixes, now completes main and receives SMCs on hw 2020-06-14 22:53:57 -07:00
Michael Scire
ffb3493ab5 exo2: implement remainder of warmboot tz code 2020-06-14 22:53:55 -07:00
Michael Scire
6b7954ad58 exo2: Implement the rest of main/return-to-el1 2020-06-14 22:53:54 -07:00
Michael Scire
91bcead046 exo2: implement through package2 decryption 2020-06-14 22:53:54 -07:00
Michael Scire
eb2595ed6c exo2: implement through boot config load/validate 2020-06-14 22:53:53 -07:00
Michael Scire
314b423ddc exo2: implement through end of random cache init 2020-06-14 22:53:53 -07:00
Michael Scire
bc653fa855 exo2: Initial work on the exosphere rewrite.
exo2: Implement uncompressor stub and boot code up to Main().

exo2: implement some more init (uart/gic)

exo2: implement more of init

exo2: improve reg api, add keyslot flag setters

exo2: implement se aes decryption/enc

exo2: fix bugs in loader stub/mmu mappings

exo2: start skeletoning bootconfig/global context types

arch: fix makefile flags

exo2: implement through master key derivation

exo2: implement device master keygen

exo2: more init through start of SetupSocSecurity

exo2: implement pmc secure scratch management

se: implement sticky bit validation

libexosphere: fix building for arm32

libexo: fix makefile flags

libexo: support building for arm64/arm

sc7fw: skeleton binary

sc7fw: skeleton a little more

sc7fw: implement all non-dram functionality

exo2: fix DivideUp error

sc7fw: implement more dram code, fix reg library errors

sc7fw: complete sc7fw impl.

exo2: skeleton the rest of SetupSocSecurity

exo2: implement fiq interrupt handler

exo2: implement all exception handlers

exo2: skeleton the entire smc api, implement the svc invoker

exo2: implement rest of SetupSocSecurity

exo2: correct slave security errors

exo2: fix register definition

exo2: minor fixes
2020-06-14 22:53:53 -07:00