mirror of
https://github.com/corundum/corundum.git
synced 2025-01-16 08:12:53 +08:00
ba55a3c1ed
Signed-off-by: Alex Forencich <alex@alexforencich.com>
Corundum mqnic for DE10-Agilex
Introduction
This design targets the Terasic DE10-Agilex FPGA development board.
- FPGA: AGFB014R24B2E2V
- PHY: E-Tile
Quick start
Build FPGA bitstream
Run make
in the fpga
subdirectory to build the bitstream. Ensure that the Intel Quartus Pro toolchain components are in PATH.
Build driver and userspace tools
On the host system, run make
in modules/mqnic
to build the driver. Ensure the headers for the running kernel are installed, otherwise the driver cannot be compiled. Then, run make
in utils
to build the userspace tools.
Testing
Run make program
to program the board with Quartus. Then, reboot the machine to re-enumerate the PCIe bus. Finally, load the driver on the host system with insmod mqnic.ko
. Check dmesg
for output from driver initialization, and run mqnic-dump -d /dev/mqnic0
to dump the internal state.