Dear All,
I have developed custom IP for Zedboard and I am able to use it in Bare metal. Now I want to write device driver for it. I have compiled open source linux kernel for zynq successfully and loaded on SD card.
But I am not getting how to start with device driver.
I have following doubts
1.If I should write driver in Host machine then what should be the directory for it.
2. Does driver should be compiled along with source code of kernel (not kernel image)? if yes ,then how?
3. How does driver is loaded on SD card? I mean separately or inside the kernel image?
4. Finally how to test the driver on sd card?
In short can anyone help me in how to cross-compile simple char module for zynq.
Thanks in advance.
Ganesh