summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2018-04-16 00:30:30 +0200
committerOlivier Blin <dev@blino.org>2018-05-16 02:10:35 +0200
commite21ac18ec080918a0e2de21296624922d432b8f2 (patch)
tree541e7764139ef6189843a97215c870d884b182e5 /perl-install
parentb4638b0e518e2cc7cba2cee2d3b7d0ae6f14097b (diff)
downloaddrakx-topic/extlinux.tar
drakx-topic/extlinux.tar.gz
drakx-topic/extlinux.tar.bz2
drakx-topic/extlinux.tar.xz
drakx-topic/extlinux.zip
bootloader: add cma=256M@512M for Raspberry Pi DRM/VC4topic/extlinux
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/bootloader.pm2
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};