public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Roger Larsson <roger.larsson@norran.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] My first embedded project
Date: Fri, 11 Feb 2005 14:57:39 +0100	[thread overview]
Message-ID: <200502111457.39393.roger.larsson@norran.net> (raw)
In-Reply-To: <20050210231141.9EEBAC108D@atlas.denx.de>

On Friday 11 February 2005 00.11, Wolfgang Denk wrote:
> In message <OF148F35BA.97D68C7A-ON07256FA4.007D54A4@mck.us.ray.com> you 
wrote:
> > 1. Is there a way to use U-boot without an EEPROM. Can we use U-b oot
> > with
>
> U-Boot does not need any EEPROM at all.
>
> Ummm... maybe you meant flash memory when you wrote EEPROM?
>
> Even then, U-Boot does not need any flash at all,  either.  [Although
> it makes some things much easier.]
>
> > its environmental variables on the Compactflash card?
>
> Short answer: no, this is not possible.
>
> In the current code there is no support for storing  the  environment
> in  CF;  adding this feature is non trivial and not possible withouit
> major reorganization of the U-Boot code.
>
> Remember that the environment must be  accessable  very  early,  even
> before  the  system  RAM  has  been  initialized,  i.  e.  in  a very
> restricted environment with just a minimal stack,  no  writable  data
> segment,  etc.  Compact  Flash  (or  more  generally: IDE) support is
> enabled much, much later in the boot sequence.

Shouldn't it be possible to do this in two stages.
1) Have environment variables in flash/EEPROM so you can mount the CF disk
2) Run an autoscript(?) from that disk to change the variables (do not save)
3) Boot

/RogerL

  reply	other threads:[~2005-02-11 13:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-10 22:51 [U-Boot-Users] My first embedded project Benjamin D Boicourt
2005-02-10 23:11 ` Wolfgang Denk
2005-02-11 13:57   ` Roger Larsson [this message]
2005-02-11 17:21     ` Wolfgang Denk
2005-02-12  8:14     ` Grant Likely
2005-02-12 20:15       ` Wolfgang Denk
2005-02-12 20:24         ` Grant Likely

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=200502111457.39393.roger.larsson@norran.net \
    --to=roger.larsson@norran.net \
    --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