11-19-2014 02:40 AM
is there any good tutorial about a loadable kernel modul for zynq devices?
I know that petalinux has a "create loadable kernel module" function but i didnt found any dokumentation or tutorial about it which helps me.
I just want to get datas from a custom ip core on the pl.
I know thats a basic question but i stuck here at the moment.
11-20-2014 10:25 AM
11-21-2014 01:43 AM
I´m very new to linux/kernel and the stuff, so i think its a little bit to complicated for me at the moment to make my custom kernel modul.
Are there any other ways (easyer ways) to provide a fast interface between linux and the fpga?
I know that /dev/mem is very easy but its not able to handle interrupts.
I dont want to get an kernel expert is just want to use it. For Standalone Applications there are lots of drivers why not so for linux?
11-21-2014 06:38 AM
You might consider using UIO as others with less kernel knowledge do that and it does handle interrupts, although not as well as a kernel module. It's nearly the same as /dev/mem with regards to the amount of work but does provide better infrastructure to do what need.
I posted some stuff to this thread about UIO in the past.
With regards to Linux there are a good number of drivers and almost a matching one for each standalone driver. Linux (like all OSes) is a bit different in that the OS provides lots of frameworks which the developer needs to understand and use. What gaps are you seeing that we need to fill?