Commit graph

296 commits

Author SHA1 Message Date
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
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 762383f0d2
fix stray [DEBUG] at the end of sdmmc log 2018-09-26 00:25:01 +02:00
Resaec d2355cdc9b
add the ability to print without adding a prefix for multi part/line prints 2018-09-25 23:43:52 +02:00
Resaec 1eb3d7969e
changes to fit the codestyle
improved a comment
removed unused code and imports
2018-09-24 00:02:58 +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 7548c8ecfa
rather call the files log.c and log.h
changed LOG_LEVEL order
export only externaly used functions
add todos
2018-09-23 23:18:41 +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 f622eac36e fusee: Finish implementing support for 6.0.0 2018-09-20 20:02:10 +01:00
hexkyz 99d36c423e
fusee: Add missing const qualifiers (thanks @aveao) 2018-09-18 16:39:18 +00:00
hexkyz f864b0835d fusee: Add support for firmware version 6.0.0.
fusee: Implement splash screen rendering.
fusee: Add minor notes and update lz library.
2018-09-17 21:03:03 +01:00
hexkyz 39d812f434 fusee: Move nxboot hand-off to IRAM.
fusee/exosphere: Minor cleanup.
2018-09-15 21:08:58 +01:00
Michael Scire d61ec20679 fusee: add fs.mitm kernel patches for 6.0.0 2018-09-10 15:54:14 -07: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 2f8edfa8e2 fusee: Minor bugfixes. 2018-09-05 20:51:03 +01:00
hexkyz ad4605abde
fusee: Fix a bug in cluster boot code. 2018-09-04 19:16:03 +01:00
hexkyz 5542352239
fusee: Fix CAR registers' definition. 2018-09-04 19:14:29 +01:00
hexkyz e02bfe036c
fusee: Fix CAR registers' definition. 2018-09-04 19:13:36 +01:00
hexkyz 8007480a15
fusee: Re-enable built-in PM system module. 2018-09-03 18:48:01 +01:00
hexkyz abf57d2e43
fusee: Unmount *after* reading the splash screen. 2018-08-31 22:52:31 +00:00
hexkyz 58a42be38f
fusee: Comment out splash screen delay. 2018-08-31 22:46:08 +00:00
hexkyz 70c4e64d20
fusee: SYSCTR0 was still wrong... 2018-08-31 22:36:26 +00:00
hexkyz 97d1ca3cc9
fusee: Disable built-in PM system module. 2018-08-31 20:10:06 +00:00
hexkyz 3cf37330ca fusee: Disable AHB redirection when necessary.
fusee: Add 3.0.0/3.0.1/3.0.2 warmboot fix.
2018-08-30 19:49:33 +01:00
hexkyz 611e85e6ee fusee: Implement BootConfig and Boot Reason handling. 2018-08-29 18:28:21 +01:00
Lioncash a400b10921 fusee-primary: Fix always false conditional in xmemmove
This was corrected in 4b8455baf9 for
fusee-secondary, but I neglected to also fix it in fusee-primary (my
bad!)
2018-08-24 22:30:36 -04:00
hexkyz 43bde3fcc9
fusee: Fix register definition. 2018-08-24 17:03:53 +01:00
hexkyz 8edec43be2 fusee: Add automatic firmware version detection. 2018-08-23 19:57:01 +01:00
hexkyz e5bfb95c22 fusee: Add warmboot support. 2018-08-19 17:09:30 +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 6eac78595e
fusee-secondary: Remove restriction for loading from eMMC 2018-08-01 21:15:16 +01:00
Lioncash 4b8455baf9 fusee-secondary: Correct else-if condition in xmemmove()
Previously both the if and else conditions were the same.
2018-07-29 20:53:01 -07:00
Lioncash bbdf2868c9 fusee-secondary/fs_dev: Correct uninitialized cast within fsdev_seek()
Previously this was casting the same unassigned variable that was being
assigned to.
2018-07-29 20:15:44 -07:00
Luke Street a3d53fbb2c Define wait() in fusee-primary/secondary 2018-07-29 10:53:06 -07:00
hexkyz 054c65dffb
Revert unnecessary change (thanks @rajkosto) 2018-07-26 19:26:43 +01:00
hexkyz 7836609839 Fix multiple issues reported by Coverity Scan 2018-07-26 18:45:18 +01:00
hexkyz fd88bd1d2c
fusee: Disable the SDCLK when switching to low voltage. 2018-07-24 19:06:41 +01:00
hexkyz a2104b85ce
fusee: Disable the SDCLK when switching to low voltage. 2018-07-24 19:05:27 +01:00
hexkyz e58927a8ab fusee: Fix SDMMC high speed support and other bugs. 2018-07-23 20:14:53 +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 22ae5b861c
fusee: Correct wrong comment (thanks @desowin) 2018-07-05 16:05:38 +01:00
hexkyz 3394f0cf0d
Merge pull request #161 from TheDgtl/fix_4xx_kernel
Fix issue with fusee-secondary 4.x kernel patches
2018-07-04 22:06:11 +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
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
Drakia 6ab81e1780 Fix issue with fusee-secondary 4.x kernel patches 2018-07-01 17:50:02 -07:00
Benoit7413 0f6d4baa8e
Replace NAND by eMMC
Using NAND doens't really make sense
2018-06-26 08:49:50 +02:00
Michael Scire 9687218fbc Fusee: lfs kernel patches for 3.0.0/3.0.2 2018-06-24 16:24:22 -06:00
Michael Scire 1252c4d5e1 Fusee: Complete hashes (Thanks @Thog), lfs patches for 2.0.0 2018-06-24 15:51:29 -06:00
Michael Scire 040cfa90d3 Fusee: Add kernel patches for 1.0.0. 2018-06-24 15:20:16 -06:00
Drakia a446aca2c4 Fix a few issues in the secondary kernel_patches.c file 2018-06-17 19:28:19 -07:00