summaryrefslogtreecommitdiff
path: root/strata/bsp-rpi2/rpi2-firmware.morph
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-10-12 17:15:11 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-10-13 17:16:01 +0000
commit053c64876846fe3a702b2be767fd5633c6bbd616 (patch)
treea734caab15adbf060719f17664e888d891545772 /strata/bsp-rpi2/rpi2-firmware.morph
parent0e3ce24487bfda3770a1634d268273a26545f6e4 (diff)
downloaddefinitions-053c64876846fe3a702b2be767fd5633c6bbd616.tar.gz
Follow some instructions to get VC4 working
http://dri.freedesktop.org/wiki/VC4/
Diffstat (limited to 'strata/bsp-rpi2/rpi2-firmware.morph')
-rw-r--r--strata/bsp-rpi2/rpi2-firmware.morph7
1 files changed, 6 insertions, 1 deletions
diff --git a/strata/bsp-rpi2/rpi2-firmware.morph b/strata/bsp-rpi2/rpi2-firmware.morph
index d0745ecb..fdde0a67 100644
--- a/strata/bsp-rpi2/rpi2-firmware.morph
+++ b/strata/bsp-rpi2/rpi2-firmware.morph
@@ -10,5 +10,10 @@ install-commands:
- cp boot/LICENCE.broadcom "$DESTDIR"/boot/
- |
cat << EOF > "$DESTDIR"/boot/cmdline.txt
- dwc_otg.fiq_fix_enable=2 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=btrfs rootwait rootflags=subvol=systems/default/run
+ dwc_otg.fiq_fix_enable=2 cma=128M console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=btrfs rootwait rootflags=subvol=systems/default/run
+ EOF
+- |
+ cat << EOF > "$DESTDIR"/boot/config.txt
+ mask_gpu_interrupt0=0x400 # VPU shouldn't handle V3D interrupts
+ avoid_warnings=2 # VPU shouldn't smash our display setup.
EOF