From: Dave Peverley <dpeverley@mpc-data.co.uk>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Flashes that live in more than one place...!
Date: Fri, 6 Feb 2004 18:47:52 -0000 [thread overview]
Message-ID: <0e2d01c3ece1$baee9320$885c96c0@RIPSNORTERVM> (raw)
Hi all,
This is my first post so hello for the first time :-)
I'm porting (well, 90% done now) u-boot to a new board based on an OMAP
processor. This board happens to have a DIP switch to select whether
you boot from flash (strata) or ram. It does this by juggling CS0 and
CS3 for the flash. This means that at run time, if you're running from
ram you access the flash at 0x0C000000 or if running from flash, you
access it at 0x00000000. I can detect which state we're in no problem,
but I can't see a clean way to integrate this into the u-boot sources.
The implication, is that at run time, I need to set new values for :
PHYS_FLASH_1
CFG_FLASH_BASE
CFG_ENV_ADDR
This is _not_ a nice thing to do without creating a lot of changes in the
code :-/ I've dug about in the existing code (I'm working with the 1.0.0
codebase) to see if anyone else has done similar, but I haven't spotted any
suitable workarounds. Can anyone suggest a neat way to achieve this?
Best Wishes,
Dave Peverley
---------------------------------------------------------------------------
Dave Peverley, Software Engineer, MPC Data Limited.
Phone : [+44] (0) 1225 868 228 Web : http://www.mpc-data.co.uk
next reply other threads:[~2004-02-06 18:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-06 18:47 Dave Peverley [this message]
2004-02-06 19:27 ` [U-Boot-Users] Flashes that live in more than one place...! Wolfgang Denk
2004-02-11 11:15 ` Dave Peverley
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='0e2d01c3ece1$baee9320$885c96c0@RIPSNORTERVM' \
--to=dpeverley@mpc-data.co.uk \
--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