hexkyz
dc4dbe29ae
Move memory training code into it's own stage (fusee-mtc)
2019-07-26 20:38:15 +01:00
hexkyz
85bf7c86e0
fusee: cleanup and optimize boot sequence
2019-07-06 20:58:01 +01:00
hexkyz
a1512cf30f
Merge branch 'master' into emunand_dev
2019-04-13 18:23:23 +01:00
Michael Scire
ac07971211
stratosphere: custom exception handlers (reboot to fusee)
2019-04-12 15:28:46 -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
c878e96398
emunand: Fix bugs and add missing stuff
2019-04-06 20:01:11 +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
ea02f389ac
fusee-primary: reboot to self, instead of to RCM
2019-01-25 23:51:28 -08:00
Michael Scire
903789cf6e
fusee: fix error printing pre-SD card init ( closes #289 ).
2018-12-04 04:01:22 -08:00
Michael Scire
49ba3a86e2
fusee: move BCT.ini/secondary into atmosphere/
2018-12-04 03:55:01 -08: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
81355415d0
port log.c log.h for fusee-primary
...
refactor printing
remove lib/printk as it is replaced with log
remove lib/driver_utils.h
added log levels as they seem right, might need adjustments
2018-09-26 02:18:50 +02: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
320ec38be1
fusee: Complete re-write of the hardware initialization code:
...
- Updated code to match hekate's;
- Improved nxboot (now boots firmwares 2.x successfully);
- Temporarily disabled built-in boot system module support;
- Fixed multiple bugs.
2018-08-18 17:59:33 +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
ddbbb0b758
fusee: SDMMC driver re-design:
...
- Based on hekate's, linux's and u-boot's source code;
- Full support for SD and MMC;
- Fixes multiple issues;
- Deployed first in fusee-primary.
fusee: Code cleanup and style fixes.
2018-07-04 21:55:27 +01:00
TuxSH
b2139ed182
Pass screen status and mmc struct from stage1 to 2
2018-06-04 19:17:23 +02:00
TuxSH
ecb83903c0
Stage1: fix potential alignment issue
2018-05-21 14:18:03 +02:00
TuxSH
c1687905a3
Fix stack overflow when chainloading stage2
2018-05-21 03:42:05 +02:00
TuxSH
43d1816ac2
[stage1] Add exception handlers... which somehow don't work?
2018-05-21 02:24:41 +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
8df624a10d
Rename sd_utils to fs_utils, etc
2018-05-13 23:49:50 +02:00
TuxSH
70bb496388
Refactor stage1's and stage2's main.c files
2018-05-08 16:51:43 +02:00
TuxSH
461e886244
Make di.c accept arbitrary FB addresses, fix flickering issues
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
4265dc7b65
Don't pass the mmc struct around
2018-05-06 17:22:12 +02:00
TuxSH
67b76cc8f1
Instead of passing FatFS structs around, unmount; other changes
2018-05-05 17:33:49 +02: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
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
Michael Scire
953c02dfba
Update argument passing, add video resume
2018-04-08 13:51:44 -06:00
Michael Scire
82552b5a89
Implement much of the core Stage2 loader logic for Fusee
2018-04-08 05:51:57 -06:00
Michael Scire
353019a269
Add debugging prints, enable backlight for stage1
2018-04-07 23:04:30 -06:00
Michael Scire
33f76545df
Implement all core Stage 1 logic for Fusee
2018-04-07 22:51:24 -06:00
Michael Scire
18f1274587
Change fusee folder naming
2018-04-07 21:45:57 -06:00