Could anybody share some details about how to write and read to FMC from Linux? Is it default the FMC pines are connected to the Bank 34 and Bank 35 in the Zedboard as described by the Hardware user Guide? Thanks for your help.
Could anybody share some details about how to write and read to FMC from Linux? Is it default the FMC pines are connected to the Bank 34 and Bank 35 in the Zedboard as described by the Hardware user Guide? Thanks for your help.
Hi smarklaw,
I think you ask a good question, but it is something that is difficult to answer due to the nature of the Zynq-7000 AP SoC. Since there is Programmable Logic (PL) available to connect to Banks 34 and 35, you have somewhat of a blank canvas on how FMC hardware is controlled.
If this sounds vague and complicated, take a look at one of the tutorials in the Reference Designs section which demonstrates how FMC hardware can be connected to the Processing System (PS) via the Programmable Logic:
Building a Zynq Video Design from Scratch v14.1
If you want to be able to access hardware from either bare metal or Linux, the external hardware must be connected somehow to a controller one of the many AXI interconnects so that it becomes visible to the ARM Processing System.
Once the hardware is connected to the processing system, then you will need a driver to access the hardware just as you would need a driver to access one of the hardened PS peripherals. Once you take a look at a few examples, you may get a better understanding of how your system could be designed.
Regards,
-Kevin