Hello,
I'm using a microzed board to control a device having linux yocto kernel 4.4 as operative system. I designed a custom IP for the zynq to control the hardware. The interface with the IP is done using memory registers and data written/read in a specific part of the RAM. To do this I used an AXI slave interface for the registers and an AXI master interface for the data to be written/read in RAM.
A software should allow the user to manage the data that have to be transferred to the IP. I tried to write a driver for my IP using the libraries obtained from the bsp, but the it doesn't work.
I also tried to write a standard driver but yocto doesn't have the header files linux/module.h and linux/init.h usually required by the drivers
Do you have any suggestion about how to write correctly the driver? Is there any tutorial?
Thanks
Claudio