AnsweredAssumed Answered

How to distribution the “$(CMASIZE)”?

Question asked by 传策 薛 on Oct 22, 2018
Latest reply on Oct 25, 2018 by Victor Linnik

Hi community:

    I notice that the Android8.1 bsp has below BOARD_KERNEL_CMDLINE:


BOARD_KERNEL_CMDLINE := console=ttymxc0,115200 earlycon=imxuart,0x30860000,115200 init=/init video=HDMI-A-1:1920x1080-32@60 androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale androidboot.fbTileSupport=enable cma=$(CMASIZE) androidboot.primary_display=imx-drm firmware_class.path=/vendor/firmware androidboot.selinux=permissive


 the evk board has 3GB memory ,and its cma=1536M, my question is if I have a 2GB board,how much “$(CMASIZE)” should I distribution? Is there any rules?