public inbox for u-boot@lists.denx.de
 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: Fri, 17 Feb 2006 21:27:01 +0100	[thread overview]
Message-ID: <20060217202701.GD13280@false> (raw)
In-Reply-To: <20060217135211.17B0D3535FD@atlas.denx.de>

Hello Wolfgang

> > I see. Which files hold the sourcecode to map the flash away ? - I'd
> > like to understand that one!

> That's the memory controller initialization -  function  cpu_init_f()
> in "cpu/mpc8xx/cpu_init.c"

AAAHH! Thanks, i think i finally understood it!

My flash memory space gets now fully initialized in cpu_init_f. Changed
TEXT_BASE to 0x40f00000 and BR0_PRELIM to 0x40000001. 

So MPC875 starts execution at 0xfff00100, because of ignoring the upper
8 address bits and CS0 default usage after reset, u-boot is executed
anyway. When jumping to 0x40fXXXXX, the CPU is aware of the flash
destination and br0 is updated to 0x40000000 to stop aliasing and keep
execution in flash working...  :-))) big thanks goes to Wolfgang!


> Best regards,

> Wolfgang Denk

byebye
Josef

      reply	other threads:[~2006-02-17 20:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-14  7:31 [U-Boot-Users] Memory Banks & Flash Mapping Josef Angermeier
2006-02-17  0:12 ` 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 [this message]

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=20060217202701.GD13280@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox