mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
configs/beaglebone_qt5: switch to using KMS instead of wayland+weston
weston does not work on the ti-sgx SDK, so switch to using KMS directly,
and drop the wayland-related config options.
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[yann.morin.1998@free.fr: split into its own patch]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 8efc5dce98)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
bc099a6215
commit
025ae8d50f
@@ -7,7 +7,7 @@ Description
|
|||||||
This configuration will build a complete image for the beaglebone and
|
This configuration will build a complete image for the beaglebone and
|
||||||
the TI AM335x-EVM, the board type is identified by the on-board
|
the TI AM335x-EVM, the board type is identified by the on-board
|
||||||
EEPROM. The configuration is based on the
|
EEPROM. The configuration is based on the
|
||||||
ti-processor-sdk-02.00.00.00. Device tree blobs for beaglebone
|
ti-processor-sdk-06.01.00.08. Device tree blobs for beaglebone
|
||||||
variants and the evm-sk are built too.
|
variants and the evm-sk are built too.
|
||||||
|
|
||||||
For Qt5 support support use the beaglebone_qt5_defconfig.
|
For Qt5 support support use the beaglebone_qt5_defconfig.
|
||||||
@@ -43,10 +43,20 @@ output/images/
|
|||||||
To copy the image file to the sdcard use dd:
|
To copy the image file to the sdcard use dd:
|
||||||
$ dd if=output/images/sdcard.img of=/dev/XXX
|
$ dd if=output/images/sdcard.img of=/dev/XXX
|
||||||
|
|
||||||
|
|
||||||
|
Running Qt5 hellowindow opengl demo:
|
||||||
|
===================
|
||||||
|
# export QT_QPA_EGLFS_KMS_CONFIG=/etc/qt5/eglfs_kms_cfg.json
|
||||||
|
# export QT_QPA_PLATFORM=eglfs
|
||||||
|
# export QT_QPA_EGLFS_INTEGRATION=none
|
||||||
|
# /usr/lib/qt/examples/opengl/hellowindow/hellowindow
|
||||||
|
|
||||||
|
|
||||||
Tested hardware
|
Tested hardware
|
||||||
===============
|
===============
|
||||||
am335x-evm (rev. 1.1A)
|
am335x-evm (rev. 1.1A)
|
||||||
beagleboneblack (rev. A5A)
|
beagleboneblack (rev. A5A)
|
||||||
beaglebone (rev. A6)
|
beaglebone (rev. A6)
|
||||||
|
|
||||||
|
2020, Adam Duskett <aduskett@gmail.com>
|
||||||
2016, Lothar Felten <lothar.felten@gmail.com>
|
2016, Lothar Felten <lothar.felten@gmail.com>
|
||||||
|
|||||||
15
board/beaglebone/rootfs_overlay/etc/qt5/eglfs_kms_cfg.json
Normal file
15
board/beaglebone/rootfs_overlay/etc/qt5/eglfs_kms_cfg.json
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"device": "/dev/dri/card0",
|
||||||
|
"hwcursor": false,
|
||||||
|
"pbuffers": true,
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "VGA1",
|
||||||
|
"mode": "off"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "HDMI1",
|
||||||
|
"mode": "1024x768"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -20,11 +20,8 @@ BR2_PACKAGE_FBV=y
|
|||||||
BR2_PACKAGE_QT5=y
|
BR2_PACKAGE_QT5=y
|
||||||
BR2_PACKAGE_QT5BASE_EXAMPLES=y
|
BR2_PACKAGE_QT5BASE_EXAMPLES=y
|
||||||
BR2_PACKAGE_QT5BASE_EGLFS=y
|
BR2_PACKAGE_QT5BASE_EGLFS=y
|
||||||
BR2_PACKAGE_QT5BASE_DEFAULT_QPA="wayland"
|
BR2_PACKAGE_QT5BASE_DEFAULT_QPA="eglfs"
|
||||||
BR2_PACKAGE_QT5QUICKCONTROLS=y
|
BR2_PACKAGE_QT5QUICKCONTROLS=y
|
||||||
BR2_PACKAGE_QT5WAYLAND=y
|
|
||||||
BR2_PACKAGE_QT5WAYLAND_COMPOSITOR=y
|
|
||||||
BR2_PACKAGE_WESTON=y
|
|
||||||
BR2_PACKAGE_TI_SGX_DEMOS=y
|
BR2_PACKAGE_TI_SGX_DEMOS=y
|
||||||
BR2_PACKAGE_TI_SGX_KM=y
|
BR2_PACKAGE_TI_SGX_KM=y
|
||||||
BR2_PACKAGE_TI_SGX_UM=y
|
BR2_PACKAGE_TI_SGX_UM=y
|
||||||
|
|||||||
Reference in New Issue
Block a user