* change the SDRAM address
@ 2005-06-15 5:35 Jason Chen
2005-06-15 12:43 ` Mark Chambers
0 siblings, 1 reply; 2+ messages in thread
From: Jason Chen @ 2005-06-15 5:35 UTC (permalink / raw)
To: linuxppc-embedded
aGksYWxsLA0KSSBhbSBhIG5ld2VyLkkgd29ya2VkIG9uIGEgcGxhdGZvcm0gYmFzZWQgb24gTVBD
ODI0OC4NClRoZSA2NE0gU0RSQU0gdXNlIENTMixhbmQgaXQncyBiYXNlIGFkZHJlc3MgaXMgMHgw
MDAwMDAwMCxCUjI9MHgwMDAwMDA0MSxPUjI9ZmMwMDJjZDAuDQpJdCdzIGp1c3QgYSBzaW1wbGUg
aXNzdWUsSSB3YW50IHRvIGNoYW5nZSB0aGUgYmFzZSBhZGRyZXNzIG9mIHRoZSBTRFJBTSBmcm9t
IDB4MDAwMDAwMDAgdG8gMHgwMzAwMDAwMCxJIHRob3VnaHQgY2hhbmdlIHRoZSBCUjIgcmVnaXN0
ZXIgdG8gMHgwMzAwMDA0MSB3YXMgb2ssYnV0IHRoZSByZWFsIHRoaW5nIGlzIHRoYXQgeW91IGNh
biByZWFkL3dyaXRlIHRoZSBhcmVhIG9mIDB4MDMwMDAwMDAgdG8gMHgwM2ZmZmZmZixidXQgdGhl
IGFyZWEgYWJvdmUgdGhlIDB4MDQwMDAwMDAgY2FuIG5vdCBiZSB3cml0dGVuIGFuZCBhbGwgYmUg
cmVhZCBhcyAweDAuDQpJIHdhbnQgdG8ga25vdyBhbSBJIHJpZ2h0IHRvIGNoYW5nZSB0aGUgYmFz
ZSBhZGRyZXNzIGp1c3QgYnkgY2hhbmdlIHRoZSBCUjI/DQpJcyB0aGVyZSBzb21lIG90aGVyIHNo
b3VsZCBiZSBjaGFuZ2U/IE9yIGl0IG1heSBjb25uZWN0IHdpdGggYSBoYXJkd2FyZSBjaGFuZ2U/
DQoNClRoYW5rcw0KDQpKYXNvbg0KDQoJDQoNCqGhoaGhoaGhoaGhoQ0KDQqhoaGhoaGhoaGhoaGh
oaGhDQqhoaGhoaGhoaGhoaGhoaGhDQqhoaGhoaGhoaGhoaGhoaGhoaGhoQ0K
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: change the SDRAM address
2005-06-15 5:35 change the SDRAM address Jason Chen
@ 2005-06-15 12:43 ` Mark Chambers
0 siblings, 0 replies; 2+ messages in thread
From: Mark Chambers @ 2005-06-15 12:43 UTC (permalink / raw)
To: Jason Chen, linuxppc-embedded
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-06-15 12:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-15 5:35 change the SDRAM address Jason Chen
2005-06-15 12:43 ` Mark Chambers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).