Hi,
I have designed a DMA reserved memory of 4 buffers (size of 2 KiB every buffer) but I have obtained these errors:

My device tree has been configured like that:
include/ "system-conf.dtsi"
/ {
/* Set bootargs here: */
chosen {
bootargs = "earlycon clk_ignore_unused uio_pdrv_genirq.of_id=generic-uio";
stdout-path = "serial0:115200n8";
};
memory@0 {
device_type = "memory";
reg = <0x0 0x0 0x0 0x3ff00000>;
};
/**********************************************************************************************************/
/* ******************************** Added for u-dma-buf START *********************************************/
/* Create a reserved memory region, not used by OS, in order to have space for Continuous allocated memory*/
/* The size of region is enough to keep transfers from AXI DMA IP core and is set accordingly to the */
/* Buffer Register Length_Width = 16 (0x10) ==> 65535. Here we set 16MB for each one, having more space */
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
image_buf0: image_buf@0 {
compatible = "shared-dma-pool";
reusable;
reg = <0x0 0x3dd00000 0x0 0x0001001a8>; /* 1MB */
label = "image_buf0";
};
};
/*Added udmabuffers for dmaTx(A), dmaRx(A)*/
udmabuf@0x00 {
compatible = "ikwzm,u-dma-buf";
device-name = "udmabuf0";
size = <0x0000800>; /* 2KB from dataIf_buffer */
memory-region = <&image_buf0>;
};
udmabuf@0x01 {
compatible = "ikwzm,u-dma-buf";
device-name = "udmabuf1";
size = <0x0000800>; /* 2KB from dataIf_buffer */
memory-region = <&image_buf0>;
};
/*Added udmabuffers for dmaTxB, dmaRxB*/
udmabuf@0x02 {
compatible = "ikwzm,u-dma-buf";
device-name = "udmabuf2";
size = <0x0000800>; /* 2KB from dataIf_buffer */
memory-region = <&image_buf0>;
};
udmabuf@0x03 {
compatible = "ikwzm,u-dma-buf";
device-name = "udmabuf3";
size = <0x0000800>; /* 2KB from dataIf_buffer */
memory-region = <&image_buf0>;
};
/**********************************Added for u-dma-buf END *****************************************/
/***************************************************************************************************/
};
Reserved-memory of 1MiB where it has been selected the last space, which is nearly 0.97 GiB, of the total memory of petalinux image (1 GiB).
Does someone know what is the problem?
Best regards,