dear fsl:
board:sambasd
system:linux 3.0.35
i.MX6Q PCIe EP/RC Validation System
I want to use above method for verify my pcie bus. but I have only one sambasd board. So I use a fpga as EP.
sambasd board(RC mode)<------>fpga(EP mode)
but I find pcie.c have define EP_SELF_IO_TEST, this is only used for EP mode.
Now I want to use EP_SELF_IO_TEST in RC mode ,Can you tell me how to change? thanks!
Hi mingming
on that link one board is used in RC mode and you can use
its settings
When building RC image, make sure that
CONFIG_IMX_PCIE=y
# CONFIG_IMX_PCIE_EP_MODE_IN_EP_RC_SYS is not set
CONFIG_IMX_PCIE_RC_MODE_IN_EP_RC_SYS=y
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
dear sir:
Thanks for your help!
I know how to set boart to RC mode.
My problem is how to use EP_SELF_IO_TEST function?
because this function is used by EP mode according pcie.c code. Now I want to use this function in RC mode!
dear sir:
this problem is very important to me.
can you help me? thank you very very much!