info: Add better SD error debugging on hekate main

Now the SD Card info function on hekate main will not rely on proper FAT partition, allowing for SDMMC init and FAT mounting to be separate for debugging issues with each one.

Additionally, add SDMMC error counters info.
This commit is contained in:
CTCaer committed 2020-08-15 13:23:11 +03:00
1 parent 7b03a24196
commit 9686eaf3f1
2 files changed
+34 -11

No files matched your search

+3 -2
View File
@@ -1084,8 +1084,6 @@ out:
PMC(APBDEV_PMC_SCRATCH0) &= ~PMC_SCRATCH0_MODE_CUSTOM_ALL;
nyx_load_run();
sd_end();
}
static void _patched_rcm_protection()
@@ -1535,6 +1533,9 @@ void ipl_main()
// Load saved configuration and auto boot if enabled.
_auto_launch_firmware();
// Failed to launch Nyx, unmount SD Card.
sd_end();
minerva_change_freq(FREQ_800);
while (true)