From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pz0-f195.google.com (mail-pz0-f195.google.com [209.85.222.195]) by ozlabs.org (Postfix) with ESMTP id C3BF2B7C09 for ; Thu, 21 Jan 2010 17:58:30 +1100 (EST) Received: by pzk33 with SMTP id 33so1621037pzk.2 for ; Wed, 20 Jan 2010 22:58:29 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <6A5F574C5A990242B0541891CF955C0D01D1EDBD@CNSHGSMBS05.ad4.ad.alcatel.com> References: <6A5F574C5A990242B0541891CF955C0D01D1EDBD@CNSHGSMBS05.ad4.ad.alcatel.com> Date: Thu, 21 Jan 2010 14:58:29 +0800 Message-ID: Subject: Re: How to trun off udbg0 during bootup? From: =?UTF-8?B?5pmv5paH5p6X?= To: SHAN Gavin Content-Type: multipart/alternative; boundary=000e0cd13806fa23b4047da73afc Cc: linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --000e0cd13806fa23b4047da73afc Content-Type: text/plain; charset=UTF-8 2010/1/21 SHAN Gavin > > > 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 --000e0cd13806fa23b4047da73afc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

2010/1/21 SHAN Gavin &= lt;Gavin.Shan@alcatel-luce= nt.com>


Hi,

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

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

"console [udbg0] enabled"=C2=A0=C2=A0=C2=A0 or=C2=A0=C2=A0 "= 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<= br> 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_initializ= ed". The driver did not register early debug console.
It`s worked.<= br>
Thank you!

Regards
jing wenlin
--000e0cd13806fa23b4047da73afc--