From 2c495b091a42ca3127d438bcd41692aa6e0063c8 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Tue, 19 Jan 2021 12:31:02 +0100 Subject: Remove cma=64M setting overriding devicetree defaults MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This setting needs to be removed in favour of the defaults from devicetree due to the location of the cma area being relevant. Note if at all, the cma= setting needs to be below 768M/1024M. So for reference, a cma=64M@256M does work. But as devicetree does handle it now - let it do its work. Bug-AGL: SPEC-3702 Signed-off-by: Jan-Simon Möller Change-Id: I9e8300b22f505447a7b1f9be41288a9e54647064 --- templates/machines/raspberrypi4.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/machines/raspberrypi4.jinja2 b/templates/machines/raspberrypi4.jinja2 index a73f257..e5c4557 100644 --- a/templates/machines/raspberrypi4.jinja2 +++ b/templates/machines/raspberrypi4.jinja2 @@ -20,5 +20,5 @@ {{ super() }} context: console_device: ttyS0 - extra_kernel_args: "8250.nr_uarts=1 cma=64M rw fstab=no" + extra_kernel_args: " coherent_pool=1M 8250.nr_uarts=1 rw fstab=no " {% endblock %} -- cgit 1.2.3-korg