I have a a custom iMX6q board, It has is uboot and kernel in Weim NOR and rootfs in eMMC, it is booting just fine, however, i have an FPGA connected on the EIM bus.
Following are the connection,
CS1
26 bit address lines
lower order data bus
Now i want to access the FPGA as an SRAM. I have the resources to write a block ram into the FPGA.
But i am new to writing drivers in Linux.
I am trying to find out an existing RAM driver in the BSP.
During m search i came across MTD_RAM and MTD_PLATRAM
Can anyone tell me what they do and can they help me in accessing the SRAM i write in the FPGA.
help would be appreciated,
nishad