linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Eugene Surovegin <ebs@ebshome.net>
To: Steven Blakeslee <BlakesleeS@embeddedplanet.com>
Cc: "'linuxppc-embedded@lists.linuxppc.org'"
	<linuxppc-embedded@lists.linuxppc.org>
Subject: Re: 405GPr PCI target/host
Date: Thu, 19 Aug 2004 12:42:04 -0700	[thread overview]
Message-ID: <20040819194204.GA13576@gate.ebshome.net> (raw)
In-Reply-To: <D73A25AA6E54D511AD74009027B1110F5BB389@ORION>


On Thu, Aug 19, 2004 at 02:28:00PM -0400, Steven Blakeslee wrote:
>
> I am trying to get an IBM 405GPr processor to work as a target/host on a PCI
> bus.  A PCI target can temporarily become a host on the PCI bus. Basically
> this means it needs to do everything the host currently does except
> assigning PCI memory space, the dedicated host is responsible for this.
>
> I saw a message concerning this on Tue 12/23/2003 4:20 PM, the questions was
> for "MPC7447(Dual CPU) + MV64360 based Processor PMC boards"  I only saw one
> response to this and it did not seem to be correct.
>
> I was wondering if anyone has done something like this, not necessarily with
> a 405, any processor experience will do.  I appreciate any help or advice.
>

Yes, it's possible. One of our systems has 440GX and 405GPr connected
through PCI bus. 440GX manages the bus (i.e. it has an arbiter, and
assigns resources). 405GPr even boots from PCI space. 440GX and
405GPr communicate using normal TCP/IP networking through
point-to-point custom driver which uses PCI memory-mapped accesses
(both CPUs have direct access to each other memory).

There are other PCI device connected to this bus (SCSI, crypto chip),
but they are accessed only from 440GX.

Here is a short list of what I did (hope I haven't forgot anything :)

1) 405GPr must use external arbiter

2) In the 405GPr kernel I enabled PCI support but hacked
ppc4xx_setup_arch() to not call ppc4xx_find_bridges()

3) in board_setup_arch() I configure PCI bridge manually (assign all
windows, BARs etc)

--
Eugene

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2004-08-19 19:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-19 18:28 405GPr PCI target/host Steven Blakeslee
2004-08-19 19:42 ` Eugene Surovegin [this message]
2004-08-19 20:37 ` Adrian Cox
2004-08-20  7:37   ` Carl Aage Amundsen
2004-08-20  8:04     ` Eugene Surovegin

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=20040819194204.GA13576@gate.ebshome.net \
    --to=ebs@ebshome.net \
    --cc=BlakesleeS@embeddedplanet.com \
    --cc=linuxppc-embedded@lists.linuxppc.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).