I’m trying to create a project in order to generate an interrupt from FPGA and handling it in the HPS software.
I try do it on DE0/nano Atlas board using Quartus Lite edition, and SOC EDS , I’m working under CentOS (centos-release-7-3.1611.el7.centos.x86_64) .
I have encountered many obstacle to do it. Because I found many information on roketboards.org to do various step, but There seems to be no glue between information, many link are missing or are obsolete internet path, sometimes there are incredible and undebuggable makefile that after tons of instruction arrive to mysterious and incomprehensible for beginner.
Moreover there are multiple way to do the same work, but the difference between them not are explained.
Someone could point to the guidelines to follow to create their own simple IP like as GPIO that triggers a visible interrupt from FPGA to HPS. The question not is how to do the IP but how to integrate the fpga irq / linux driver / linux kernel and or filesystem / software
Basically I mean the guide step like, this can helps also other beginners to understand how to:
- Create Quartus project following the procedure described by GHRD
??? In this case must be erased some IP because you need full license of quartus, the compilation arrive to the end but after is impossible convert SOF FILE to RBF ???
- Create QSYS custom IP containing interrupt source
- In QSYS Interconnect Custom IP to HPS
- In Quartus Compile design
- Convert sof file to rbf file (the name must match the name used in device-tree file *.dts).
- Generate preloader
- Generate bootloader
- Generating uboot
- Generate device tree
- Downloading linux and other toolchain
**??? How and where is the last and correct version **
Is really necessary rebuild Zimage considering that we will add some software drivers ? ???
- Compiling linux kernel (zImage)
- Compiling linux root filesystem (ext3)
??? I try to use Buildroot procedure but don’t work ???
??? how customize filesystem with custom software and driver ???
- Compiling linux uboot and device tree
For example just at this point I don’t know how match the device-tree and uboot generate by GSRD makefile and by Linux.
14) Write software driver for interrupt
_??? How to integrate the drivers on file system _
I try to use de device tree overlay instruction but don’t’ work
Perhaps I don’t have correct root file system ???
- Create sd image
I understand that this topic touch many arguments but, it is !