All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Williams <gfi8d1h02@sneakemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: boot commands
Date: Wed, 31 Mar 2004 12:36:26 -0800	[thread overview]
Message-ID: <31968-89888@sneakemail.com> (raw)
In-Reply-To: <406B2558.2070000@icarus.com>

Stephen Williams wrote:
> 
> I am setting up my device to autoboot, and I want to compile
> in a default boot command (a la CONFIG_BOOTCOMMAND) and only
> use the bootcmd variable if it is defined. I want to use the
> other environment for other things, though.
> 
> It appears to me, though, that in main.c autoboot will be
> prevented if getenv("bootcmd") returns 0, no matter what
> the CONFIG_BOOTCOMMAND value is set.
> 
> Am I mis-reading this? Is this an error in need of fixing?
> 

Arg! It seems like *all* the autoboot related variables, including
BOOTARGS and AUTOBOOT_PROMPT are ignored if there is *any*
environment. This makes no sense to me. Surely people want to
set per-board stuff in environment and keep common autoboot
settings compiled in. My BOOTCOMMAND and BOOTARGS together are
too large to fit into my 256byte EEPROM.

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at XXXXXXXXXX           But I have promises to keep,
http://www.XXXXXXXXXX         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

       reply	other threads:[~2004-03-31 20:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <406B2558.2070000@icarus.com>
2004-03-31 20:36 ` Stephen Williams [this message]
2004-03-31 20:57   ` [U-Boot-Users] Re: boot commands Wolfgang Denk
2004-03-31 21:15     ` Stephen Williams

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=31968-89888@sneakemail.com \
    --to=gfi8d1h02@sneakemail.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 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.