All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josef Angermeier <Josef.Angermeier@informatik.stud.uni-erlangen.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Memory Banks & Flash Mapping
Date: Tue, 14 Feb 2006 08:31:13 +0100	[thread overview]
Message-ID: <20060214073113.GA2319@false> (raw)

Hello u-boot users,

in the README-file you can read this:

- FLASH_BASE0_PRELIM, FLASH_BASE1_PRELIM, CFG_REMAP_OR_AM,
  CFG_PRELIM_OR_AM, CFG_OR_TIMING_FLASH, CFG_OR0_REMAP,
  CFG_OR0_PRELIM, CFG_BR0_PRELIM, CFG_OR1_REMAP, CFG_OR1_PRELIM,
  CFG_BR1_PRELIM:
     		Memory Controller Definitions: BR0/1 and OR0/1 (FLASH)

So memory bank 1 shouldn't get used for SDRAM, but bank 2 and 3 ?
*_PRELIM is the address before u-boot relocation to RAM, isn't it ? 
But *_REMAP after that ?

Whats CFG_FLASH_BASE good for, if i have to configure the memory bank
base register value of my MPC875-board anyway with CFG_BR0_* ?

Further, i am now facing the problem, that my BR1 SDRAM-memory bank gets
changed correctly at u-boot runtime, but the BR0-flash-memory-bank keeps
its PRELIM-value when reaching the command shell. 

I now wonder, if i misconfigured my board header file, or if not,
where i shall add the new memory bank reprogramming code for flash space
- in drivers/cfi_flash.c:flash_init() ?

One last question: I am porting u-boot to a not yet very popular
developer board with a MPC875. Shall i add my changes although to your
CVS repository ?

Thanks in advance

Josef

             reply	other threads:[~2006-02-14  7:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-14  7:31 Josef Angermeier [this message]
2006-02-17  0:12 ` [U-Boot-Users] Memory Banks & Flash Mapping Wolfgang Denk
2006-02-17  9:20   ` Josef Angermeier
2006-02-17  9:49     ` Wolfgang Denk
2006-02-17 11:44       ` Josef Angermeier
2006-02-17 13:52         ` Wolfgang Denk
2006-02-17 20:27           ` Josef Angermeier

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=20060214073113.GA2319@false \
    --to=josef.angermeier@informatik.stud.uni-erlangen.de \
    --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.