From: Sam Song Date: Sat, 2 Oct 2004 12:54:35 +0800 (CST) Subject: [U-Boot-Users] How to disable serial console completely? In-Reply-To: Message-ID: <20041002045435.16666.qmail@web15601.mail.cnb.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, I'd like to mask serial console totally for system deployment. When I set the console output by '#define CONFIG_8xx_CONS_NONE 1' and made a LCD image, I got the following compiling errors. What should I do next to disable serial console completely? Yeah, README mentions it a little but not enough, I am afraid. I think there should be a switch in to disable the serial console simply. Any idea? -Map u-boot.map -o u-boot cpu/mpc8xx/libmpc8xx.a(lcd.o): In function `lcd_putc': /home/BK/lite_dw_u-boot/cpu/mpc8xx/lcd.c:535: undefined reference to `serial_putc' cpu/mpc8xx/libmpc8xx.a(lcd.o): In function `lcd_puts': /home/BK/lite_dw_u-boot/cpu/mpc8xx/lcd.c:574: undefined reference to `serial_puts' lib_ppc/libppc.a(board.o): In function `mem_malloc_init': /home/BK/lite_dw_u-boot/lib_ppc/board.c:130: undefined reference to `serial_init' common/libcommon.a(cmd_load.o): In function `do_load_serial_bin': /home/BK/lite_dw_u-boot/common/cmd_load.c:470: undefined reference to `serial_setbrg' /home/BK/lite_dw_u-boot/common/cmd_load.c:498: undefined reference to `serial_setbrg' common/libcommon.a(cmd_nvedit.o): In function `_do_setenv': /home/BK/lite_dw_u-boot/common/cmd_nvedit.c:244: undefined reference to `serial_setbrg' common/libcommon.a(console.o): In function `serial_printf': /home/BK/lite_dw_u-boot/common/console.c:113: undefined reference to `serial_puts' common/libcommon.a(console.o): In function `getc': /home/BK/lite_dw_u-boot/common/console.c:174: undefined reference to `serial_getc' common/libcommon.a(console.o): In function `tstc': /home/BK/lite_dw_u-boot/common/console.c:187: undefined reference to `serial_tstc' common/libcommon.a(console.o): In function `putc': /home/BK/lite_dw_u-boot/common/console.c:204: undefined reference to `serial_putc' common/libcommon.a(console.o): In function `puts': /home/BK/lite_dw_u-boot/common/console.c:222: undefined reference to `serial_puts' common/libcommon.a(devices.o): In function `nulldev_putc': /home/BK/lite_dw_u-boot/common/devices.c:49: undefined reference to `serial_putc' /home/BK/lite_dw_u-boot/common/devices.c:49: undefined reference to `serial_puts' common/libcommon.a(devices.o): In function `nulldev_puts': /home/BK/lite_dw_u-boot/common/devices.c:52: undefined reference to `serial_getc' /home/BK/lite_dw_u-boot/common/devices.c:54: undefined reference to `serial_tstc' make: *** [u-boot] Error 1 [root at sgj lite_dw_u-boot]# Thanks in advance! ===== Best regards, Sam _________________________________________________________ Do You Yahoo!? 150??MP3???????????? http://music.yisou.com/ ??????????????????? http://image.yisou.com 1G??1000??????????? http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/