public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] AMCC440SPe & PCI Express
@ 2006-12-22 19:49 Patil, Pankaj P.
  2006-12-22 21:49 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Patil, Pankaj P. @ 2006-12-22 19:49 UTC (permalink / raw)
  To: u-boot

Hi,
I have been using u-boot-1.1.5 on my custom 440SPe based board. I am
able to establish a link on PCIE0. However, I am having trouble
accessing outbound Memory on PCIE0. My memory map seetings for Outbound
PCIE memory are the default U-boot Settings. I was curious if anybody's
tried accessing PCIE Outbound memory with the default settings. I seem
to get a bus error when I try to access that region.

Thanks
Pankaj

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] AMCC440SPe & PCI Express
  2006-12-22 19:49 [U-Boot-Users] AMCC440SPe & PCI Express Patil, Pankaj P.
@ 2006-12-22 21:49 ` Wolfgang Denk
  2006-12-22 22:21   ` Patil, Pankaj P.
  2007-11-26 11:02   ` kans
  0 siblings, 2 replies; 6+ messages in thread
From: Wolfgang Denk @ 2006-12-22 21:49 UTC (permalink / raw)
  To: u-boot

Dear Pankaj,

in message <9B832BEB407A774AA0520CCFC23221970B47D178@CXOEXC11.AMERICAS.CPQCORP.NET> you wrote:
>
> I have been using u-boot-1.1.5 on my custom 440SPe based board. I am
> able to establish a link on PCIE0. However, I am having trouble
> accessing outbound Memory on PCIE0. My memory map seetings for Outbound
> PCIE memory are the default U-boot Settings. I was curious if anybody's
> tried accessing PCIE Outbound memory with the default settings. I seem
> to get a bus error when I try to access that region.

I confirm that there is some problem with PCIe on these systems. We're
working on this right now. Please stay tuned.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Q:  How do you play religious roulette?
A:  You stand around in a circle  and  blaspheme  and  see  who  gets
    struck by lightning first.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] AMCC440SPe & PCI Express
  2006-12-22 21:49 ` Wolfgang Denk
@ 2006-12-22 22:21   ` Patil, Pankaj P.
  2007-11-26 11:02   ` kans
  1 sibling, 0 replies; 6+ messages in thread
From: Patil, Pankaj P. @ 2006-12-22 22:21 UTC (permalink / raw)
  To: u-boot

Thanks for the update,
I noticed that changing PECFG_POM0LAL to 0xB0000000 instead of 0x00000000 in 440spe_pcie.c seems to get rid of the bus error. I don't have a YUCCA board so i cannot verify it but worth the try.
Another strange thing i noticed was that i have a multifunction device on PCIE0. U-boot, however would only detect function0. pci display 1.1.0 succeeds but pci display 1.1.1 fails to detect.
This might be my device problem. Its a tachyon. Just curious if anybody had trouble detecting multifunction device on PCIE??

Thanks again
Pankaj

-----Original Message-----
From: wd@denx.de [mailto:wd at denx.de]
Sent: Friday, December 22, 2006 2:50 PM
To: Patil, Pankaj P.
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] AMCC440SPe & PCI Express 


Dear Pankaj,

in message <9B832BEB407A774AA0520CCFC23221970B47D178@CXOEXC11.AMERICAS.CPQCORP.NET> you wrote:
>
> I have been using u-boot-1.1.5 on my custom 440SPe based board. I am
> able to establish a link on PCIE0. However, I am having trouble
> accessing outbound Memory on PCIE0. My memory map seetings for Outbound
> PCIE memory are the default U-boot Settings. I was curious if anybody's
> tried accessing PCIE Outbound memory with the default settings. I seem
> to get a bus error when I try to access that region.

I confirm that there is some problem with PCIe on these systems. We're
working on this right now. Please stay tuned.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Q:  How do you play religious roulette?
A:  You stand around in a circle  and  blaspheme  and  see  who  gets
    struck by lightning first.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] AMCC440SPe & PCI Express
  2006-12-22 21:49 ` Wolfgang Denk
  2006-12-22 22:21   ` Patil, Pankaj P.
@ 2007-11-26 11:02   ` kans
  1 sibling, 0 replies; 6+ messages in thread
From: kans @ 2007-11-26 11:02 UTC (permalink / raw)
  To: u-boot


Hello,

I am using u-boot 1.3.0-rc3 for my custom 440SPE board and configured PCIE1
as endpoint.

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.

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?

--
Kans




wd wrote:
> 
> Dear Pankaj,
> 
> in message
> <9B832BEB407A774AA0520CCFC23221970B47D178@CXOEXC11.AMERICAS.CPQCORP.NET>
> you wrote:
>>
>> I have been using u-boot-1.1.5 on my custom 440SPe based board. I am
>> able to establish a link on PCIE0. However, I am having trouble
>> accessing outbound Memory on PCIE0. My memory map seetings for Outbound
>> PCIE memory are the default U-boot Settings. I was curious if anybody's
>> tried accessing PCIE Outbound memory with the default settings. I seem
>> to get a bus error when I try to access that region.
> 
> I confirm that there is some problem with PCIe on these systems. We're
> working on this right now. Please stay tuned.
> 
> Best regards,
> 
> Wolfgang Denk
> 
> -- 
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Q:  How do you play religious roulette?
> A:  You stand around in a circle  and  blaspheme  and  see  who  gets
>     struck by lightning first.
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 
> 

-- 
View this message in context: http://www.nabble.com/AMCC440SPe---PCI-Express-tf2872188.html#a13947577
Sent from the Uboot - Users mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users]  AMCC440SPE & PCI Express
@ 2007-11-27  4:54 kans
  2007-11-27  7:14 ` Stefan Roese
  0 siblings, 1 reply; 6+ messages in thread
From: kans @ 2007-11-27  4:54 UTC (permalink / raw)
  To: u-boot


Hello,

I am using u-boot 1.3.0-rc3 for my custom 440SPE board and configured PCIE1
as endpoint.

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.

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?

-- 
Kans 
-- 
View this message in context: http://www.nabble.com/AMCC440SPE---PCI-Express-tf4879811.html#a13964803
Sent from the Uboot - Users mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] AMCC440SPE & PCI Express
  2007-11-27  4:54 [U-Boot-Users] AMCC440SPE " kans
@ 2007-11-27  7:14 ` Stefan Roese
  0 siblings, 0 replies; 6+ messages in thread
From: Stefan Roese @ 2007-11-27  7:14 UTC (permalink / raw)
  To: u-boot

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
=====================================================================

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-11-27  7:14 UTC | newest]

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox