
On Wednesday 14 January 2009, Stefan Roese wrote:
On Wednesday 14 January 2009, vb wrote:
thank you for confirming my suspicions and for your suggestion, I will compare notes with the Linux version (should have thought about this earlier). But I also was under impression that Linux does not touch some parts of PCI configuration, as the memory map is set by u-boot and used by Linux. Or does linux use the addresses from the device tree to reprogram the PCIe subsystem?
Correct. Linux (re-)configures the 4xx PCI(e) controller completely. Everything should be overwritten by Linux.
BTW: Do you see the same problems (PCIe memory read timeout) under Linux?
If PCIe works on Glacier and fails on your custom board it may be a hardware related problem on your board (either board routing or endpoint etc). Are you sure that your FPGA based PCIe endpoint is working correctly? Can you "plug" a standard PCIe endpoint in your custom hardware?
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@denx.de =====================================================================