- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
using an Arria 10 with Hard PCIe engine for a DMA application with Ubuntu 20.x Linux as the host OS
when the card is in a newish HP machine, re-programming the FPGA through JTAG once installed and running in the machine causes an instand PCIE surprise down type low level crash which needs a key press to then resume booting
older gigabyte machine didn't care so was ok but now that died and am stuck with the HP G4 PC and this issue, it's a bit boring with essentially having to keep the flash boot un-programmed and then having : shutting the machine down, starting it up, booting, JTAG program and reboot to then be able to reload the kernel driver and start the next tests.
Does anyone have an easier way of getting past the BIOS PCIe exception or thoughts? I dont think there are any things I can do in Linux as it seems to be lower levle than this and i have crawled all through the BIOS settings but found nothing that seems to make a difference enabled or disabled
there must be an easier way of PCIe dev than this?!
thanks for any suggestions
Andy
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is expected the PCIe link will be lost when you reconfigure the FPGA. What you can probably do is mask the Advanced Error Reporting (Uncorrectable Error and correctable error) from the Host (RP) before re-configure the FPGA, so that it will not take any action when the PCIe link is lost.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may use the setpci command, below is the example code, and you need to do it by using the right BDF in the PCIe tree topology.
sudo setpci -s 86:00.0 ECAP_AER+0x08.L=0xffffffff
sudo setpci -s 86:00.0 ECAP_AER+0x14.L=0xffffffff
*86:00.0 is the BDF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If further support is needed in this thread, please post a response within 15 days. After 15 days, this thread will be transitioned to community support. The community users will be able to help you with your follow-up questions.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page