Message ID | 1500123032-9198-2-git-send-email-erik.stromdahl@gmail.com |
---|---|
State | Changes Requested |
Headers | show |
diff --git a/board/raspberrypi/post-image.sh b/board/raspberrypi/post-image.sh index 4f136f6..6715714 100755 --- a/board/raspberrypi/post-image.sh +++ b/board/raspberrypi/post-image.sh @@ -38,6 +38,17 @@ enable_uart=1 __EOF__ fi ;; + --add-vc4-fkms-v3d-overlay) + # Enable VC4 overlay + if ! grep -qE '^dtoverlay=' "${BINARIES_DIR}/rpi-firmware/config.txt"; then + echo "Adding 'dtoverlay=vc4-fkms-v3d' to config.txt." + cat << __EOF__ >> "${BINARIES_DIR}/rpi-firmware/config.txt" + +# Add VC4 GPU support +dtoverlay=vc4-fkms-v3d +__EOF__ + fi + ;; esac done
Add option for adding the vc4-fkms-v3d dtoverlay in config.txt. This will enable the VC4 GPU. Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com> --- Changes v1 -> v2: - Fixed bad print in patch 2 - Fixed commit comment and removed parenthesis in patch 4 (comment from Ricardo Martincoski) board/raspberrypi/post-image.sh | 11 +++++++++++ 1 file changed, 11 insertions(+)