How to change DDR size from 2g to 1g

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to change DDR size from 2g to 1g

311 Views
gongyaxuan
Contributor I

How to change ddr size from 2g to 1g? At present, it has been modified to show DRAM to 1g under uboot, but it has encountered the problem of kernel crash caused by cma initialization failure in the kernel phase.

What should I change to the kernel to change the ddr size

0 Kudos
2 Replies

239 Views
Dhruvit
NXP TechSupport
NXP TechSupport
 
I hope you are doing well
 
As the CMA initialization is failing, one needs to apply changes in "linux,cma"  node in the kernel device tree.
 
Kindly replace with the below properties for the 'linux,cma' node.
 
linux,cma {
compatible = "shared-dma-pool";
reusable;
size = <0 0x10000000>;
linux,cma-default;
};
 
Thanks & Regards,
Dhruvit Vasavada
0 Kudos

310 Views
gongyaxuan
Contributor I

I use 93x chip

0 Kudos