I am following a confluence page written by Xilinx to create a reserved memory region for DMA access. Confluence is here https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841683/Linux+Reserved+Memory
I declared it in the device tree as
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
reserved: buffer@0 {
compatible = "shared-dma-pool";
no-map;
reg = <0x0 0xa0000000 0x0 0x10000000>;
};
};
reserved-driver@0 {
compatible = "xlnx,reserved-memory";
memory-region = <&reserved>;
};
In the dmesg however, I do not see it having created this device at this address. I thought cat /proc/iomem
would show it, but it does not.
Is there another way to create a reserved region of memory for DMA access? I also tried the CMA region already used by the kernel bootargs, but accessing that caused the processor to crash.
Processor is a microblaze.