Michael Scire
cb532e3fb3
Merge branch 'master' into emunand_dev
2019-05-27 11:43:37 -07:00
Michael Scire
ca2c171482
fusee: how did this ever work
2019-05-10 08:40:21 -07:00
hexkyz
a9afbd2458
Merge branch 'master' into emunand_dev
2019-04-28 16:53:39 +01:00
Michael Scire
81895c8019
fusee: update to support booting 8.0.0
2019-04-20 10:36:38 -07:00
hexkyz
5868e0769a
Merge branch 'master' into emunand_dev
2019-04-09 19:14:21 +01:00
Michael Scire
03e176d7f1
atmosphere: current year is 2019
2019-04-07 19:00:49 -07:00
hexkyz
92816be055
emunand: Move all emulation code to fusee-secondary and simplify logic
2019-04-07 19:02:01 +01:00
hexkyz
e5045556bf
emunand: Preliminary skeleton for emunand in fusee
2019-04-06 19:35:27 +01:00
Michael Scire
ddc5222208
sept-s: First functional version.
2019-02-20 13:12:15 -08:00
Michael Scire
dc2b8ebab9
fusee: remove unnecessary delay.
2019-01-26 00:59:27 -08:00
Michael Scire
901723621c
fusee: hide non-error logs behind splash screen ( closes #328 )
2019-01-26 00:50:38 -08:00
hexkyz
b19e50e720
fusee: Implement DRAM training:
...
- Based on reverse engineered code and Peter De Schrijver's patches;
- Complemented with CTCaer's minerva_tc project.
2018-11-12 01:55:16 +00:00
Michael Scire
49f627bb28
fusee: Load fs.mitm by default.
2018-10-16 14:19:55 -07:00
hexkyz
ca0e41e8a0
fusee: Improve integration with the new logging system
...
fusee: Implement log level configuration from BCT.ini
2018-09-28 21:12:59 +01:00
Resaec
d67a7c0a87
moving log.c and log.h to lib/
...
removing lib/driver_utils.h as it have no purpose anymore now
2018-09-26 02:13:20 +02:00
Resaec
8cc266174d
change all print* calls to use the new print with a log_level
2018-09-23 23:22:25 +02:00
Resaec
840242b68e
started on centralized printing/logging
...
some character problems with "atmosphère" and such strings
2018-09-22 05:14:43 +02:00
hexkyz
39d812f434
fusee: Move nxboot hand-off to IRAM.
...
fusee/exosphere: Minor cleanup.
2018-09-15 21:08:58 +01:00
hexkyz
28e4d4411d
Add and fix copyright notices for better GPL compliance (thanks @naehrwert and @CTCaer).
2018-09-07 16:00:13 +01:00
hexkyz
3db9ce32fa
Fusee: Deployed new SDMMC driver in fusee-secondary. All stages boot now.
...
Fusee: Fixed wrong argument in se.c function.
Fusee: Improved timers.
2018-07-19 21:07:53 +01:00
hexkyz
c5e9aec013
fusee: Temporarily disable anything that prevents the fusee-primary to fusee-secondary transition.
2018-07-04 22:04:41 +01:00
TuxSH
0491a21a99
Fix logic bug in stage2's main function
2018-06-05 16:18:02 +02:00
TuxSH
b2139ed182
Pass screen status and mmc struct from stage1 to 2
2018-06-04 19:17:23 +02:00
TuxSH
bf2c6dff25
Stage2: Add exception handlers
2018-05-21 03:50:53 +02:00
TuxSH
57ff5e694a
Don't check for panics in stage2
2018-05-20 22:00:11 +02:00
TuxSH
f45bc83bc4
Introduce fatal_error
2018-05-20 16:18:48 +02:00
TuxSH
ec7e0d923d
Add custom panic driver
2018-05-20 14:11:46 +02:00
TuxSH
15bba0ba0c
Make loadlist empty when booting Horizon, more nxboot.c code
2018-05-14 21:17:06 +02:00
TuxSH
17f4a17d17
[stage2] Add debug printf in main.c
2018-05-14 00:06:48 +02:00
TuxSH
8df624a10d
Rename sd_utils to fs_utils, etc
2018-05-13 23:49:50 +02:00
TuxSH
4f50d412f5
Redesign fs_dev, raw_dev, introducing device_partition and switch_fs.
...
In theory, one could mount an encrypted FAT partition itself coming from a disk image, etc.
2018-05-13 19:53:55 +02:00
TuxSH
75169790ff
stage1 -> stage2 again
2018-05-12 11:00:36 +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
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
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
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
4265dc7b65
Don't pass the mmc struct around
2018-05-06 17:22:12 +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
TuxSH
8648cac77b
[stage2] Remove printk, introduce UTF-8 console stdio
2018-05-05 23:56:18 +02:00
TuxSH
67b76cc8f1
Instead of passing FatFS structs around, unmount; other changes
2018-05-05 17:33:49 +02:00
TuxSH
0d344e45af
Initialize heap, increase stack size
2018-05-04 23:56:01 +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
d6806517c8
Fusee Stage 2: Make references to external (stage 1) memory internal.
2018-04-09 15:44:59 -06:00
Michael Scire
a05bf5b4ce
Fusee stage 2: Fix up loader (no stage 3!). Skeleton chainload behavior.
2018-04-09 15:34:23 -06:00
Michael Scire
92ef68e84a
Turns out we actually don't need a third stage for Fusee
2018-04-09 15:12:54 -06:00