shithub: riscv

Download patch

ref: 9651e5cbd6d9f6064b3ad63246b09194e32139e3
parent: 9f6096b4319bbeb81b74ffd83ffa6edc22b7890e
author: cinap_lenrek <[email protected]>
date: Fri Feb 10 17:49:19 EST 2023

reform: put default "console=0" in #ec

The default configuration for "console=0" should go into CONFADDR
when using /dev/reboot.

--- a/sys/src/9/imx8/main.c
+++ b/sys/src/9/imx8/main.c
@@ -89,7 +89,7 @@
 
 	if(nconf < 0){
 		/* use defaults when there was no configuration */
-		ksetenv("console", "0", 0);
+		ksetenv("console", "0", 1);
 		return;
 	}