TuxSH
75dfcd07a9
Add chainloader (stage2) (need to edit more files)
2018-05-07 01:02:23 +02:00
TuxSH
2c07b5a2fb
Rework fs_dev mount code
2018-05-06 18:41:40 +02:00
TuxSH
a29e800661
Revert "Fix mount code in fs_dev.c"
...
This reverts commit 306555e522
.
2018-05-06 18:14:08 +02:00
TuxSH
8b418732ad
Upgrade FatFs to R0.13b
2018-05-06 18:00:22 +02:00
TuxSH
4265dc7b65
Don't pass the mmc struct around
2018-05-06 17:22:12 +02:00
hexkyz
8c7492654c
Fix another critically missing credit
2018-05-06 16:13:04 +01:00
hexkyz
a9513f8d2f
Merge pull request #85 from leoetlino/boot
...
boot: Fix usage of svcQueryIoMapping and building
2018-05-06 15:55:04 +01:00
TuxSH
68eec056a9
Fix const-correctness issue in sdmmc.h
2018-05-06 15:22:35 +02:00
TuxSH
17545ac103
Merge branch 'master' of github.com:SciresM/Atmosphere-NX
2018-05-06 15:02:45 +02:00
TuxSH
1aa6b92bc4
Normalize drivers between stage1 and 2
2018-05-06 15:02:13 +02:00
SciresM
1b21a7022d
Fix critically missing credit
2018-05-06 06:28:34 -06:00
Léo Lam
999a15c887
boot: Make gpio helper functions internally linked
2018-05-06 13:09:33 +02:00
Léo Lam
555ed96e80
boot: Fix missing argument for gpio_base_vaddr
2018-05-06 13:09:33 +02:00
Léo Lam
d1e9de50e8
boot: Fix invalid usage of svcQueryIoMapping
2018-05-06 13:09:33 +02:00
TuxSH
306555e522
Fix mount code in fs_dev.c
2018-05-06 13:03:45 +02:00
TuxSH
8f5a5acb06
Fix the g_bct0 overflow issue, malloc now works
...
The linker chose the unused symbol from loader.c.
2018-05-06 11:46:48 +02:00
Michael Scire
6d6ecb503a
ProcessManager: Fix svcCreateEvent handle inversion bug, and others.
...
NOTE: Debugging logs have been left in, and will be cleaned up once PM
is working.
2018-05-06 02:23:47 -06:00
TuxSH
6e5d4b8fc9
Fix bss overflow error
2018-05-06 00:45:30 +02:00
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