AnsweredAssumed Answered

ls1022A PBI PCIe initialization

Question asked by Paul Hanson on Dec 17, 2018

I am unable to initialize the PCIe (PEX) registers via the PBI. The PBI initialization starts by setting the SCFG_SCFGREVCR register, then SCFG_ALTCBAR to point to the PCIe registers, or PEX1, followed by PEX1 register intialization. The PEX1 register initialization is followed by PBI initialization of DCFG_CCSR_SCRATCHRW1 to point to OCRAM1, and SCFG_ALTCBAR to point to OCRAM1. This is followed by the boot code. Using the debugger, I can see that SCFG_SCFGREVCR has been set, DCFG_CCSR_SCRATCHRW1 is set to OCRAM1, and SCFG_ALTCBAR is set to OCRAM1, but none of the PEX1 registers have been set. Any ideas on how I initialize the PEX1 registers using the PBI? The following are the PBI initialization values used prior to PEX1 register initialization (HEX):

 

09570200

FFFFFFFF

09570158

00000300

09610000

00000000

Attachments

Outcomes