Browse Source

rv32/shutdown: don't want for console to drain

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.
H. Peter Anvin 1 year ago
parent
commit
d4e593cfe8

BIN
esp32/output/max80.ino.bin


+ 2 - 2
fpga/max80.qpf

@@ -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
 

BIN
fpga/output/bypass.jic


BIN
fpga/output/max80.fw


BIN
fpga/output/v1.fw


BIN
fpga/output/v1.jic


BIN
fpga/output/v1.sof


BIN
fpga/output/v2.fw


BIN
fpga/output/v2.jic


BIN
fpga/output/v2.sof


+ 1 - 1
rv32/checksum.h

@@ -1,4 +1,4 @@
 #ifndef CHECKSUM_H
 #define CHECKSUM_H
-#define SDRAM_SUM 0x9c04cf95
+#define SDRAM_SUM 0x17cbe205
 #endif

+ 1 - 2
rv32/shutdown.c

@@ -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);
 }