From: Stefan Roese <sr@denx.de>
To: Dell Query <dell.query@yahoo.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Unable to Read PPC440EPx Board ID thru Board Control and Status Registers (BCSR)
Date: Thu, 29 Nov 2007 07:10:29 +0100 [thread overview]
Message-ID: <200711290710.29403.sr@denx.de> (raw)
In-Reply-To: <556469.76659.qm@web45605.mail.sp1.yahoo.com>
On Thursday 29 November 2007, Dell Query wrote:
> I don't know if the document that came with the PPC440EPx Sequoia Resource
> CD is right. It is odd that it is entitled "Embedded Planet 440xC" and it
> showed in page 34:
> -----------------------------------------------------------------------
> Table 4-4. Memory Map
>
> Function Start Address End Address Size Chip Select
> DDR SDRAM 0x0000 0000 0x0FFF FFFF 256 MB =E2=80=94
> PCI Memory 0x8000 0000 0xBFFF FFFF 1024 MB =E2=80=94
> BCSR 0xC000 0000 0xCFFF FFFF 256 MB CS2
> NAND FLASH Controller1 0xD000 0000 0xD00F FFFF 1 MB CS3/CS0
> NOR FLASH1 0xFC00 0000 0xFFFF FFFF 64 MB CS0/CS3
> -----------------------------------------------------------------------
> Anyway, I have seen Table 1. System Memory Address Map and it got EBC
> mapped at 0x1.c000.0000 and another one at 0x1.f000.0000. But I didn't s=
ee
> any BCSR info. Correct me if I am wrong, but should it not give me BCSR
> details like:
This is board specific information and not CPU specific. The CPLD with it's=
=20
BCSR is a Sequoia thing and can therefor not be listed in the 440EPx manual=
s.=20
It it located on the EBC though which is documented in the 440EPx manuals.
So if this chips select which is connected to the CPLD is mapped to=20
0xc000.0000 which is the case for Sequoia, then you will "find" these=20
registers at physical address 0x1.c000.0000. And should use ioremap64() to=
=20
get the virtual address to access this CPLD.
Best regards,
Stefan
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
next prev parent reply other threads:[~2007-11-29 6:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-27 10:47 Unable to Read PPC440EPx Board ID thru Board Control and Status Registers (BCSR) Dell Query
2007-11-28 3:25 ` Josh Boyer
2007-11-28 6:38 ` Dell Query
2007-11-28 10:51 ` Stefan Roese
2007-11-29 3:16 ` Dell Query
2007-11-29 6:10 ` Stefan Roese [this message]
2007-11-29 6:41 ` Dell Query
2007-11-29 6:56 ` Stefan Roese
2007-11-29 10:01 ` Dell Query
2007-11-29 10:13 ` Stefan Roese
2007-12-03 7:17 ` Dell Query
2007-12-04 9:28 ` Stefan Roese
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=200711290710.29403.sr@denx.de \
--to=sr@denx.de \
--cc=dell.query@yahoo.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 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).