--- Quote Start ---
I am trying to use the PCIe in my design.....
Please tell me how to detect the PCIe while the system is booting....
--- Quote End ---
The FPGA must be configured in PCIe mode in time for the BIOS to configure the PCIe interface memory windows. For the Stratix IV GX development kit, I usually power-on the host machine and put it into its BIOS page. Turning on the host powers on the development kit in an external PCIe motherboard. I then use another machine to configure the development kit with a PCIe design. I then let the host boot; its BIOS configures the PCIe interface. I can then see the PCIe device from Windows or Linux on the host.
--- Quote Start ---
In the Stratix II GX(EP2GX90FF1508C3) device how to configure the PCIe at the time of the Booting...
Which flash device need to be used....
I am able to find the EPM570 & EP2SGX90 devices in the chain.....
--- Quote End ---
Generally you want to configure as fast as possible, so if you have parallel output flash connected to the FPGA configuration interface, use that.
If you cannot configure the PCIe interface fast enough, then you might be able to trigger your OS to perform a re-enumeration of the PCI bus. This OS feature is used when hot-swapping PCI devices, so you might have to come up with a scheme of generating a fake hot-swap event for your PCIe board.
I haven't looked into the details of this for PCIe boards. I know it is possible for compactPCI boards and Linux, but its not a mainline kernel feature.
Cheers,
Dave