Visible to Intel only — GUID: mrf1474504098975
Ixiasoft
1.1. Reference Design Overview
1.2. Floorplanning
1.3. Getting Started
1.4. Reference Design Components
1.5. Compiling the Reference Design
1.6. Bringing Up the Reference Design
1.7. Testing the Reference Design
1.8. Extending the Reference Design with Custom Persona
1.9. Reference Design Files
1.10. Document Revision History for AN 813: Hierarchical Partial Reconfiguration over PCI Express* Reference Design for Intel® Arria® 10 Devices
Visible to Intel only — GUID: mrf1474504098975
Ixiasoft
1.3.3. Installing the Linux Driver
The reference design includes the complete source code for the open source Linux driver, developed and tested for this reference design.
The Linux driver for this design requires the debugfs. Run the following command verify that the debugfs is available:
mount | grep ^debugfs
For more information on the debugfs file system, please refer to the CentOS documentation.
Important: This driver only supports CentOS 7.
You must install all the prerequisite packages before installing this driver. To install the prerequisite packages, run the following commands:
yum groupinstall “Development Tools”
yum install ncurses-devel
yum install qt-devel
yum install hmaccalc zlib-devel binutils-devel elfutils-libelf-devel
To install the driver, follow these steps:
- Ensure the driver source code is available on your machine. The source code is available at the following location:
https://github.com/intel/fpga-partial-reconfig/tree/master/software/drivers
- To compile all the necessary driver modules, run the following command:
make DEVICE="a10"
Note: To enable verbose messaging, use the option VERBOSE=true with the make command.Ensure that the following three kernel object files are present in the driver source directory after running this command:- fpga-mgr-mod.ko
- fpga-pcie-mod.ko
- To copy the modules to the right location and update the module dependency database, run the following command:
sudo make install
- To deploy an instance of the driver for each Intel FPGA device, run the following command:
sudo modprobe fpga-pcie-mod
- To verify successful installation of the driver, run the following command:
Upon successful installation, the resulting output displays the following at the end:lspci –vvvd1172:
Kernel driver in use: fpga-pcie Kernel modules: fpga_pcie_mod
Note: The above command functions only after you load the design onto the board and power-cycle the computer.
Uninstalling the Linux Driver
If you wish to uninstall the Linux driver, follow these steps:
- Run the following command:
This command stops the driver from executing and deactivates the driver. However, at this point, rebooting your machine continues to reload the driver.sudo modprobe -r fpga-pcie-mod
- To permanently delete the driver, run the following commands:
cd /lib/modules/$(uname -r)/extra rm -rf fpga-pcie-mod.ko