Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] Fix MIPSsim booting from NFS root
@ 2007-10-14 16:11 Thiemo Seufer
  2007-10-15 11:08 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Thiemo Seufer @ 2007-10-14 16:11 UTC (permalink / raw)
  To: linux-mips, ralf

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.

Signed-Off-By: Thiemo Seufer <ths@networkno.de>

diff --git a/arch/mips/mipssim/sim_cmdline.c b/arch/mips/mipssim/sim_cmdline.c
index c63021a..74240e1 100644
--- a/arch/mips/mipssim/sim_cmdline.c
+++ b/arch/mips/mipssim/sim_cmdline.c
@@ -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? */
 }

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix MIPSsim booting from NFS root
  2007-10-14 16:11 [PATCH] Fix MIPSsim booting from NFS root Thiemo Seufer
@ 2007-10-15 11:08 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2007-10-15 11:08 UTC (permalink / raw)
  To: Thiemo Seufer; +Cc: linux-mips

On Sun, Oct 14, 2007 at 05:11:06PM +0100, Thiemo Seufer wrote:

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-15 11:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-14 16:11 [PATCH] Fix MIPSsim booting from NFS root Thiemo Seufer
2007-10-15 11:08 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox