From: "Mark Chambers" <markc@mail.com>
To: "Jason Chen" <jason_chen@usish.com>,
"linuxppc-embedded" <linuxppc-embedded@ozlabs.org>
Subject: Re: change the SDRAM address
Date: Wed, 15 Jun 2005 08:43:02 -0400 [thread overview]
Message-ID: <003a01c571a7$cb45bef0$0301a8c0@chuck2> (raw)
In-Reply-To: 200506150531.j5F5VMPK006235@ms.usish.com
> hi,all,
> I am a newer.I worked on a platform based on MPC8248.
> The 64M SDRAM use CS2,and it's base address is
0x00000000,BR2=0x00000041,OR2=fc002cd0.
> It's just a simple issue,I want to change the base address of the SDRAM
from 0x00000000 to 0x03000000,I thought change the BR2 register to
0x03000041 was ok,but the real thing is that you can read/write the area of
0x03000000 to 0x03ffffff,but the area above the 0x04000000 can not be
written and all be read as 0x0.
> I want to know am I right to change the base address just by change the
BR2?
> Is there some other should be change? Or it may connect with a hardware
change?
>
That base address just won't work right for 64MB. The target address AND'd
with
the mask in the upper part of the OR must equal the BR. Typically a 2^n
sized
area must be placed on a 2^n boundary (00xx xxxx, 04xx xxxx, and so on in
your
case)
Mark Chambers
prev parent reply other threads:[~2005-06-15 12:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-15 5:35 change the SDRAM address Jason Chen
2005-06-15 12:43 ` Mark Chambers [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='003a01c571a7$cb45bef0$0301a8c0@chuck2' \
--to=markc@mail.com \
--cc=jason_chen@usish.com \
--cc=linuxppc-embedded@ozlabs.org \
/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.