From e21ac18ec080918a0e2de21296624922d432b8f2 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 16 Apr 2018 00:30:30 +0200 Subject: bootloader: add cma=256M@512M for Raspberry Pi DRM/VC4 --- perl-install/NEWS | 2 +- perl-install/bootloader.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 8942739d9..6169af6fc 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -4,7 +4,7 @@ o read/write extlinux.conf in U-Boot backend for ARM o build initrd for ARM arch o create /usr/lib/linux symlink for devicee tree files - o add specific boot options for Raspberry Pi serial console, I/O scheduler + o add specific boot options for Raspberry Pi serial console, I/O scheduler, CMA Version 17.96 - 13 March 2018 diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index f906bc7ef..0c6240a80 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -625,7 +625,7 @@ sub read_uboot() { my $is_raspberry = cat_("/proc/device-tree/model") =~ /^Raspberry Pi/; if ($is_raspberry) { - $b{perImageAppend} //= "8250.nr_uarts=1 console=ttyS0,115200 console=tty1 elevator=deadline"; + $b{perImageAppend} //= "8250.nr_uarts=1 console=ttyS0,115200 console=tty1 elevator=deadline cma=256M\@512M"; } $b{perImageAppend} //= $b{entries}[0]{append}; -- cgit v1.2.1