Hello everybody! I followed zynqgeek's useful tutorial on how to create custom peripheral using PL and to communicate using a bare metal application. Now I'm trying to do something more, like creating a linux application to read/write the registers in the peripheral. My questions are:
1) I'd like to use mmap to map the device into user space, such that is possible to read and write data. Is this correct?
2) Assuming point 1 is ok, is possible to send an interrupt from FPGA to Linux application to inform that some data are available?
3) Do I have to create a Bare Metal application able to communicate to Linux app? If yes, how can the communication be established? If no, I think that can be used mmap + interrupt..
4) Finally I'd like to run the application after the kernel has been loaded. Should I include u-boot.elf during the creation of BOOT.BIN? I tried to include "system.bit", "my_application.elf" and "zynq_fsbl_0.elf", but it seems that Linux is not loaded..
Waiting for your answers!!
Thank you,
sticken