Forum Discussion

LacoN's avatar
LacoN
Icon for New Contributor rankNew Contributor
5 years ago

DE0-NANO-SOC no interrupt handle

Hi,

i liked to get an interrupt from a pushbutton and handle it in userspace via a kernel modul.

To begin with, i have an Linux distro done with yocto and the kernel 5.5. I compiled my kernel modul also with yocto. I have loaded the goldenreference out from quartus via usb-blaster. I enabled the bridges in U-Boot. I could register my kernelmodul. But when i cat /proc/interrupts i could not see any interrupts occurred?

Inside my kernelmodul i tried to read all 4 register from the leds on the board and printed them.

Please have a look on my screenshots.

Question is simply how can i get that running or where is the error. Do i have to do some device tree appendings?

1 Reply