[U-Boot] [PATCH] logbuff: Change default console loglevel to 8

Detlev Zundel dzu at denx.de
Fri May 7 11:15:51 CEST 2010


Hi Peter,

> Previously, a default of 3 was assigned to the console loglevel while
> standard messages had a level of 4.  This resulted in U-Boot's console
> disappearing if a user enabled CONFIG_LOGBUFFER but didn't manually set
> the 'loglevel' environment variable to a value greater than 4.
>
> Setting the default console loglevel to 8 causes all messages to be
> printed to the console, which is standard U-Boot operation.  Users can
> then reduce the console loglevel if they want using the 'loglevel'
> environment variable.

I don't really like that patch as I think it will alter how U-Boot
"looks" (i.e. what it outputs) on e.g. the lwmon5 board where the
logbuffer is used primarily for logging POST results.

Can you please explain to me again, why the messages are not output any
more once CONFIG_LOGBUFFER is enabled?  If 'stdout' is serial (and I
don't see why this should not be the case) then is there already a
problem?

Cheers
  Detlev

-- 
X-Windows has to be the most expensive way ever of popping up an Emacs
window.
                                          -- The UNIX Haters Handbook
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the U-Boot mailing list