- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Apologize for the delay in response, regarding the interrupt handler, you can try our tutorial with ARM processor interrupts to handle KEY presses below:
ftp://ftp.intel.com/pub/fpgaup/pub/Intel_Material/16.1/Tutorials/Linux.pdf
Also, similar discussion on the issue can be found below:
https://community.intel.com/t5/Programmable-Devices/Cyclone-V-Interrupt-Handling/td-p/160759

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page