I'm using adrv9361-z7035 fmc for my project. I have added my own logic in PL part and now i want to access the data of this logic my linux based PS. I know i need to use AXI based interface to connect my logic to PS but i'm confused exactly what are the linux boot files that need to be changed and how? Ii'm using adi pre-built linux images
Hi,Sorry for the delayed reply.Not sure what you want to do with the data, and what amount of it you plan to use.In our examples, we use a DMA to store the captured data in the DDR and access it there.Have I understood correctly? Or you are referring to the register map of your logic?Andrei
Thanks for reply.
I want to send the control signals of my logic to PS. Like register map of adi IPs. I have some control signals and some monitoring signals. So i'll be reading as well as writing registers of my IP from PS side.
Hi,You can take as an example a simple core, let's say axi_adc_trigger.https://github.com/analogdevicesinc/hdl/tree/master/library/axi_adc_triggerhttps://wiki.analog.com/resources/fpga/docs/axi_adc_trigger
You have to define an address for it.Rebuild the hdl and generate the BOOT.BIN afterward https://wiki.analog.com/resources/fpga/docs/build.
Maybe mirceac can help you with some driver and dts examples on the Linux side.Andrei
thank you very much. I was looking for this exactly.
I'm clear from HDL side. looking forward towards driver and dts example. I have a few questions from linux side.
Do we need to re-compile the linux kernel?
Do we need to regenerate the uimage and u-boot files?
The devicetree must be rebuilt, as it will contain your core description. The kernel(uImage) and u-boot files will not change. Andrei