public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] AMCC440SPE & PCI Express
Date: Tue, 27 Nov 2007 08:14:25 +0100	[thread overview]
Message-ID: <200711270814.26369.sr@denx.de> (raw)
In-Reply-To: <13964803.post@talk.nabble.com>

Hi Kans,

On Tuesday 27 November 2007, kans wrote:
> I am using u-boot 1.3.0-rc3 for my custom 440SPE board and configured PCIE1
> as endpoint.

A general comment: You should base your work on the "for-1.3.1" branch of the 
u-boot-ppc4xx custodian repository:

http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot/u-boot-ppc4xx.git;a=shortlog;h=for-1.3.1

Amongst other changes to the 4xx PCIe support, this new version now 
support "dynamic" selection of root-complex/endpoint per PCIe port. This is 
done via the env variable "pcie_mode". By setting it to

=> setenv pcie_mode RP:EP:RP

you configure port 1 to endpoint and all other ports to root-complex.

> After configuring the KATMAI board as RC(running Linux), I am able to
> establish the link between KATMAI and my board.
>
> I have few doubts here.
>
> 1. CFG space (OUTBOUND BAR4) is mentioned as 512MB minimum.  But the CFGMSK
> register says it can start from 128 Bytes.  Using lesser values from 512MB
> creates Machine Check exception.

Which registers are you referring to exactly?

> 2. I have set PIMEN as 0x1.  ie. Enable access for BAR0(I have set
> PIM01SAL/H for 1MB).  The Katmai board views BAR0(1MB memory), BAR2 as IO,
> and BAR4 as Memory. It doesnt assign any addresses to BAR2 and BAR4.  Also
> I have not enabled any IO space in my custom board.
>
> Please let me know for
> 1.  Why there are Machine check exceptions using lesser values in CFG(less
> than 512MB)?
> 2.  Why other BARs are getting enabled?

Perhaps because they are not explicitly disabled?

Please try again with the new code from the for-1.3.1 branch. It has some 
changes for the endpoint support too.

Best regards,
Stefan

=====================================================================
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 at denx.de
=====================================================================

  reply	other threads:[~2007-11-27  7:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-27  4:54 [U-Boot-Users] AMCC440SPE & PCI Express kans
2007-11-27  7:14 ` Stefan Roese [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-12-22 19:49 [U-Boot-Users] AMCC440SPe " Patil, Pankaj P.
2006-12-22 21:49 ` Wolfgang Denk
2006-12-22 22:21   ` Patil, Pankaj P.
2007-11-26 11:02   ` kans

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=200711270814.26369.sr@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /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