Skip to contentSkip to conversation

Fix MIPSsim booting from NFS root

PATCH Applied Thiemo Seufer 2 participants 2 messages Oct 14, 2007 – Oct 15, 2007 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix MIPSsim booting from NFS root

MIPSsim probably doesn't have any sort of environment, but writing a zero in it kills even the compiled in command line. This prevents booting via NFS root.

arch/mips/mipssim/sim_cmdline.c +1 -4
index c63021a..74240e1 100644
@@ -28,8 +28,5 @@ char * __init prom_getcmdline(void)
 
 void  __init prom_init_cmdline(void)
 {
-	char *cp;
-	cp = arcs_cmdline;
-	/* Get boot line from environment? */
-	*cp = '\0';
+	/* XXX: Get boot line from environment? */
 }
Applied
#1 lore raw
Quoted 3 lines · Thiemo Seufer

MIPSsim probably doesn't have any sort of environment, but writing a zero in it kills even the compiled in command line. This prevents booting via NFS root.

Thanks, applied.

Ralf