public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: NB <quickx@hotmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-Boot 1.3.4 CONFIG_SILENT_CONSOLE Does Not Work?
Date: Sat, 2 Oct 2010 04:51:12 +0000 (UTC)	[thread overview]
Message-ID: <loom.20101002T064950-346@post.gmane.org> (raw)
In-Reply-To: 201009302017.43567.vapier@gentoo.org

Mike Frysinger <vapier <at> gentoo.org> writes:

> ive seen issues depending on the env location.  if the env cannot be loaded 
> early, the *default env* is consulted for its silent settings, and then
> "work" once the saved env is relocated.
> 
> might also want to check CONSOLE_IS_IN_ENV is enabled.

Yeah I think you are right.  CONSOLE_IS_IN_ENV is enabled for me, but 
at91sam9261ek also has CONFIG_SKIP_LOWLEVEL_INIT and
CONFIG_SKIP_RELOCATE_UBOOT, so that RELOCATE issue is probably what is
hindering me.

I looked at the console_init function (part where it is doing
if(getenv("silent") != NULL)... and that is always returning null,
even if it is set dynamically and rebooted.

What I did was change the check so it looks at a jumper instead of the 
getenv("silent") since this is what I wanted it to do anyway and it seems to
all work now :).

I do notice that U-Boot is silencing everything except the "uncompressing 
kernel.............................." but I see the file related to that and 
should be able to fix it.

Thanks for your help.

      reply	other threads:[~2010-10-02  4:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 20:05 [U-Boot] U-Boot 1.3.4 CONFIG_SILENT_CONSOLE Does Not Work? NB
2010-09-30 21:06 ` Wolfgang Denk
2010-09-30 22:20   ` NB
2010-10-01  0:17 ` Mike Frysinger
2010-10-02  4:51   ` NB [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20101002T064950-346@post.gmane.org \
    --to=quickx@hotmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox