[U-Boot-Users] How to disable serial console completely?

Sam Song samsongshu at yahoo.com.cn
Sat Oct 2 06:54:35 CEST 2004


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 <board.h>
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/




More information about the U-Boot mailing list