Hello Tejas-volansys,
You have to reduce the cma settings in device tree and the RAM size setting in U-Boot. U-Boot will patch the RAM size into devicetree before starting linux.
one can try to rebuild images from scratch using guidelines in
Chapter 4 How to bring up a new MX8M board MSCALE_DDR_Tool_User_Guide.pdf
included in ddr test package
i.MX8 MSCALE SERIES DDR Tool Release (V2.10)
Also cma size may be reduced.
Regards
Hi,
Thanks for the quick reply.
Will MSCALE_DDR_Tool_User_Guide.pdf work for imx8qxp?
We have successfully run DDR stress test using https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8-8X-Family-DDR-Tools-Release/ta-p/...
We have already changed the CMA to below values
linux,cma {
compatible = "shared-dma-pool";
reusable;
size = <0 0x0FA00000>;
alloc-ranges = <0 0x96000000 0 0x0FA00000>;
linux,cma-default;
};
We have also changed the memory values as below
memory@80000000 {
device_type = "memory";
reg = <0x00000000 0x40000000 0 0x00000000>;
};