CMA setting in imx8qm

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

CMA setting in imx8qm

1,661 Views
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 Kudos
Reply
5 Replies

1,523 Views
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 Kudos
Reply

1,521 Views
vinothkumars
Senior Contributor IV

Thank you @khang_letruong ,

 

Will you please share the patches.

Regards,
Vinothkumar Sekar
0 Kudos
Reply

1,519 Views
khang_letruong
Senior Contributor III

Hi @vinothkumars ,

Unfortunately, I did not work with the same platform.

Regards,
K.

0 Kudos
Reply

1,491 Views
vinothkumars
Senior Contributor IV

Thank you @khang_letruong ,

 

Regards,
Vinothkumar Sekar
0 Kudos
Reply

1,616 Views
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 Kudos
Reply