public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Shamile Khan <shamile@edgewater.ca>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] environment not being used
Date: 29 Jan 2004 19:48:37 -0500	[thread overview]
Message-ID: <1075423717.18221.233.camel@localhost.localdomain> (raw)

Hi,

I am using U-boot on our FPGA based board. Currently, its not possible
to execute instructions directly from flash on our board since our flash
device is configured as an 8-bit device and it is connected to a 32-bit
processor bus. 

To get around this, we have a small program which is stored in FPGA
bitstream and runs in FPGA on-chip memory (called BRAM). This program
copies u-boot binary image from flash to sdram and jumps to it. This
allows U-boot to run. However the problem is that the environment
variables saved in flash are not being used even though U-boot has been
configured with the CFG_ENV_IS_IN_FLASH option turned on. 
CFG_FLASH_BASE has been set to the flash base address of u-boot and when
I use saveenv the environment is saved at the proper offset
CFG_ENV_OFFSET. The only thing thats a bit different for my U-boot
configuration is that CFG_MONITOR_BASE is set to the sdram base address
where U-boot starts executing from instead of being set to
CFG_FLASH_BASE.

Any ideas why the environment variables in flash do not get used?

Thanks,
Shamile 

             reply	other threads:[~2004-01-30  0:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-30  0:48 Shamile Khan [this message]
2004-01-31 17:12 ` [U-Boot-Users] environment not being used Wolfgang Denk
2004-02-04  0:47   ` Shamile Khan
2004-02-04 20:30     ` Wolfgang Denk
2004-02-04 23:15       ` Shamile Khan
2004-02-04 23:34         ` Wolfgang Denk

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=1075423717.18221.233.camel@localhost.localdomain \
    --to=shamile@edgewater.ca \
    --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