Depending on how the console is being used, the FIFOs might *never* drain. It isn't even necessary for a soft reboot, since the console isn't reset in that case.
@@ -19,12 +19,12 @@
#
# Quartus Prime
# Version 22.1std.2 Build 922 07/20/2023 SC Lite Edition
-# Date created = 16:28:19 September 17, 2023
+# Date created = 12:25:52 September 19, 2023
# -------------------------------------------------------------------------- #
QUARTUS_VERSION = "22.1"
-DATE = "16:28:19 September 17, 2023"
+DATE = "12:25:52 September 19, 2023"
# Revisions
@@ -1,4 +1,4 @@
#ifndef CHECKSUM_H
#define CHECKSUM_H
-#define SDRAM_SUM 0x9c04cf95
+#define SDRAM_SUM 0x17cbe205
#endif
@@ -12,6 +12,5 @@ no_return shutdown(unsigned int type)
disk_ioctl(0, CTRL_SYNC, NULL);
con_puts("Rebooting...\n");
- con_flush_unconditional();
- reset(SYS_RESET_SOFT);
+ reset(type);
}