All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] silent console with nand
@ 2012-05-09 19:25 Bishop, Mark
  2012-05-20 19:09 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Bishop, Mark @ 2012-05-09 19:25 UTC (permalink / raw)
  To: u-boot

Is it possible to have a silent console with the 'silent' environment
variable if the environment is stored in NAND?

Essentially both:
#define CONFIG_SILENT_CONSOLE
#define CONFIG_ENV_IS_IN_NAND

are defined, but I am not seeing a dark console with silent=1.

I've seen the messages concerning the environment stored in SPI Flash
and was probably thinking that it applies to NAND as well.  I'm just
looking for confirmation or another #define to get it to work.  I
realize that another option is to compile it into my default environment
but I want to take advantage of the 'silent' switch.

Thanks.

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

* [U-Boot] silent console with nand
  2012-05-09 19:25 [U-Boot] silent console with nand Bishop, Mark
@ 2012-05-20 19:09 ` Wolfgang Denk
  2012-05-21 16:36   ` Scott Wood
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2012-05-20 19:09 UTC (permalink / raw)
  To: u-boot

Dear "Bishop, Mark",

In message <5D308BD40154E4439D82454FE483A50206A4F026@EVS4.nam.ci.root> you wrote:
> Is it possible to have a silent console with the 'silent' environment
> variable if the environment is stored in NAND?

The storage location of the environment should have nothing to do with
the functionality.

> Essentially both:
> #define CONFIG_SILENT_CONSOLE
> #define CONFIG_ENV_IS_IN_NAND
> 
> are defined, but I am not seeing a dark console with silent=1.

There may be problems with your current implementation, like the
environment not being available soon enough.  You can test this by
changing the console bausrate using setenv / saveenv.  Cn you still
see all boot messages?

> I've seen the messages concerning the environment stored in SPI Flash
> and was probably thinking that it applies to NAND as well.  I'm just

Again - the storage location has nothign to do with functionality;
but there are some broken configurations out there that should be fixed.

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
A modem is a baudy house.

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

* [U-Boot] silent console with nand
  2012-05-20 19:09 ` Wolfgang Denk
@ 2012-05-21 16:36   ` Scott Wood
  2012-05-21 19:10     ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Scott Wood @ 2012-05-21 16:36 UTC (permalink / raw)
  To: u-boot

On 05/20/2012 02:09 PM, Wolfgang Denk wrote:
> Dear "Bishop, Mark",
> 
> In message <5D308BD40154E4439D82454FE483A50206A4F026@EVS4.nam.ci.root> you wrote:
>> Is it possible to have a silent console with the 'silent' environment
>> variable if the environment is stored in NAND?
> 
> The storage location of the environment should have nothing to do with
> the functionality.
> 
>> Essentially both:
>> #define CONFIG_SILENT_CONSOLE
>> #define CONFIG_ENV_IS_IN_NAND
>>
>> are defined, but I am not seeing a dark console with silent=1.
> 
> There may be problems with your current implementation, like the
> environment not being available soon enough.  You can test this by
> changing the console bausrate using setenv / saveenv.  Cn you still
> see all boot messages?

The environment is often not available early enough when booting from
NAND.  CONFIG_NAND_ENV_DST was meant to address this, but I only see one
board using it so far.  CONFIG_NAND_ENV_DST also may need some fixing
regarding where saveenv writes the environment, if there's a bad block
in the preceding U-Boot image.

-Scott

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

* [U-Boot] silent console with nand
  2012-05-21 16:36   ` Scott Wood
@ 2012-05-21 19:10     ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2012-05-21 19:10 UTC (permalink / raw)
  To: u-boot

Dear Scott Wood,

In message <4FBA6F26.2060903@freescale.com> you wrote:
>
> > There may be problems with your current implementation, like the
> > environment not being available soon enough.  You can test this by
> > changing the console bausrate using setenv / saveenv.  Cn you still
> > see all boot messages?
> 
> The environment is often not available early enough when booting from
> NAND.  CONFIG_NAND_ENV_DST was meant to address this, but I only see one
> board using it so far.  CONFIG_NAND_ENV_DST also may need some fixing
> regarding where saveenv writes the environment, if there's a bad block
> in the preceding U-Boot image.

I would think that more boards are using this technology; they
probably pre-date the instroduction of CONFIG_NAND_ENV_DST and
do not use CONFIG_NAND_ENV_DST but rather code this manually.

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
This is an unauthorized cybernetic announcement.

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

end of thread, other threads:[~2012-05-21 19:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-09 19:25 [U-Boot] silent console with nand Bishop, Mark
2012-05-20 19:09 ` Wolfgang Denk
2012-05-21 16:36   ` Scott Wood
2012-05-21 19:10     ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.