Skip to content

Add Xorg support for iMX6

Jérôme Pouiller buildroot 13 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest13 patches 0 repliesNew
  2. v615 patches 0 repliesSuperseded
  3. v5 posting 2/20 of 15 patches 0 repliesSuperseded
Earlier versions · 10
VersionPostedPatchesRepliesStatus
v5 posting 1/215 patches0 repliesSuperseded
v4 posting 4/40 of 14 patches0 repliesSuperseded
v4 posting 3/40 of 14 patches0 repliesSuperseded
v4 posting 2/40 of 14 patches0 repliesSuperseded
v4 posting 1/414 patches0 repliesSuperseded
v3 posting 2/20 of 14 patches0 repliesSuperseded
v3 posting 1/214 patches0 repliesSuperseded
v2 posting 2/20 of 13 patches0 repliesSuperseded
v2 posting 1/213 patches0 repliesSuperseded
v111 patches0 repliesSuperseded

Changes in v7 from the cover letter

- Rebase on master
- Drop already applied 'qt5base: apply new patch naming policy'
- Drop 'qmx6_qt5_demo_defconfig: new defconfig' since there is no other "demo configs" in buildroot.
- Add Tested-by and Reviewed-by from Garry (Thanks you Garry for all tests you did)
- Reword some commits
- Use Makefile tests instead of shell test [Thomas P.]
- Reorder 'bool' before 'select' and 'depends' [Thomas P.]
- Notice xdriver_xf86-video-imx-viv continue to select 'mesa3d' in order to compile Xorg with DRI support. This is far to be optimal since xdriver_xf86-video-imx-viv does not use mesa3d at runtime. The correct way would be to compile Xorg using mesa3d-headers. However it is a really intrusive change and all tests were done without this change. Therefore I finally didn't make this change.

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13mesa3d: Give possibility to external backends to enable DRI/Galliumpackage/mesa3d/mesa3d.mk+2 -21 reply
2/13gpu-viv-bin-mx6q: fix compiling issues with EGL_API_FBpackage/freescale-imx/gpu-viv-bin-mx6q/egl.pc package/freescale-imx/gpu-viv-bin-mx6q/glesv2.pc package/freescale-imx/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.mk +1 more+13 -73 replies
3/13gpu-viv-bin-mx6q: make fb/x11 choice explicitpackage/freescale-imx/gpu-viv-bin-mx6q/Config.in package/freescale-imx/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.mk+22 -31 reply
4/13gpu-viv-bin-mx6q: remove useless build time depspackage/freescale-imx/gpu-viv-bin-mx6q/Config.in package/freescale-imx/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.mk+2 -31 reply
5/13gpu-viv-bin-mx6q: add version in libraries symlinkspackage/freescale-imx/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.mk+8 -41 reply
6/13gpu-viv-bin-mx6q: change output selection mechanismpackage/freescale-imx/gpu-viv-bin-mx6q/Config.in package/freescale-imx/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.mk+6 -71 reply
7/13xdriver_xf86-video-imx-viv: new packagepackage/x11r7/Config.in package/x11r7/xdriver_xf86-video-imx-viv/0001-Fix-LoadExtenions.patch package/x11r7/xdriver_xf86-video-imx-viv/Config.in +1 more+80 -01 reply
8/13qt5base: fix compilation with Vivante headers.package/qt5/qt5base/0004-xcb-egl-fixes.patch+63 -01 reply
9/13qt5base: fix "Unable to find an X11 visual" errorpackage/qt5/qt5base/0001-Force_egl_visual_ID_33.patch package/qt5/qt5base/qt5base.mk+30 -21 reply
10/13Vivante drivers: bump to version 3.10.17-1.0.1package/freescale-imx/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.mk package/x11r7/xdriver_xf86-video-imx-viv/xdriver_xf86-video-imx-viv.mk+4 -315 replies
10/13Vivante drivers: bump to version 3.10.17-1.0.1+0 -02 replies
11/13nitrogen6x_defconfig: bump kernel to 3.10.17_1.0.1_gaconfigs/nitrogen6x_defconfig+2 -11 reply
12/13freescale_imx6*_defconfig: bump kernel to 3.10.17_1.0.1_gaconfigs/freescale_imx6dlsabresd_defconfig configs/freescale_imx6qsabresd_defconfig configs/freescale_imx6sololiteevk_defconfig+6 -31 reply
13/13qmx6_defconfig: updateboard/congatec/qmx6/6q_bootscript.txt board/congatec/qmx6/post-build.sh configs/qmx6_defconfig+21 -131 reply

Reviews trailers per patch

9 of 14 patches have a Reviewed-by or Acked-by.

PatchBernd KuhlsGary Bisson
1/13R-b T-b
2/13T-b T-b
3/13T-b R-b
4/13T-b R-b
5/13T-b R-b
6/13T-b
7/13T-b
8/13T-b
9/13T-b R-b
10/13T-b R-b
10/13T-b R-b
11/13T-b R-b
12/13R-b
13/13T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [Buildroot] [PATCH v7 00/13] Add Xorg support for iMX6

Main purpose of this serie is to add support of Vivante GPU (found on imx6) to Xorg. This work is mainly adapted from Yocto.

v7:
- Rebase on master
- Drop already applied 'qt5base: apply new patch naming policy'
- Drop 'qmx6_qt5_demo_defconfig: new defconfig' since there is no other "demo configs" in buildroot.
- Add Tested-by and Reviewed-by from Garry (Thanks you Garry for all tests you did)
- Reword some commits
- Use Makefile tests instead of shell test [Thomas P.]
- Reorder 'bool' before 'select' and 'depends' [Thomas P.]
- Notice xdriver_xf86-video-imx-viv continue to select 'mesa3d' in order to compile Xorg with DRI support. This is far to be optimal since xdriver_xf86-video-imx-viv does not use mesa3d at runtime. The correct way would be to compile Xorg using mesa3d-headers. However it is a really intrusive change and all tests were done without this change. Therefore I finally didn't make this change.

v6:
- Rebase on master
- Add license for xdriver_xf86-video-imx-viv. Notice this package does not provide any license file.
- Fix typos suggested by Thomas P.
- Fix dependency on libdrm (gpu-viv-bin-mx6q does not depends on libdrm, but xdriver_xf86-video-imx-viv does depend)
- Add a note about runtime dependencies in gpu-viv-bin-mx6q
- Splited patch 6/15 in 3 parts
- Splited patch 10/15 in 2 parts
- Make 0001-Force_egl_visual_ID_33.patch contionnal

v5:
- Add references in commit log of xdriver_xf86-video-imx-viv
- Split qmx6_defconfig in two defconfig: a minimal one and a demo one

v4:
- Fix example config in commit log of xdriver_xf86-video-imx-viv
- Add a note about OpenGL API in xdriver_xf86-video-imx-viv help

v3:
- Respin on next
- Add patch to use self-extractible helper function
- Remove 'See freescale-imx.mk' comment
- Reword patch "gpu-viv-bin-mx6q: change output selection mecanisms"
- libdrm: Apply new patch naming policy
- xdriver_xf86-video-imx-viv: Apply new patch naming policy
- xdriver_xf86-video-imx-viv: Does not depends directly on glibc
- qt5base: Apply new patch naming policy
- qmx6_defconfig: Use internal toochain

v2:
- Rebase on new version of mesa3d
- Reorder some patches (in order to make examples I provide in commit message functional)
- Do not bump version of all freescale packages
- Bump kernel version of imx6 boards

J?r?me Pouiller (13):
mesa3d: Give possibility to external backends to enable DRI/Gallium
gpu-viv-bin-mx6q: fix compiling issues with EGL_API_FB
gpu-viv-bin-mx6q: make fb/x11 choice explicit
gpu-viv-bin-mx6q: remove useless build time deps
gpu-viv-bin-mx6q: add version in libraries symlinks
gpu-viv-bin-mx6q: change output selection mechanism xdriver_xf86-video-imx-viv: new package
qt5base: fix compilation with Vivante headers.
qt5base: fix "Unable to find an X11 visual" error Vivante drivers: bump to version 3.10.17-1.0.1
nitrogen6x_defconfig: bump kernel to 3.10.17_1.0.1_ga freescale_imx6*_defconfig: bump kernel to 3.10.17_1.0.1_ga
qmx6_defconfig: update

 board/congatec/qmx6/6q_bootscript.txt              |  2 -
 board/congatec/qmx6/post-build.sh                  |  7 ---
 configs/freescale_imx6dlsabresd_defconfig          |  3 +-
 configs/freescale_imx6qsabresd_defconfig           |  3 +-
 configs/freescale_imx6sololiteevk_defconfig        |  3 +-
 configs/nitrogen6x_defconfig                       |  3 +-
 configs/qmx6_defconfig                             | 25 +++++++--
 package/freescale-imx/gpu-viv-bin-mx6q/Config.in   | 28 +++++++++-
 package/freescale-imx/gpu-viv-bin-mx6q/egl.pc      |  2 +-
 package/freescale-imx/gpu-viv-bin-mx6q/glesv2.pc   |  2 +-
 .../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.mk           | 40 +++++++-------
 package/freescale-imx/gpu-viv-bin-mx6q/vg.pc       |  2 +-
 package/mesa3d/mesa3d.mk                           |  4 +-
 .../qt5/qt5base/0001-Force_egl_visual_ID_33.patch  | 26 +++++++++
 package/qt5/qt5base/0004-xcb-egl-fixes.patch       | 63 ++++++++++++++++++++++
 package/qt5/qt5base/qt5base.mk                     |  6 ++-
 package/x11r7/Config.in                            |  1 +
 .../0001-Fix-LoadExtenions.patch                   | 15 ++++++
 package/x11r7/xdriver_xf86-video-imx-viv/Config.in | 31 +++++++++++
 .../xdriver_xf86-video-imx-viv.mk                  | 33 ++++++++++++
 20 files changed, 255 insertions(+), 44 deletions(-)
 delete mode 100644 board/congatec/qmx6/6q_bootscript.txt
 delete mode 100755 board/congatec/qmx6/post-build.sh
 create mode 100644 package/qt5/qt5base/0001-Force_egl_visual_ID_33.patch
 create mode 100644 package/qt5/qt5base/0004-xcb-egl-fixes.patch
 create mode 100644 package/x11r7/xdriver_xf86-video-imx-viv/0001-Fix-LoadExtenions.patch
 create mode 100644 package/x11r7/xdriver_xf86-video-imx-viv/Config.in
 create mode 100644 package/x11r7/xdriver_xf86-video-imx-viv/xdriver_xf86-video-imx-viv.mk
Signature · 1 line
1.9.1