2010/1/21 SHAN Gavin <Gavin.Shan@alcatel-lucent.com>


Hi,

 I `m working on a freescale-MPC8379eRDB like board.And I want to trun off
kernel message during bootup.

 I tried to  modify "console = XXX" argument in uboot but it did not work(It
works on ARM). Kernel always print:

"console [udbg0] enabled"    or   "console handover: boot [*udbg0*] -> real
[ttyS1]"

Does anybody know how can I turn off this udbg0?

You may check arch/powerpc/kernel/udbg.c and disable registering the early
debug console driver. Then you can not see the output before the message
line like "-> real [ttyS1]"

Good luck,
Gavin

I assigned 1 to "static int early_console_initialized". The driver did not register early debug console.
It`s worked.

Thank you!

Regards
jing wenlin