PCIe connection between Jetson Xavier NX and PolarFire FPGA

Hello,

We are trying to establish a PCIe connection between a Jetson Xavier NX and a PolarFire FPGA. I’m using an example PolarFire app that I’ve verified works on a standard Linux machine running Ubuntu.

This app seg faults on the Jetson, dmesg gives the error: “Internal error: Accessing user space memory outside uaccess.h routines”.

I’ve tried applying the kernel patches discussed in other posts, which disable SMMU, but still have the same error. I had to use an older version of L4T to apply these patches, I would prefer to use the latest version.

Any advice would be appreciated.

that error is generic error seen when userspace memory is being access without permission.
You must have loaded a driver for the fpga, you have to debug there what is causing such access

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.