public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* How to trun off udbg0 during bootup?
@ 2010-01-21  1:02 景文林
  2010-01-21  3:56 ` SHAN Gavin
  2010-01-21 15:34 ` Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: 景文林 @ 2010-01-21  1:02 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 384 bytes --]

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?


Regards,

jing wenlin

[-- Attachment #2: Type: text/html, Size: 504 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: How to trun off udbg0 during bootup?
  2010-01-21  1:02 How to trun off udbg0 during bootup? 景文林
@ 2010-01-21  3:56 ` SHAN Gavin
  2010-01-21  6:58   ` 景文林
  2010-01-21 15:34 ` Peter Korsgaard
  1 sibling, 1 reply; 4+ messages in thread
From: SHAN Gavin @ 2010-01-21  3:56 UTC (permalink / raw)
  To: ???, linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]


 
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


[-- Attachment #2: Type: text/html, Size: 1137 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to trun off udbg0 during bootup?
  2010-01-21  3:56 ` SHAN Gavin
@ 2010-01-21  6:58   ` 景文林
  0 siblings, 0 replies; 4+ messages in thread
From: 景文林 @ 2010-01-21  6:58 UTC (permalink / raw)
  To: SHAN Gavin; +Cc: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 804 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1337 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to trun off udbg0 during bootup?
  2010-01-21  1:02 How to trun off udbg0 during bootup? 景文林
  2010-01-21  3:56 ` SHAN Gavin
@ 2010-01-21 15:34 ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2010-01-21 15:34 UTC (permalink / raw)
  To: 景文林; +Cc: linuxppc-dev

>>>>> "=E6=99=AF=E6=96=87=E6=9E=97" =3D=3D =E6=99=AF=E6=96=87=E6=9E=97  <we=
nlinjing@gmail•com> writes:

 =E6=99=AF=E6=96=87=E6=9E=97> Hi,

 =E6=99=AF=E6=96=87=E6=9E=97> =C2=A0I `m working on a freescale-MPC8379eRDB=
 like board.And I want
 =E6=99=AF=E6=96=87=E6=9E=97> to trun off kernel message during bootup.

 =E6=99=AF=E6=96=87=E6=9E=97> =C2=A0I tried to=C2=A0 modify "console =3D XX=
X" argument in uboot but it
 =E6=99=AF=E6=96=87=E6=9E=97> did not work(It works on ARM). Kernel always =
print:

 =E6=99=AF=E6=96=87=E6=9E=97> "console [udbg0] enabled" =C2=A0=C2=A0 or=C2=
=A0=C2=A0 "console handover: boot
 =E6=99=AF=E6=96=87=E6=9E=97> [udbg0] -> real [ttyS1]"=C2=A0

 =E6=99=AF=E6=96=87=E6=9E=97> Does anybody know how can I turn off this udb=
g0?

It's currently not configurable. I sent a (not applied) patch to make it
configurable back in Dec 2008:

http://lists.ozlabs.org/pipermail/linuxppc-dev/2008-December/066461.html

You can probably still get it to apply with a bit of fuzz.

--=20
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-21 15:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-21  1:02 How to trun off udbg0 during bootup? 景文林
2010-01-21  3:56 ` SHAN Gavin
2010-01-21  6:58   ` 景文林
2010-01-21 15:34 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox