Thread (4 messages) 4 messages, 3 authors, 2010-01-21

Re: How to trun off udbg0 during bootup?

From: 景文林 <hidden>
Date: 2010-01-21 06:58:30

2010/1/21 SHAN Gavin [off-list ref]

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help