TuxSH
eb8573093d
Move sd init into diskio.c, write code for latest commit
2018-05-11 22:24:40 +02:00
Kate J. Temkin
2b871397c2
fusee: allow sdmmc_read / sdmmc_write of more data than fits in the bounce buffer
2018-05-11 11:28:13 -07:00
TuxSH
f8cf7adad7
Add code to register rawnand, boot0, and bcpkg2
2018-05-10 23:48:41 +02:00
TuxSH
a790760de3
raw_mmc_dev: fields should be u64
2018-05-10 23:23:14 +02:00
TuxSH
4168a33dd1
[stage2] Implement package1_parse_boot0
2018-05-10 22:53:46 +02:00
TuxSH
1dd073d8d2
[stage2] Add bct.h
2018-05-10 21:54:58 +02:00
TuxSH
ac9939b7a1
Apply sdmmc stage1 changes to stage2
2018-05-10 21:36:26 +02:00
Kate J. Temkin
402b69c549
fusee: actually obey the SD spec when switching voltage
2018-05-10 07:10:37 -07:00
TuxSH
5b5aa38486
[stage2] Add GPT parsing code (tested on PC)
2018-05-10 15:16:44 +02:00
Kate J. Temkin
437344fd25
fusee: support low-voltage SDMMC mode
2018-05-10 06:05:28 -07:00
Kate J. Temkin
b20a04ede5
fusee: use full bus width and faster initial clock speed
2018-05-10 06:05:28 -07:00
TuxSH
20c225c829
[stage2] raw_mmc_dev.c: fix various bugs
2018-05-10 00:36:13 +02:00
TuxSH
3e68441040
[stage2] Make console.c manage the display, enable it only when needed
2018-05-09 22:20:14 +02:00
TuxSH
4217d7feef
[stage2] Unstub rawmmcdev_write
2018-05-09 20:52:21 +02:00
TuxSH
ff2472385f
[sdmmc] sdmmc_handle_cpu_transfer: handle unaligned buffers
2018-05-09 20:46:16 +02:00
TuxSH
b9b13e215f
Fix struct tegra_sdmmc definition
...
Definition errors were cancelling each other (for the most part)
2018-05-09 19:33:54 +02:00
TuxSH
3206583db3
[sdmmc] Fix const-correctness issue
2018-05-09 19:11:16 +02:00
TuxSH
7ad818ed93
Use latest sdmmc driver in stage2
2018-05-09 18:01:51 +02:00
TuxSH
694289de0b
Add raw_mmc_dev (untested!)
2018-05-09 17:51:13 +02:00
TuxSH
04f9920cc3
Rename g_devices to g_fsdev_devices
2018-05-09 17:26:30 +02:00
TuxSH
3fae01b08f
Rewrite condition in fsdev_seek
2018-05-09 17:10:35 +02:00
TuxSH
bf94bf48d2
Refine error in fsdev_mount_device
2018-05-09 14:16:33 +02:00
TuxSH
b2c82c75d0
Make stdout line-buffered
2018-05-09 11:49:10 +02:00
TuxSH
7560abbfbd
Fix FindDevice and RemoveDevice calls in fs_dev.c
2018-05-09 11:36:49 +02:00
TuxSH
3682a56062
O_RDONLY is 0
2018-05-09 00:53:13 +02:00
TuxSH
77faa00a57
Rewrite package2.c
2018-05-09 00:19:51 +02:00
TuxSH
7df879d346
Change the allocation logic in stratosphere.c
2018-05-08 18:46:54 +02:00
TuxSH
70bb496388
Refactor stage1's and stage2's main.c files
2018-05-08 16:51:43 +02:00
TuxSH
50498e3b20
Don't deinit the display yet, for now
2018-05-08 15:44:48 +02:00
TuxSH
d43255d484
Fix bug in crt0
2018-05-08 14:56:17 +02:00
TuxSH
461e886244
Make di.c accept arbitrary FB addresses, fix flickering issues
2018-05-08 13:45:37 +02:00
TuxSH
170cd2d8c4
[stage2] Forgot to change that, too
2018-05-08 13:45:37 +02:00
TuxSH
d390ead56f
Fix faulty IRAM check in check_32bit_address_range_in_program
2018-05-08 13:45:37 +02:00
TuxSH
880f49cfa5
Fix inverted condition issue in check_32bit_address_range_loadable
2018-05-08 13:45:37 +02:00
TuxSH
1fd098e074
[stage1] Fix DEFAULT_BCT0_FOR_DEBUG
2018-05-08 13:45:37 +02:00
TuxSH
e8306361f0
Rewrote crt0, init, and chainloading code
...
start.s, init.c, linker.ld and linker.specs are meant
to be re-used by user applications, should they remove the defines
from init.c and the .chainloader* sections from the linker script
2018-05-08 13:45:37 +02:00
TuxSH
699ddfc043
Simplify fsdev_set_default_device
2018-05-08 13:44:47 +02:00
TuxSH
5084f09081
Fix warning/error, etc. in fs_dev.c
2018-05-07 23:05:53 +02:00
TuxSH
25db9fcc4a
Fix fsdev_set_default_device bug
2018-05-07 14:25:01 +02:00
TuxSH
7695b5bdbd
[stage2] Fix the ordering of rules in linker script
2018-05-07 10:53:41 +02:00
Kate J. Temkin
8d071ca7c9
fusee: fix boot partition selection
2018-05-06 22:47:36 -06:00
Kate J. Temkin
f5ed029cdb
fusee: fix regression in card detection
2018-05-06 22:32:52 -06:00
Kate J. Temkin
5065a04451
fusee-secondary: don't create 3GiB output files :)
2018-05-06 21:49:42 -06:00
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
TuxSH
68eec056a9
Fix const-correctness issue in sdmmc.h
2018-05-06 15:22:35 +02:00
TuxSH
1aa6b92bc4
Normalize drivers between stage1 and 2
2018-05-06 15:02:13 +02:00