[Suzaku-en:00037] Re: Disable default serial port console output

Yasushi SHOJI email@hidden
Tue May 10 16:26:43 JST 2005


At Sun, 24 Apr 2005 19:16:49 +0200,
Felix Nielsen wrote:
> 
> Ups list don't like attached pictures so here is the bootlog

ok, thanks.

here is a patch to fix the problem.  I'm sorry that it took so long.
if this works for you, I'll create a new archive with ftpd fix as
-suzaku7.

btw, output will be like this:

   hermit> b console=null
   Copying kernel...done.
   Doing console=null

   SUZAKU login: 

regards,
--
          yashi

 linux-2.4.x/arch/microblaze/kernel/suzaku.c |    2 +-
 linux-2.4.x/drivers/char/tty_io.c           |    4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

Index: uClinux-dist-20040408-suzaku6/linux-2.4.x/drivers/char/tty_io.c
===================================================================
--- uClinux-dist-20040408-suzaku6.orig/linux-2.4.x/drivers/char/tty_io.c	2005-03-19 10:57:57.000000000 +0900
+++ uClinux-dist-20040408-suzaku6/linux-2.4.x/drivers/char/tty_io.c	2005-05-10 15:01:59.000000000 +0900
@@ -179,6 +179,7 @@ extern void bf535_console_init(void);
 extern void bf533_console_init(void);
 extern void uartlite_serial_init(void);
 extern int hvc_console_init(void);
+extern void xmbrs_console_init(void);
 
 #ifndef MIN
 #define MIN(a,b)	((a) < (b) ? (a) : (b))
@@ -2389,6 +2390,9 @@ void __init console_init(void)
 #ifdef CONFIG_XILINX_UARTLITE_CONSOLE
 	uartlite_serial_console_init();
 #endif
+#ifdef CONFIG_MICROBLAZE
+        xmbrs_console_init();
+#endif
 
 }
 
Index: uClinux-dist-20040408-suzaku6/linux-2.4.x/arch/microblaze/kernel/suzaku.c
===================================================================
--- uClinux-dist-20040408-suzaku6.orig/linux-2.4.x/arch/microblaze/kernel/suzaku.c	2005-03-19 10:57:56.000000000 +0900
+++ uClinux-dist-20040408-suzaku6/linux-2.4.x/arch/microblaze/kernel/suzaku.c	2005-05-10 14:59:42.000000000 +0900
@@ -148,7 +148,7 @@ void __init mach_setup (char **cmdline)
 
 	/* memcons_setup (); */
 	/* This is defined as an initcall, but doesn't seem to work...*/
-	xmbrs_console_init(); 
+/* 	xmbrs_console_init();  */
 	
 	/* 
 	 * Enable master control on interrupt controller.  Note



More information about the suzaku-en mailing list