@@ -24,3 +24,6 @@ gpu_mem_1024=200
# Enable UART0 for serial console on ttyAMA0
dtoverlay=miniuart-bt
+
+# Enable DRM VC4 V3D driver
+dtoverlay=vc4-kms-v3d
@@ -20,6 +20,9 @@ BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_XZ=y
BR2_PACKAGE_LIBERATION=y
+BR2_PACKAGE_MESA3D=y
+BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4=y
+BR2_PACKAGE_MESA3D_OPENGL_ES=y
BR2_PACKAGE_QT5=y
BR2_PACKAGE_QT5BASE_EXAMPLES=y
BR2_PACKAGE_QT5BASE_GIF=y
@@ -29,7 +32,6 @@ BR2_PACKAGE_RPI_FIRMWARE=y
BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y
BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y
BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi3/config_3_qt5we.txt"
-BR2_PACKAGE_RPI_USERLAND=y
BR2_PACKAGE_CA_CERTIFICATES=y
BR2_PACKAGE_NTP=y
BR2_PACKAGE_KMOD_TOOLS=y
The package rpi-userland has been marked as ancient and deprecated[1]. It contains code using proprietary APIs to interface to the VideoCore firmware. It has moved to standard linux APIs. It is recommended to use DRM/KMS and Mesa instead. This switches to the mesa3d OpenGLES backend instead of the deprecated one provided by rpi-userland. It implies the load for the vc4-kms-v3d device-tree overlay. [1]: https://github.com/raspberrypi/userland/commit/96a7334ae9d5fc9db7ac92e59852377df63f1848 Signed-off-by: Gaël PORTAY <gael.portay+rtone@gmail.com> --- board/raspberrypi/config_3_qt5we.txt | 3 +++ configs/raspberrypi3_qt5we_defconfig | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-)