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-14 16:25:44 +0000
commitd8bec89610045542c90251bb69dc55f66b73f4a3 (patch)
tree0065b9afa4e770ba08c1b527acb719729f26b0cd /strata/bsp-rpi2/rpi2-firmware.morph
parent7cfd6c093ec825a5ba70053ed70ade3abc80c038 (diff)
downloaddefinitions-d8bec89610045542c90251bb69dc55f66b73f4a3.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