TuxSH
8648cac77b
[stage2] Remove printk, introduce UTF-8 console stdio
2018-05-05 23:56:18 +02:00
TuxSH
02217bde55
Merge branch 'master' of github.com:SciresM/Atmosphere-NX
2018-05-05 22:05:19 +02:00
TuxSH
ddea5484b6
[stage1] support utf8 in fatfs
2018-05-05 22:05:11 +02:00
Léo Lam
a097babe18
Replace std::make_tuple with simpler syntax ( #77 )
...
* boot2: Simplify g_additional_launch_programs
It appears that Stratosphère is targeting C++17. In C++17,
std::make_tuple is not required for initialisating a tuple anymore.
Same thing, but less typing
* Replace std::make_tuple with {}
More readable and less noise. Also fixes two missing return statements.
2018-05-05 11:41:39 -07:00
Léo Lam
cf50bad36c
ipc_templating: Avoid depending on order of evaluation ( #83 )
...
f(x, x++) is unspecified behaviour in C++. An implementation could
evaluate arguments from left to right or from right to left.
`T(r.Buffers[a_index], r.BufferSizes[a_index++])` might
access the wrong buffer if `a_index++` is evaluated before the first
argument.
Fixes -Wsequence-point warnings
2018-05-05 11:41:08 -07:00
TuxSH
30b9873ab3
Use the bloated string formatting functions from newlib
2018-05-05 18:35:00 +02:00
TuxSH
67b76cc8f1
Instead of passing FatFS structs around, unmount; other changes
2018-05-05 17:33:49 +02:00
TuxSH
0fca6c2296
[stage2] Add fatfs devoptab wrapper, change ffconf accordingly
2018-05-05 16:30:25 +02:00
Kate J. Temkin
8eb8de0e94
fusee: fix an obvious sdmmc error (oops)
2018-05-05 03:29:01 -06:00
Michael Scire
772401b81f
ProcessManager: Add pm:info, fix pm:shell missing qualifiers
2018-05-04 20:16:40 -06:00
Michael Scire
e596fd0de5
ProcessManager: Implement almost all of pm:shell
2018-05-04 19:57:11 -06:00
Kate J. Temkin
bceb00ad8d
fusee: sdmmc: clean up and prepare for better SD/MMC/version separations
2018-05-04 18:48:20 -06:00
Michael Scire
ae830fea95
Process Manager: Add stub for pm:shell
2018-05-04 18:25:26 -06:00
Michael Scire
5d215ef299
Process Manager: Make process flag updating version agnostic, handle 5.x dead process semantics.
2018-05-04 17:55:48 -06:00
Kate J. Temkin
2e362d93da
fusee: add support for SDMMC write operations
2018-05-04 17:16:19 -06:00
Michael Scire
553cd236f2
Fusee: fix typo
2018-05-04 16:38:10 -06:00
Michael Scire
9487924973
Fusee: Add #define requirement for pragmatic reasons.
2018-05-04 16:35:33 -06:00
Kate J. Temkin
711f85305b
fusee: enable sdmmc loglevel control
2018-05-04 16:15:51 -06:00
Kate J. Temkin
932a5bd645
fusee: fix multiple-block SDMMC transfers
2018-05-04 16:15:18 -06:00
TuxSH
e5fff14689
Move fatfs around
2018-05-05 00:11:22 +02:00
TuxSH
0d344e45af
Initialize heap, increase stack size
2018-05-04 23:56:01 +02:00
TuxSH
dc3099781d
Change defaut BCT0 for debug
2018-05-04 21:52:38 +02:00
Michael Scire
4199be2460
Merge SD stuff into fusee-secondary. Switch diskio to single-sector reads temporarily
2018-05-04 11:47:05 -06:00
Michael Scire
299b020ecc
Push minimally working FATFS.
2018-05-04 11:21:15 -06:00
Kate J. Temkin
010ba9248c
fusee: make SDMMC debug printing more manageable
2018-05-04 03:38:41 -06:00
Kate J. Temkin
0120b9ce52
fusee: get uSD working, fix bad no_iopower, and abstract card differences
2018-05-04 03:24:27 -06:00
Kate J. Temkin
99f749ef82
fusee: fix SD pinmuxing / signal integrity issues
2018-05-04 03:24:27 -06:00
Kate J. Temkin
5b3be77f0e
fusee: fix drive strength and avoid a pad wear-condition
2018-05-04 03:24:27 -06:00
Kate J. Temkin
fc97c3f773
fusee: merge in most of the microSD card (not fully working)
2018-05-04 03:24:27 -06:00
Kate J. Temkin
608d59c229
fusee: implement partition support; needs some tweeks
2018-05-04 03:24:27 -06:00
Kate J. Temkin
01e3761d4c
fusee: sdmmc: use v3 compatibility mode for it's simpler DMA
...
we may want to change this at some point to get 64-bit addressing?
2018-05-04 03:24:27 -06:00
Kate J. Temkin
ef1923ebab
fusee: sdmmc: support CPU reads in addition to (broken?) DMA
2018-05-04 03:24:27 -06:00
Kate J. Temkin
21c177804e
fusee: sdmmc: handle DMA page boundaries
2018-05-04 03:24:27 -06:00
Kate J. Temkin
534c50fba5
sdmmc: mostly working for eMMC, now
2018-05-04 03:24:27 -06:00
Kate J. Temkin
eb48e06331
fusee: get non-data SDMMC commands fully working on eMMC
2018-05-04 03:24:27 -06:00
Kate J. Temkin
dbb65428e8
fusee: further flesh out sdmmc implementation
2018-05-04 03:24:27 -06:00
Kate J. Temkin
2e3af0c474
fusee: fix issue with SDMMC psuedo-interrupts
2018-05-04 03:24:27 -06:00
Kate J. Temkin
fbe159e4d3
fusee: add missing file
2018-05-04 03:24:27 -06:00
Kate J. Temkin
06bf132022
skeleton SDMMC
2018-05-04 03:24:27 -06:00
Michael Scire
c19750a0d5
ProcessManager: Make launch flag parsing version agnostic.
2018-05-04 01:01:53 -06:00
Michael Scire
d6cf7c605f
ProcessManager: Implement core process management logic.
2018-05-03 23:58:37 -06:00
Léo Lam
999498c0a0
Stratosphère: Simplify some for loops ( #76 )
...
Simplifies some loops by removing the need to manually calculate or
re-specify the array size. Eliminates any chance of using the
wrong size and less typing.
2018-05-03 16:24:34 -07:00
Michael Scire
7ab9f507cb
ProcessManager: Fill out ProcessTracking::Initialize()
2018-05-03 16:15:12 -06:00
hexkyz
5025ba5e82
Boot: Implement initial GPIO configuration
2018-05-03 22:34:45 +01:00
Max K
0807aaea2b
Fix small issues in the stage2 loader ( #78 )
...
* stage2 loader: Fix loadlist parsing breaking out of the loop too early
* stage2 loader: Use bct0 from the loader context
2018-05-03 13:08:30 -07:00
Michael Scire
54a1529ef4
ProcessManager: fix critical typo in sarcastic comment
2018-05-03 04:10:41 -06:00
Michael Scire
3d2c3e1fe1
ProcessManager: Stub ProcessTracking code.
2018-05-03 04:10:05 -06:00
Michael Scire
0459bcee74
ProcessManager: Acquire ldr:pm during init.
2018-05-03 03:58:45 -06:00
Michael Scire
b5412df53b
Stratosphere: Add IPC templating for non-member functions.
2018-05-03 03:14:48 -06:00
Michael Scire
593efedb2c
ProcessManager: Add BootModeInterface
2018-05-03 02:58:11 -06:00