Changes between Version 2 and Version 3 of ventana/memory


Ignore:
Timestamp:
10/31/2018 07:49:28 PM (12 months ago)
Author:
Ryan Erbstoesser
Comment:

add example for CMA

Legend:

Unmodified
Added
Removed
Modified
  • ventana/memory

    v2 v3  
    116116The Yocto and Android BSP's have a bootscript that among other things comes up with a default cma allocation by looking at the total board memory available. If you find you need to alter this number (ie you do not want 'any' allocated) you can set the mem bootloader paramater to disable the auto-configuration performed by the bootscript.
    117117
     118To force a certain amount of CMA on Ventana, use the following command in the bootloader, adjusting the value (eg 96M) as needed:
     119{{{
     120setenv mem 'cma=96M'
     121}}}
     122
    118123For more information see also:
    119124 * [https://lwn.net/Articles/486301/ Linux CMA article]