public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] 460GT PCIe configuration
@ 2009-01-13  2:22 vb
  2009-01-14 15:03 ` Stefan Roese
  0 siblings, 1 reply; 7+ messages in thread
From: vb @ 2009-01-13  2:22 UTC (permalink / raw)
  To: u-boot

Stefan et al,

I am trying to troubleshoot a weird PCIe problem on a PPC460GT based
target, and it is getting curiouser and curiouser.

There is a tlb overlap I mentioned in an earlier email; on top of that
there are some things happening in cpu/ppc4xx/4xx_pcie.c which I also
find hard to understand:

there is a static function pcie_get_base(), which returns a value as in

address = pcie_get_base(hose, devfn)

there are two instances of this, in both cases `address' is never used.

The CONFIG_SYS_PCIE0_XCFGBASE constant (and its counterparts for other
PCIe ports) is defined and used in the code, and gets a TLB entry
assigned, but I can't find a place where it is programmed into the CPU
- how does it know where this section is?!

I have several different targets with different PCIe components, but
all using the same base CPU subsystem design, and on some of them PCIe
components misbehave, namely, PCIe memory read transactions fail with
a machine check after a timeout, even though the PCIe side of things
is fine (when looking with a protocol analyzer).

Any insight/explanations/suggestions would be highly appreciated,
TIA,
vadim

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

end of thread, other threads:[~2009-03-10 22:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-13  2:22 [U-Boot] 460GT PCIe configuration vb
2009-01-14 15:03 ` Stefan Roese
2009-01-14 16:42   ` vb
2009-01-14 17:56     ` Stefan Roese
2009-01-14 19:09       ` Stefan Roese
2009-03-10 21:23     ` Leon Woestenberg
2009-03-10 22:13       ` vb

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