Forum Discussion
Hi Alex
What do you mean the KML?
Could you explain more what error you got or what you are trying to achive?
Regards
Jingyang, Teh
Hi,
My bad,
I mean I'm trying to use <linux/interrupt.h> but it seems can't call in user space code. I supposed to be done in Linux Kernel module.
So I want to use the kernel source code to compile my kernel module.
What I need for the compile is the kernel source code supposed located on /usr/src/$(uname -r).
Yet it is empty, so I download the Kernel source code and make it as zImage as my embedded system did.
What I want to know is that is there an easier way to compile the KML(I mean kernel module)?
Or can <linux/interrupt.h> can be used on user space code?
reguards.
- CAlex3 years ago
Contributor
And what I really confused is that I wrote my own IP device on FPGA, in order to use it in kernel module(basicly it only sends out the interrupt signal to irq_0 every 50 us), what should I do?
Do I need to update the Device Tree and refresh the u-boot?
Do I need to write my own driver for my timer IP?
What should I treat this IP, is it a device_platform?
How to communicate with my user space code. make a char device? Use /proc? Or is there a easy way that can achieve the goal: To tell the userspace it is the time to go.
Sorry for so many questions.
reguards.