Forum Discussion
FPGA passive serial configuration -- detect as PCIe device in Linux after configuration
- 1 year ago
Hi Steve,
Thanks for your confirmation, I will transition this support thread to community.
I saw corestar have reply some workaround, perhaps you may refer to that and see if that able to help you or not.
Any time in future, if you having any problem, you may file a new thread.
Someone will be there to support you. If you need my support on PCIe IP, please mention my name "Wincent" so that this will route to my support Q.If your support experience falls below a 9 out of 10, I kindly request the opportunity to rectify it before concluding our interaction. If the issue cannot be resolved, please inform me via this forum page of the cause so that I can learn from it and strive to enhance the quality of future service experiences.
Regards,
Wincent_Altera
p/s: If any answer from the community or Altera Support is helpful, please feel free to give the best answer or rate 9/10 survey.
Hello @Steve-Mowbray-ENL ,
I had the exact same problem. On a Raspberry Pi CM4, the solution outlined in the following link works by PeartreeStudios:
The "rescan" idea does not work as you discovered. I have two scripts.
bind_pci contains:
echo "Bind PCIe Driver"
sudo bash -c 'echo fd500000.pcie > /sys/bus/platform/drivers/brcm-pcie/bind'
and unbind_pci contains:
echo "Unbind PCIe Driver"
sudo bash -c 'echo fd500000.pcie > /sys/bus/platform/drivers/brcm-pcie/unbind'
These are clearly system dependent. But each time I update the FPGA firmware:
- Run unbind_pci if it was already bound
- Update the firmware via PS or JTAG
- Run bind_pci.
Thank you corestar will try this out
Regards
Steve