How to change DDR size from 2g to 1g

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to change DDR size from 2g to 1g

827 次查看
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 项奖励
回复
2 回复数

755 次查看
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 项奖励
回复

826 次查看
gongyaxuan
Contributor I

I use 93x chip

0 项奖励
回复