Commit Graph

888 Commits

Author SHA1 Message Date
Michael Scire
d2b6c6c818 powctl: implement client api (needs board-specific impl) 2020-12-02 06:52:47 -08:00
Michael Scire
baef1c5151 pwm: implement driver for boot sysmodule 2020-12-02 06:52:47 -08:00
Michael Scire
9d7632a0d2 gpio: add missing driver functions for boot 2020-12-02 06:52:46 -08:00
Michael Scire
442c15d78c i2c: implement remaining required driver logic 2020-12-02 06:52:46 -08:00
Michael Scire
3d423c4e0e i2c: command list format, get boot down to linker errors 2020-12-02 06:52:46 -08:00
Michael Scire
134d7f2d9f i2c/gpio: hook up open session for sf interface 2020-12-02 06:52:46 -08:00
Michael Scire
8e2101c403 i2c: implement driver init api 2020-12-02 06:52:45 -08:00
Michael Scire
56b8374ef9 i2c: finish I2cBusAccessor 2020-12-02 06:52:45 -08:00
Michael Scire
fecad158f3 i2c: implement BusAccessor::WriteHeader 2020-12-02 06:52:45 -08:00
Michael Scire
462ab175af i2c: implement BusAccessor except Send/Receive/WriteHeader 2020-12-02 06:52:45 -08:00
Michael Scire
f99c30920b boot: add rgltr/clkrst overrides, skel I2cBusAccessor 2020-12-02 06:52:44 -08:00
Michael Scire
de95812488 i2c: add auto-generated bus/device map 2020-12-02 06:52:44 -08:00
Michael Scire
778bea6e41 i2c: begin skeleton device driver framework 2020-12-02 06:52:44 -08:00
Michael Scire
663705c522 gpio: remove copy-pasted unused file 2020-12-02 06:52:44 -08:00
Michael Scire
41bcdc9c1f gpio: implement more of server library for boot sysmodule client usage 2020-12-02 06:52:43 -08:00
Michael Scire
3756f81d9e wec: implement wec driver components for boot sysmodule 2020-12-02 06:52:43 -08:00
Michael Scire
57c40bca06 gpio: add (most of) driver framework for boot sysmodule usage 2020-12-02 06:52:43 -08:00
Michael Scire
120c63b612 ddsf: implement namespace 2020-12-02 06:52:42 -08:00
Michael Scire
d922dcc8a1 libstrat: fix precompiled-header dependency detection 2020-12-02 06:52:42 -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
SciresM
9ee32fee0f Meso build targets (#1196)
* meso: commit wip (thanks fincs) rewrite to support build targets

* meso: commit mostly-working build system

* meso: correct .o dependencies in kernel/kldr

* libstratosphere: fix building after PCH related build changes

Co-authored-by: fincs <fincs@devkitpro.org>
2020-12-02 06:52:42 -08:00
Michael Scire
10e9e0e8f9 docs/fatal error: update for 0.15.0 2020-10-26 16:03:09 -07:00
Michael Scire
1235ee67a1 ams: bump version to 0.15.0 (release slated for post-crown-tundra) 2020-10-26 16:03:09 -07:00
Michael Scire
0f3085b8f6 kern: perform rescheduling on dispatch re-enable (closes #1169) 2020-10-26 16:03:08 -07:00
Michael Scire
8e2b81b55a util: follow 90fd771 to its natural conclusion (generic base rbtree) 2020-10-26 16:03:08 -07:00
Michael Scire
b953b82c3b kern: minor behavioral fixes to condvar/address arbiter 2020-10-26 16:03:08 -07:00
Michael Scire
72def8c75d erpt: fix attachment-in-save paths (closes #1124, #1145) 2020-10-26 16:03:07 -07:00
Michael Scire
dbbf26f03c ams: expose reboot payload for kernel panic 2020-10-26 16:03:06 -07:00
Michael Scire
f6dac1e677 ams: bump version to 0.14.4 2020-09-17 08:34:23 -07:00
Michael Scire
e7e63e19b9 kern: fix KCodeMemory SVCs when Owner process != Generator process 2020-09-17 08:34:23 -07:00
Michael Scire
0b7648e7fc kern: default to release config 2020-09-17 08:34:22 -07:00
Michael Scire
ba45f73e40 kern: generate fatal error on panic 2020-09-17 08:34:22 -07:00
Michael Scire
f7a3eead0c kern: add build-define for logging to iram ringbuffer 2020-09-17 08:34:22 -07:00
Michael Scire
48dbf4808f ams: support 10.2.0 (bump vers to 0.14.3) 2020-09-14 18:13:42 -07:00
Michael Scire
4c51c55d1a loader: improve verification terminology 2020-09-14 18:13:42 -07:00
Michael Scire
828bd1cc52 ro: rename ModuleType to reflect reality 2020-09-14 18:13:42 -07:00
Michael Scire
04ef9bf898 ams: bump version to 0.14.2 2020-09-07 10:51:52 -07:00
Michael Scire
a1ef94c342 kern: lps driver fixes, sleep confirmed working on 1.0.0 2020-09-07 10:51:52 -07:00
Michael Scire
81a47c1cb8 kern: fix c/p error 2020-09-07 10:51:52 -07:00
Michael Scire
6cda01f88f kern: add debug logging on smmu error interrupt 2020-09-07 10:51:52 -07:00
Michael Scire
51c951f4ac kern: finish 1.x lps driver 2020-09-07 10:51:51 -07:00
Michael Scire
c93a3b2e8b kern: add most of 1.x lps driver 2020-09-07 10:51:51 -07:00
Michael Scire
b4dbd97381 kern: skeleton legacy lps driver 2020-09-07 10:51:51 -07:00
Michael Scire
6182330d05 exo/kern: 1.0.0 requires access to bpmp smmu regs, userland (am) needs to map bpmp exception vectors 2020-09-07 10:51:50 -07:00
Michael Scire
22f2946671 kern: begin 1.0.0 backwards compat changes (kips run, full boot fails) 2020-09-07 10:51:50 -07:00
Michael Scire
1aedaa0f91 kern: support 2-pool layout on 2.x-4.x instead of modern 4-pool layout 2020-09-07 10:51:50 -07:00
Michael Scire
6cf1e0cece kern: change terminology metadata -> management 2020-09-07 10:51:50 -07:00
Michael Scire
0c246b88bd kern: pool management should be within carveout 2020-09-07 10:51:49 -07:00
Michael Scire
d61f1ddef7 kern: fix phys/virt pool management mixup 2020-09-07 10:51:49 -07:00
Michael Scire
00a43ac776 kern: revamp KMemoryRegionType to better encode derivation hierarchies 2020-09-07 10:51:49 -07:00