ajellisuk Posted November 4, 2021 Posted November 4, 2021 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
usual user Posted November 5, 2021 Posted November 5, 2021 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/kernel-parameters.txt 1
Solution ajellisuk Posted November 10, 2021 Author Solution Posted November 10, 2021 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
Recommended Posts