Jump to content

Setting CMA in armbian


Go to solution Solved by ajellisuk,

Recommended Posts

Posted

Hello

 

I need to increase the size of the CMA on my armbian set up. But I've not found a way to do it.

 

Is there a kernel command line option I need to pass to increase the CMA size, or is this done in the kernel configuration before building?

 

Thanks in advance

 

Andrew

  • Solution
Posted

Thank you for the link.

 

For the benefit of anyone else who may come accross this post:

I added the following line to "/boot/boot.cmd/"

setenv bootargs "${bootargs} cma=xM"

 

where x is the size of RAM allocated to CMA.

 

I then compiled the file with:

mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr

 

Hopefully this will help anyone else who runs into this issue.

 

Andrew

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines