FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5930 Discussions

Not receiving interrupts from FPGA to HPS

SimoneBo
Beginner
412 Views
Hi,

I have upgraded kernel from linux-socfpga 3.10.31 to 4.14.73 and I am having some troubles with getting the interrupts from the FPGA.

 

I can see, when I do "cat /proc/interrupts" my kernel modules are not getting the interrupts from GIC as they used to from the older kernel but is now receiving from gpio-dwapb.

 

In case of 3.10.31, IRQ number is set to expeced value and refer to the following please.
#cat /proc/interrupts

72 ... GIC-0	84 Level	my_uio_driver

In case of 4.14.73 I got

72 ... gpio-dwapb	25	Edge	my_uio_driver

 

I would be grateful if someone have already look something similar and could tell me where the mistake is.

Thanks a lot in advance,

Simone

0 Kudos
1 Reply
AnilErinch_A_Intel
352 Views

Hi Simone,

Please refer to the below link for FPGA interrupts using a newer version of the kernel.

https://rocketboards.org/foswiki/Documentation/FPGASoftIPToLinuxApplicationExample2

Thanks and Regards

Anil


0 Kudos
Reply