diff options
| author | Fabio Estevam <festevam@gmail.com> | 2017-06-21 17:49:47 -0300 |
|---|---|---|
| committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2017-08-03 00:16:41 +0200 |
| commit | a8480e3b2ab50593b6b8a787430ccb33a0a5a1a0 (patch) | |
| tree | 64af375ecd24d3b99eb6b7abe79af5d0a9ffd2d3 /board/freescale | |
| parent | b63fdf4714ff7b795c00b7bb1bcbfd992853fef8 (diff) | |
| download | buildroot-a8480e3b2ab50593b6b8a787430ccb33a0a5a1a0.tar.gz buildroot-a8480e3b2ab50593b6b8a787430ccb33a0a5a1a0.zip | |
imx6q-sabresd: Add a qt5 defconfig variant
Introduce imx6q-sabresd_qt5_defconfig that supports the opensource
Etnaviv graphical stack.
This defconfig provides a way to quickly test some graphical applications,
such as kmscube, qt5, glmark2.
Currently kernel mainline exhibits issues when running cpufreq as ondemand
governor on mx6, so add a linux fragment that disables such option for the
time being.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
[Arnout:
- Add Fabio to DEVELOPERS
- Rename linux config fragment to linux_qt5.fragment
- Add comment to linux_qt5.fragment why it is needed
- Add explicit CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y to it
- Reorder defconfig entries to they match imx6q-sabresd_defconfig
- Remove strace and host-uboot-tools, neither seems to be needed
- Drop BR2_PACKAGE_QT5BASE_LICENSE_APPROVED, it no longer exists
- Replace BR2_TARGET_ROOTFS_EXT2_BLOCKS with BR2_TARGET_ROOTFS_EXT2_SIZE
- Regenerate .gitlab-ci.yml]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'board/freescale')
| -rw-r--r-- | board/freescale/imx6q-sabresd/linux_qt5.fragment | 4 | ||||
| -rw-r--r-- | board/freescale/imx6q-sabresd/readme.txt | 23 | ||||
| -rw-r--r-- | board/freescale/imx6q-sabresd/rootfs_overlay/root/sabresd.json | 15 |
3 files changed, 42 insertions, 0 deletions
diff --git a/board/freescale/imx6q-sabresd/linux_qt5.fragment b/board/freescale/imx6q-sabresd/linux_qt5.fragment new file mode 100644 index 0000000000..5c0505e510 --- /dev/null +++ b/board/freescale/imx6q-sabresd/linux_qt5.fragment @@ -0,0 +1,4 @@ +# Currently kernel mainline exhibits issues when running cpufreq as ondemand +# governor on mx6. +# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set +CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y diff --git a/board/freescale/imx6q-sabresd/readme.txt b/board/freescale/imx6q-sabresd/readme.txt index 10e973cf9f..b57c4fb0e1 100644 --- a/board/freescale/imx6q-sabresd/readme.txt +++ b/board/freescale/imx6q-sabresd/readme.txt @@ -54,4 +54,27 @@ To boot your newly created system: emulator at 115200 bps, 8n1; - power on the board. +Testing graphics on the i.MX6Q Sabre SD board +============================================= + +The imx6q-sabresd_qt5_defconfig allows to quickly test the graphics +capabilities of i.MX6 using the opensource Etnaviv graphics stack +and kernel mainline. + +In order to build it: + +make imx6q-sabresd_qt5_defconfig +make + +Then flash the SD card as explained above. + +Running kmscube application: + +# kmscube -D /dev/dri/card1 + +Running Qt5 Cinematic Demo: + +# export QT_QPA_EGLFS_KMS_CONFIG=/root/sabresd.json +# /usr/share/Qt5/CinematicExperience/Qt5_CinematicExperience + Enjoy! diff --git a/board/freescale/imx6q-sabresd/rootfs_overlay/root/sabresd.json b/board/freescale/imx6q-sabresd/rootfs_overlay/root/sabresd.json new file mode 100644 index 0000000000..9469dc12a5 --- /dev/null +++ b/board/freescale/imx6q-sabresd/rootfs_overlay/root/sabresd.json @@ -0,0 +1,15 @@ +{ + "device": "/dev/dri/card1", + "hwcursor": false, + "pbuffers": true, + "outputs": [ + { + "name": "HDMI-1", + "mode": "off" + }, + { + "name": "LVDS-1", + "mode": "1024x768" + } + ] +} |

