From: Joseph Coffland Date: Fri, 30 Nov 2018 21:42:48 +0000 (-0800) Subject: Notes for enabling GPU X-Git-Url: https://git.buildbotics.com/?a=commitdiff_plain;h=5152a52bac8c03001154caf80b09c6ab7b42ffba;p=bbctrl-firmware Notes for enabling GPU --- diff --git a/scripts/install.sh b/scripts/install.sh index fb21aa2..8748351 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -32,6 +32,22 @@ if [ $? -ne 0 ]; then fi +# TODO Enable GPU +#grep ^dtoverlay=vc4-kms-v3d /boot/config.txt >/dev/null +#if [ $? -ne 0 ]; then +# mount -o remount,rw /boot && +# ( +# echo +# echo dtoverlay=vc4-kms-v3d +# echo gpu_mem=16 +# ) >> /boot/config.txt +# mount -o remount,ro /boot +#fi +#grep "plymouth quit" /etc/rc.local +#if [ $? -ne 0 ]; then +# sed -i 's/cd \/home\/pi/cd \/home\/pi; plymouth quit/' /etc/rc.local +#fi + # Fix camera grep dwc_otg.fiq_fsm_mask /boot/cmdline.txt >/dev/null if [ $? -ne 0 ]; then