In message <[EMAIL PROTECTED]> you wrote:
>
> When we manufacture a new board, we will load the flash via jtag. All I
> had planned to put in at that stage was the u-boot image itself.  I did
> not plan to put in an initial environment, because the environment can
> easily be constructed by u-boot.  The problem is that by the time the
> initial environment is constructed, some messages that I want to
> suppress will already have been printed, because "silent" is not defined
> yet.  The purpose of the patch is to suppress messages in this case.

Why isn't "silent" defined as needed  in  your  defualkt  environment
that gets used when there is no valid environment?

> How do other people construct the initial environment, so that it can be
> loaded via jtag along with the u-boot executable?

The easiest way is  set  up  everything  as  needed,  or  example  by
including  the  environment  sector(s)  with  the U-Boot image (i. e.
chosing a configuration which uses ENV_IS_EMBEDDED).

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: [EMAIL PROTECTED]
Vulcans never bluff.
        -- Spock, "The Doomsday Machine", stardate 4202.1

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to