From: "Andrew Dennison" <andrew.dennison@motec.com.au>
To: "'Zeitler, Nathan'" <nzeitler@osii.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: RE: Lite5200 and PCI1520
Date: Tue, 14 Dec 2004 11:45:11 +1100 [thread overview]
Message-ID: <002f01c4e176$2ab60920$4000a8c0@CAT> (raw)
In-Reply-To: <01C22B6B78D52B46BE3C38FB525617EF909AC8@osimail.osii.com>
On Tuesday, 14 December 2004 11:06 AM, Zeitler, Nathan wrote:
> Hello Andrew,
>=20
>=20
> This would certainly help explain some of the pain in getting it to
> work. :-/=20
I understand your pain :)
> I'm using the 2.4.25 kernel from Denx also. The version I have is a
> couple months old (trying to keep from changing too many
> things at once!
I'm actually using the "RTAI validated" version, but tried top of tree =
and
it doesn't help - no changes to the relevant parts.
> It sounds like we're working towards the same end! I would like to
> assist in some way if possible. =20
Cool - no point us both doing the same stuff. I've actually taken a =
break
from this for the last week but you've given me renewed enthusiasm:)
> I am willing to believe that
> remapping the PCI bus is a possible approach, although I'd like to
> hear the opinion of others as well. Where in UBOOT did you change
> the PCI bus mappings?
//Relevant section of u-boot/include/configs/VPC.h
/*
* Physical PCI Resource
* 0x00000000 - 0x3fffffff 0x80000000 - 0xBfffffff SDRAM
* 0x40000000 - 0x4fffffff 0x40000000 - 0x4fffffff PCI Memory
* 0x50000000 - 0x50ffffff 0x00000000 - 0x00ffffff PCI IO Space
*/
#define CONFIG_SDRAM_PHYS CFG_SDRAM_BASE
#define CONFIG_SDRAM_BUS 0x80000000
#define CONFIG_SDRAM_SIZE (1024 * 1024 * 1024)
#define CONFIG_PCI_MEM_PHYS 0x40000000
#define CONFIG_PCI_MEM_BUS 0x40000000
#define CONFIG_PCI_MEM_SIZE 0x10000000
#define CONFIG_PCI_IO_PHYS 0x50000000
#define CONFIG_PCI_IO_BUS 0x00000000
#define CONFIG_PCI_IO_SIZE 0x01000000
// This section does the actual pcmcia setup, and is kinda OT for this
list...
// but included for completeness
#define CONFIG_I82365
#define CFG_PCMCIA_MEM_ADDR 0x40400000 /* after last cardbus base
* window assigend
by
* pci_auto, but
can be anywhere in PCI_MEM range*/
#define CFG_PCMCIA_MEM_SIZE 0x1000
#define CONFIG_IDE_8xx_PCCARD 1 /* Use IDE with PC Card Adapter */
#define CFG_IDE_MAXBUS 1 /* max. 1 IDE bus */
#define CFG_IDE_MAXDEVICE 1 /* max. 1 drive per IDE bus */
#define CFG_ATA_IDE0_OFFSET 0
#define CFG_ATA_BASE_ADDR CONFIG_PCI_IO_PHYS
/* Offset for data I/O */
#define CFG_ATA_DATA_OFFSET 0x100 /* don't change - hard coded in
i82365 */
/* Offset for normal register accesses */
#define CFG_ATA_REG_OFFSET 0x100 /* don't change - hard coded in
i82365 */
/* Offset for alternate registers */
#define CFG_ATA_ALT_OFFSET 0x108 /* don't change - hard coded in
i82365 */
#define CONFIG_PCMCIA_SLOT_A /* there can be only one... */
next prev parent reply other threads:[~2004-12-14 0:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-14 0:06 Lite5200 and PCI1520 Zeitler, Nathan
2004-12-14 0:45 ` Andrew Dennison [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-12-13 22:09 Zeitler, Nathan
2004-12-13 23:48 ` Andrew Dennison
2004-12-14 0:32 ` Wolfgang Denk
2004-12-14 1:25 ` Andrew Dennison
2004-12-13 17:50 Zeitler, Nathan
2004-12-13 21:13 ` Wolfgang Denk
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='002f01c4e176$2ab60920$4000a8c0@CAT' \
--to=andrew.dennison@motec.com.au \
--cc=linuxppc-embedded@ozlabs.org \
--cc=nzeitler@osii.com \
/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).