[U-Boot] Antw: Re: U-Boot doesn't silent the output

Wolfgang Denk wd at denx.de
Tue Mar 18 10:03:40 CET 2014


Dear Frank,

In message <532816E0020000460004BEFA at gwia2.rz.hs-offenburg.de> you wrote:
>
> Anyway I wonder why the "setenv verify n" worked with the
> BOOTCOMMAND but the "silent" didn't. Should I shift all the commands
> from CONFIG_BOOTCOMMAND to CONFIG_EXTRA_ENV_SETTINGS to be sure all
> the commands are really executed?

I think you should try to get a deeper understanding of what is what.
first, it is important to remember that there are two different sets
of environment variables.  With all the CONFIG_ settings you define
only the _default_ environment, which gets used as a default (hence
the name) only when the normale environment does not exist or is not
valid (like corrupted checksum).  So as long as you have a valid
environment stored somewhere on your system, installing a new U-Boot
with different settings of the default environment will have zero
effect.

Second, CONFIG_BOOTCOMMAND defines exactly one environment variable,
"bootcmd".  As documented, the values of this variable is apssed to
the Linux kernel as boot argument - and this is the only function of
this variable.  You can add random things to it, even U-Boot commands,
but this will never have any effect on the operation of U-Boot - it
might only consfuse the Linux kernel.


> I really don't know the reason why Linux keeps talking during boot
> when using "console=", whereas "quiet" and changing the loglevel is
> working. I already asked in some forums about this, but it was as

What exactly did you pass in the kernel command line - just
"console=", i. e. without a value?  Did you try passing a valid device
name instead, like "console=null"?

Also, are you sure early debug output is disabled in your kernel
configuration?  Otherwise this will get printed even before the Linux
kernel's console driver has been started.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
As of 1992, they're called European Economic Community fries.


More information about the U-Boot mailing list