CMA setting in imx8qm

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

CMA setting in imx8qm

2,651 次查看
vinothkumars
Senior Contributor IV

Hi All,

 

I have to modify the CMA setting according to the RAM size.

example for 2GB

uboot,

sdram1 size - 1 GB

sdram 2 size - 1 GB

 

Where I have to update the Linux CMA settings ?

 

 

 

Regards,
Vinothkumar Sekar
0 项奖励
回复
5 回复数

2,513 次查看
khang_letruong
Senior Contributor III

Hi @vinothkumars ,

I experienced the same thing. The first thing you might need to change is defining one 2-GB region rather than two 1-GB regions in u-Boot. Then in the kernel .dts you can update the alloc-ranges of linux, cma node to 2GB.

Regards,

K.

0 项奖励
回复

2,511 次查看
vinothkumars
Senior Contributor IV

Thank you @khang_letruong ,

 

Will you please share the patches.

Regards,
Vinothkumar Sekar
0 项奖励
回复

2,509 次查看
khang_letruong
Senior Contributor III

Hi @vinothkumars ,

Unfortunately, I did not work with the same platform.

Regards,
K.

0 项奖励
回复

2,481 次查看
vinothkumars
Senior Contributor IV

Thank you @khang_letruong ,

 

Regards,
Vinothkumar Sekar
0 项奖励
回复

2,606 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,
 
For latest release, reserved memory definition on MEK board is located here:
https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8qm-mek.d...

Best regards,
Aldo.

0 项奖励
回复