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

 

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines