Rework i.MX6UL overrides
v3 cover Rework i.MX6UL overrides
This patchset rework the i.MX6UL overrides to use the feature overrides set, thus allowing it to be dealt as any other i.MX6 SoC.
This is important to avoid unneeded diverging on source code and to increase the reuse of metadata for current and future SoCs.
Changes in v3:
- Use imxgpu3d for override (Tom)
- Use imxgpu3d for override (Tom)
- Use imxgpu2d for override (Tom)
Changes in v2:
- New patch
- New patch
- New patch
- New patch
- New patch
- New patch
- New patch
- New patch
Fabio Berton (19):
xserver-common: Append SRC_URI for imxgpu3d machines
xserver-common: Set PACKAGE_ARCH override for imxgpu3d machines
efl: Set override for imxgpu2d machines
clutter: Set override for imxgpu2d machines
cogl: Set override for imxgpu2d machines
gtk+3: Set override for imxgpu2d machines
opencv: Set override for imxgpu2d machines
libdrm: Set override for imxgpu2d machines
mesa-demos: Set override for imxgpu2d machines
piglit: Set override for imxgpu2d machines
qt4-imx-support: Set override for imxgpu2d machines
firmware-imx: Remove i.MX 6UL specific metadata
imx-lib: Remove i.MX 6UL specific metadata
OBimx-test: Remove i.MX 6UL specific metadata
u-boot-fslc: Remove i.MX 6UL specific metadata
u-boot-imx: Remove i.MX 6UL specific metadata
linux-imx: Remove i.MX 6UL specific metadata
imx-codec: Remove i.MX 6UL specific metadata
imx-parser: Remove i.MX 6UL specific metadata
Otavio Salvador (8):
mesa: Rework recipe to use the feature overrides image_types_fsl.bbclass: Remove i.MX 6UL specific metadata
alsa-state: Remove i.MX 6UL specific metadata
alsa-lib: Remove i.MX 6UL specific metadata
pulseaudio: Remove i.MX 6UL specific metadata imx-base.inc: Convert to use i.MX MACHINEOVERRIDES_EXTENDER imx-base.inc: SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS can be always appended
imx6ulevk: Add mx6 in the MACHINEOVERRIDES set
classes/image_types_fsl.bbclass | 1 - conf/machine/imx6ulevk.conf | 2 +- conf/machine/include/imx-base.inc | 13 +++++-------- .../efl-layer/recipes-efl/efl/efl_%.bbappend | 2 +- .../xserver-common/xserver-common_%.bbappend | 10 ++++------ .../recipes-support/opencv/opencv_2.4.bbappend | 2 +- .../qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc | 8 ++++---- recipes-bsp/alsa-state/alsa-state.bbappend | 2 -- recipes-bsp/firmware-imx/firmware-imx_5.4.bb | 2 +- recipes-bsp/imx-lib/imx-lib_5.4.bb | 2 +- recipes-bsp/imx-test/imx-test_5.7.bb | 2 +- recipes-bsp/u-boot/u-boot-fslc.inc | 2 +- recipes-bsp/u-boot/u-boot-imx_2016.03.bb | 2 +- recipes-graphics/clutter/clutter-1.0_%.bbappend | 2 +- recipes-graphics/cogl/cogl-1.0_%.bbappend | 2 +- recipes-graphics/drm/libdrm_%.bbappend | 4 ++-- recipes-graphics/gtk+/gtk+3_%.bbappend | 4 ++-- recipes-graphics/mesa/mesa-demos_%.bbappend | 2 +- recipes-graphics/mesa/mesa_%.bbappend | 19 +++++++------------ recipes-graphics/piglit/piglit_git.bbappend | 2 +- recipes-kernel/linux/linux-imx_4.1.15.bb | 2 +- recipes-multimedia/alsa/alsa-lib_%.bbappend | 2 -- recipes-multimedia/imx-codec/imx-codec_4.1.4.bb | 2 +- recipes-multimedia/imx-parser/imx-parser_4.1.4.bb | 2 +- recipes-multimedia/pulseaudio/pulseaudio_%.bbappend | 2 -- 25 files changed, 39 insertions(+), 56 deletions(-)
Signature · 1 line
2.11.0
PATCH v3 1/27 xserver-common: Append SRC_URI for imxgpu3d machines
From: Fabio Berton <[email protected]>
Remove variable PATCHES_IMX_SPECIFIC and apply patch for all imxgpu3d machines.
---
Changes in v3:
- Use imxgpu3d for override (Tom)
Changes in v2: None
.../recipes-graphics/xserver-common/xserver-common_%.bbappend | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
dynamic-layers/openembedded-layer/recipes-graphics/xserver-common/xserver-common_%.bbappend +2 -4
@@ -1,10 +1,8 @@ # i.MX extra configuration FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -PATCHES_IMX_SPECIFIC = " file://0016-xserver-common-enable-iglx-module.patch \ -" -SRC_URI_append = " \ - ${PATCHES_IMX_SPECIFIC} \ +SRC_URI_append_imxgpu3d = " \ + file://0016-xserver-common-enable-iglx-module.patch \ " PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}"
Signature · 1 line
2.11.0
PATCH v3 2/27 xserver-common: Set PACKAGE_ARCH override for imxgpu3d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
Patch it's only enable for imxgpu3d, change mx6 override to imxgpu3d and remove unused mx7 override.
---
Changes in v3:
- Use imxgpu3d for override (Tom)
Changes in v2: None
.../recipes-graphics/xserver-common/xserver-common_%.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
dynamic-layers/openembedded-layer/recipes-graphics/xserver-common/xserver-common_%.bbappend +2 -2
@@ -4,5 +4,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI_append_imxgpu3d = " \ file://0016-xserver-common-enable-iglx-module.patch \ " -PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" -PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}" + +PACKAGE_ARCH_imxgpu3d = "${MACHINE_SOCARCH}"
Signature · 1 line
2.11.0
PATCH v3 3/27 mesa: Rework recipe to use the feature overrides
In reply to Otavio SalvadorThe recipe was still using the mx6 specific overrides, which is wrong. We should use the feature overrides so more SoCs can be dealt in the generic way.
---
Changes in v3: None
Changes in v2: None
recipes-graphics/mesa/mesa_%.bbappend | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-)
recipes-graphics/mesa/mesa_%.bbappend +7 -12
@@ -1,15 +1,12 @@ -PACKAGECONFIG_remove_mx6 = "egl gles" +PACKAGECONFIG_remove_imxgpu2d = "egl gles" -PROVIDES_remove_mx6 = "virtual/libgles1 virtual/libgles2 virtual/libopenvg virtual/egl" +PROVIDES_remove_imxgpu2d = "virtual/libgles1 virtual/libgles2 virtual/libopenvg virtual/egl" PROVIDES_remove_imxgpu3d = "virtual/libgl" -USE_VIV_LIBGL = "yes" -USE_VIV_LIBGL_mx6sl = "no" - # FIXME: mesa should support 'x11-no-tls' option python () { overrides = d.getVar("OVERRIDES", True).split(":") - if "mx6" not in overrides: + if "imxgpu2d" not in overrides: return extra_oeconf = d.getVar("EXTRA_OECONF", True)
@@ -18,10 +15,8 @@ python () { } # FIXME: Dirty hack to allow use of Vivante GPU libGL binary -do_install_append_mx6 () { - if [ "${USE_VIV_LIBGL}" = "yes" ]; then - rm -f ${D}${libdir}/libGL.* \ - ${D}${includedir}/GL/gl.h \ - ${D}${includedir}/GL/glext.h - fi +do_install_append_imxgpu3d () { + rm -f ${D}${libdir}/libGL.* \ + ${D}${includedir}/GL/gl.h \ + ${D}${includedir}/GL/glext.h }
Signature · 1 line
2.11.0
PATCH v3 4/27 image_types_fsl.bbclass: Remove i.MX 6UL specific metadata
In reply to Otavio SalvadorThe SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata.
---
Changes in v3: None
Changes in v2: None
classes/image_types_fsl.bbclass | 1 - 1 file changed, 1 deletion(-)
classes/image_types_fsl.bbclass +0 -1
@@ -89,7 +89,6 @@ SDCARD_GENERATION_COMMAND_mxs = "generate_mxs_sdcard" SDCARD_GENERATION_COMMAND_mx25 = "generate_imx_sdcard" SDCARD_GENERATION_COMMAND_mx5 = "generate_imx_sdcard" SDCARD_GENERATION_COMMAND_mx6 = "generate_imx_sdcard" -SDCARD_GENERATION_COMMAND_mx6ul = "generate_imx_sdcard" SDCARD_GENERATION_COMMAND_mx7 = "generate_imx_sdcard" SDCARD_GENERATION_COMMAND_vf = "generate_imx_sdcard"
Signature · 1 line
2.11.0
PATCH v3 5/27 alsa-state: Remove i.MX 6UL specific metadata
In reply to Otavio SalvadorThe SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata.
---
Changes in v3: None
Changes in v2: None
recipes-bsp/alsa-state/alsa-state.bbappend | 2 -- 1 file changed, 2 deletions(-)
recipes-bsp/alsa-state/alsa-state.bbappend +0 -2
@@ -1,8 +1,6 @@ # Append path for freescale layer to include alsa-state asound.conf FILESEXTRAPATHS_prepend_mx6 := "${THISDIR}/${PN}/imx:" -FILESEXTRAPATHS_prepend_mx6ul := "${THISDIR}/${PN}/imx:" FILESEXTRAPATHS_prepend_mx7 := "${THISDIR}/${PN}/imx:" PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}" -PACKAGE_ARCH_mx6ul = "${MACHINE_ARCH}" PACKAGE_ARCH_mx7 = "${MACHINE_ARCH}"
Signature · 1 line
2.11.0
PATCH v3 6/27 alsa-lib: Remove i.MX 6UL specific metadata
In reply to Otavio SalvadorThe SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata.
---
Changes in v3: None
Changes in v2: None
recipes-multimedia/alsa/alsa-lib_%.bbappend | 2 -- 1 file changed, 2 deletions(-)
recipes-multimedia/alsa/alsa-lib_%.bbappend +0 -2
@@ -4,9 +4,7 @@ IMX_PATCH = " file://0001-add-conf-for-multichannel-support-in-imx.patch \ file://0004-pcm-Don-t-store-the-state-for-SND_PCM_STATE_SUSPENDE.patch" SRC_URI_append_mx6 = "${IMX_PATCH}" -SRC_URI_append_mx6ul = "${IMX_PATCH}" SRC_URI_append_mx7 = "${IMX_PATCH}" PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" -PACKAGE_ARCH_mx6ul = "${MACHINE_SOCARCH}" PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}"
Signature · 1 line
2.11.0
PATCH v3 7/27 pulseaudio: Remove i.MX 6UL specific metadata
In reply to Otavio SalvadorThe SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata.
---
Changes in v3: None
Changes in v2: None
recipes-multimedia/pulseaudio/pulseaudio_%.bbappend | 2 -- 1 file changed, 2 deletions(-)
recipes-multimedia/pulseaudio/pulseaudio_%.bbappend +0 -2
@@ -4,7 +4,6 @@ CACHED_CONFIGUREVARS_append_mx6 = " ax_cv_PTHREAD_PRIO_INHERIT=no" FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}/imx:" SRC_URI_append_mx6 = " file://daemon.conf file://default.pa" -SRC_URI_append_mx6ul = " file://daemon.conf file://default.pa" SRC_URI_append_mx7 = " file://daemon.conf file://default.pa \ file://pulseaudio-remove-the-control-for-speaker-headphone-widge.patch \ "
@@ -17,5 +16,4 @@ do_install_append() { } PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" -PACKAGE_ARCH_mx6ul = "${MACHINE_SOCARCH}" PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}"
Signature · 1 line
2.11.0
PATCH v3 8/27 efl: Set override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
Changes in v3:
- Use imxgpu2d for override (Tom)
Changes in v2: None
dynamic-layers/efl-layer/recipes-efl/efl/efl_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
dynamic-layers/efl-layer/recipes-efl/efl/efl_%.bbappend +1 -1
@@ -1,3 +1,3 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -SRC_URI_append_mx6 = " file://0001-Add-preprocessor-definitions-for-Vivante-GLES-header.patch" +SRC_URI_append_imxgpu2d = " file://0001-Add-preprocessor-definitions-for-Vivante-GLES-header.patch"
Signature · 1 line
2.11.0
PATCH v3 9/27 clutter: Set override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
Changes in v3: None
Changes in v2: None
recipes-graphics/clutter/clutter-1.0_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-graphics/clutter/clutter-1.0_%.bbappend +1 -1
@@ -1,4 +1,4 @@ -PACKAGECONFIG_mx6 ??= " \ +PACKAGECONFIG_imxgpu2d ??= " \ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland egl', \ bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11', \ '', d), d)} \
Signature · 1 line
2.11.0
PATCH v3 10/27 cogl: Set override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
Changes in v3: None
Changes in v2: None
recipes-graphics/cogl/cogl-1.0_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-graphics/cogl/cogl-1.0_%.bbappend +1 -1
@@ -1,4 +1,4 @@ -PACKAGECONFIG_mx6 ??= " \ +PACKAGECONFIG_imxgpu2d ??= " \ cogl-pango gles2 \ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'egl-wayland', \ bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \
Signature · 1 line
2.11.0
PATCH v3 11/27 gtk+3: Set override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
Changes in v3: None
Changes in v2: None
recipes-graphics/gtk+/gtk+3_%.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-graphics/gtk+/gtk+3_%.bbappend +2 -2
@@ -1,8 +1,8 @@ -PACKAGECONFIG_remove_mx6 = " \ +PACKAGECONFIG_remove_imxgpu2d = " \ ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "x11", "", d)} \ " -CFLAGS_append_mx6 = " \ +CFLAGS_append_imxgpu2d = " \ -DLINUX \ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-DEGL_API_FB -DEGL_API_WL', '', d)} \ "
Signature · 1 line
2.11.0
PATCH v3 12/27 opencv: Set override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
Changes in v3: None
Changes in v2: None
.../openembedded-layer/recipes-support/opencv/opencv_2.4.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
dynamic-layers/openembedded-layer/recipes-support/opencv/opencv_2.4.bbappend +1 -1
@@ -2,4 +2,4 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI_append_mx6sx = " file://0001-MGS-515-ccc-Opencv-app-can-t-run-on-imx6sx-with-cam.patch" -PACKAGECONFIG_remove_mx6 = "v4l" +PACKAGECONFIG_remove_imxgpu2d = "v4l"
Signature · 1 line
2.11.0
PATCH v3 13/27 libdrm: Set override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
Changes in v3: None
Changes in v2: None
recipes-graphics/drm/libdrm_%.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-graphics/drm/libdrm_%.bbappend +2 -2
@@ -1,5 +1,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -SRC_URI_append_mx6 = " file://drm-update-arm.patch" +SRC_URI_append_imxgpu2d = " file://drm-update-arm.patch" -PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" +PACKAGE_ARCH_imxgpu2d = "${MACHINE_SOCARCH}"
Signature · 1 line
2.11.0
PATCH v3 14/27 mesa-demos: Set override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
Changes in v3: None
Changes in v2: None
recipes-graphics/mesa/mesa-demos_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-graphics/mesa/mesa-demos_%.bbappend +1 -1
@@ -1,6 +1,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -SRC_URI_append_mx6 = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch \ +SRC_URI_append_imxgpu2d = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch \ file://fix-clear-build-break.patch \ file://Additional-eglSwapBuffer-calling-makes-wrong-throttl.patch \ file://Add-OpenVG-demos-to-support-wayland.patch"
Signature · 1 line
2.11.0
PATCH v3 15/27 piglit: Set override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
Changes in v3: None
Changes in v2: None
recipes-graphics/piglit/piglit_git.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-graphics/piglit/piglit_git.bbappend +1 -1
@@ -1 +1 @@ -DEPENDS_append_mx6 = " virtual/egl" +DEPENDS_append_imxgpu2d = " virtual/egl"
Signature · 1 line
2.11.0
PATCH v3 16/27 qt4-imx-support: Set override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
Changes in v3: None
Changes in v2: None
dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc +4 -4
@@ -8,15 +8,15 @@ python __anonymous () { d.appendVarFlag('do_configure', 'depends', ' virtual/kernel:do_shared_workdir') } -SRC_URI_append_mx6 += " \ +SRC_URI_append_imxgpu2d += " \ file://0001-Add-support-for-i.MX-codecs-to-phonon.patch \ file://0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch \ file://0003-i.MX6-force-egl-visual-ID-33.patch \ " -DEPENDS_append_mx6 = " virtual/kernel virtual/libgles2" -QT_GLFLAGS_mx6 = "-opengl es2 -openvg" -QT_CONFIG_FLAGS_append_mx6 = " -I${STAGING_KERNEL_DIR}/include/uapi \ +DEPENDS_append_imxgpu2d = " virtual/kernel virtual/libgles2" +QT_GLFLAGS_imxgpu2d = "-opengl es2 -openvg" +QT_CONFIG_FLAGS_append_imxgpu2d = " -I${STAGING_KERNEL_DIR}/include/uapi \ -I${STAGING_KERNEL_DIR}/include/ \ -DLINUX=1 -DEGL_API_FB=1 \ -DQT_QPA_EXPERIMENTAL_TOUCHEVENT=1"
Signature · 1 line
2.11.0
PATCH v3 17/27 imx-base.inc: Convert to use i.MX MACHINEOVERRIDES_EXTENDER
In reply to Otavio SalvadorThere were some core BSP variables which were still using SoC family names instead of feature overrides (XSERVER_DRIVER, MACHINE_SOCARCH_FILTER) and those needed to be reworked so other SoC families could be dealt in the generic way (e.g: mx6ul).
---
Changes in v3: None
Changes in v2: None
conf/machine/include/imx-base.inc | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-)
conf/machine/include/imx-base.inc +4 -7
@@ -28,7 +28,7 @@ UBOOT_ENTRYPOINT_vf = "0x80008000" PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" XSERVER_DRIVER = "xf86-video-fbdev" -XSERVER_DRIVER_mx6 = "xf86-video-imxfb-vivante" +XSERVER_DRIVER_imxgpu2d = "xf86-video-imxfb-vivante" XSERVER_DRIVER_vf = "xf86-video-modesetting" XSERVER = "xserver-xorg \ xf86-input-evdev \
@@ -73,12 +73,9 @@ MACHINE_SOCARCH_SUFFIX_mx6ul = "-mx6ul" MACHINE_SOCARCH_SUFFIX_mx6ull = "-mx6ul" MACHINE_ARCH_FILTER = "virtual/kernel" -MACHINE_SOCARCH_FILTER_append_mx6 = " imx-vpu libimxvpuapi imx-codec imx-vpuwrap imx-parser" -MACHINE_SOCARCH_FILTER_append_mx6 = " virtual/libopenvg virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl virtual/libg2d" -MACHINE_SOCARCH_FILTER_append_mx6 = " cairo pango" -MACHINE_SOCARCH_FILTER_append_mx6ul = " imx-codec imx-parser" -MACHINE_SOCARCH_FILTER_append_mx6ull = " imx-codec imx-parser" -MACHINE_SOCARCH_FILTER_append_mx7 = " imx-codec imx-parser" +MACHINE_SOCARCH_FILTER_append_imxvpu = " imx-vpu libimxvpuapi imx-codec imx-vpuwrap imx-parser" +MACHINE_SOCARCH_FILTER_append_imxgpu2d = " virtual/libopenvg virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl virtual/libg2d cairo pango" +MACHINE_SOCARCH_FILTER_append_imxpxp = " imx-codec imx-parser" INHERIT += "fsl-dynamic-packagearch"
Signature · 1 line
2.11.0
PATCH v3 18/27 imx-base.inc: SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS can be always appended
In reply to Otavio SalvadorThere is no need to restrict the appending of SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS values as the respective packages will be added only on the supported packages thus not affecting other machines.
---
Changes in v3: None
Changes in v2: None
conf/machine/include/imx-base.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/include/imx-base.inc +1 -1
@@ -79,7 +79,7 @@ MACHINE_SOCARCH_FILTER_append_imxpxp = " imx-codec imx-parser" INHERIT += "fsl-dynamic-packagearch" -SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS_append_mx6 = " \ +SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS_append = " \ imx-gpu-viv->kernel-module-imx-gpu-viv \ libimxvpuapi->imx-vpu \ imx-vpuwrap->imx-vpu \
Signature · 1 line
2.11.0
PATCH v3 19/27 firmware-imx: Remove i.MX 6UL specific metadata
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
The SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata.
---
Changes in v3: None
Changes in v2:
- New patch
recipes-bsp/firmware-imx/firmware-imx_5.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/firmware-imx/firmware-imx_5.4.bb +1 -1
@@ -9,4 +9,4 @@ SRC_URI[sha256sum] = "c5bd4bff48cce9715a5d6d2c190ff3cd2262c7196f7facb9b0eda231c9 #BRCM firmware git SRCREV = "951c1363abe95dd75ab3e9447f640d7807240236" -COMPATIBLE_MACHINE = "(mx5|mx6|mx6ul|mx7)" +COMPATIBLE_MACHINE = "(mx5|mx6|mx7)"
Signature · 1 line
2.11.0
PATCH v3 20/27 imx-lib: Remove i.MX 6UL specific metadata
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
The SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata.
---
Changes in v3: None
Changes in v2:
- New patch
recipes-bsp/imx-lib/imx-lib_5.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/imx-lib/imx-lib_5.4.bb +1 -1
@@ -7,4 +7,4 @@ PE = "1" SRC_URI[md5sum] = "a0da6a01698776f2df05130108c226c9" SRC_URI[sha256sum] = "8d12c4a0a44d29569f1ead3a36adc28402b9c4036b53e11dd3ebf2295e3ce1d0" -COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7)" +COMPATIBLE_MACHINE = "(mx6|mx7)"
Signature · 1 line
2.11.0
PATCH v3 21/27 OBimx-test: Remove i.MX 6UL specific metadata
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
The SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata.
---
Changes in v3: None
Changes in v2:
- New patch
recipes-bsp/imx-test/imx-test_5.7.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/imx-test/imx-test_5.7.bb +1 -1
@@ -5,4 +5,4 @@ include imx-test.inc SRC_URI[md5sum] = "bf55f7c2c9fd6664d640557f7cd107a1" SRC_URI[sha256sum] = "d7a503112098befc91c4d256d8683ca11eb4246123f4e57cf2df498791294888" -COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7)" +COMPATIBLE_MACHINE = "(mx6|mx7)"
Signature · 1 line
2.11.0
PATCH v3 22/27 u-boot-fslc: Remove i.MX 6UL specific metadata
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
The SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata.
---
Changes in v3: None
Changes in v2:
- New patch
recipes-bsp/u-boot/u-boot-fslc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/u-boot/u-boot-fslc.inc +1 -1
@@ -11,7 +11,7 @@ was submitted for revision and it takes some time to become part of a stable \ version, or because it is not applicable for upstreaming." LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" -COMPATIBLE_MACHINE = "(mxs|mx5|mx6|mx6ul|mx7|vf)" +COMPATIBLE_MACHINE = "(mxs|mx5|mx6|mx7|vf)" DEPENDS_mxs += "elftosb-native openssl-native"
Signature · 1 line
2.11.0
PATCH v3 23/27 u-boot-imx: Remove i.MX 6UL specific metadata
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
The SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata.
---
Changes in v3: None
Changes in v2:
- New patch
recipes-bsp/u-boot/u-boot-imx_2016.03.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/u-boot/u-boot-imx_2016.03.bb +1 -1
@@ -19,4 +19,4 @@ inherit fsl-u-boot-localversion LOCALVERSION ?= "-${SRCBRANCH}" PACKAGE_ARCH = "${MACHINE_ARCH}" -COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7)" +COMPATIBLE_MACHINE = "(mx6|mx7)"
Signature · 1 line
2.11.0
PATCH v3 24/27 linux-imx: Remove i.MX 6UL specific metadata
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
The SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata.
---
Changes in v3: None
Changes in v2:
- New patch
recipes-kernel/linux/linux-imx_4.1.15.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-imx_4.1.15.bb +1 -1
@@ -16,4 +16,4 @@ SRCREV = "b63f3f52cb393e3287352cf63f0caef31a33ab63" DEFAULT_PREFERENCE = "1" -COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7)" +COMPATIBLE_MACHINE = "(mx6|mx7)"
Signature · 1 line
2.11.0
PATCH v3 25/27 imx-codec: Remove i.MX 6UL specific metadata
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
The SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata.
---
Changes in v3: None
Changes in v2:
- New patch
recipes-multimedia/imx-codec/imx-codec_4.1.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-multimedia/imx-codec/imx-codec_4.1.4.bb +1 -1
@@ -6,4 +6,4 @@ require imx-codec.inc SRC_URI[md5sum] = "46e2004889fcdedbf259613f0046a7a1" SRC_URI[sha256sum] = "98fe71cb44f7e858c64c5eda81741ed02f40afaadc3d4ed1e693c7d1e684b81d" -COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7)" +COMPATIBLE_MACHINE = "(mx6|mx7)"
Signature · 1 line
2.11.0
PATCH v3 26/27 imx-parser: Remove i.MX 6UL specific metadata
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
The SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata.
---
Changes in v3: None
Changes in v2:
- New patch
recipes-multimedia/imx-parser/imx-parser_4.1.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-multimedia/imx-parser/imx-parser_4.1.4.bb +1 -1
@@ -6,4 +6,4 @@ require imx-parser.inc SRC_URI[md5sum] = "fe8e9367887bf4a30decc6d0368ffbe9" SRC_URI[sha256sum] = "d3a03e60780bbbd0c92932f60bd34d2fe14ffecf6aa6b810723c3edf798cad1f" -COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7)" +COMPATIBLE_MACHINE = "(mx6|mx7)"
Signature · 1 line
2.11.0
PATCH v3 27/27 imx6ulevk: Add mx6 in the MACHINEOVERRIDES set
In reply to Otavio SalvadorThe i.MX 6UL was dealt in a specific way due the metadata not being fully ported still to the feature overrides set; now that most metadata has been converted it is the right time to add the mx6 SoC family here as well.
---
Changes in v3: None
Changes in v2: None
conf/machine/imx6ulevk.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/imx6ulevk.conf +1 -1
@@ -4,7 +4,7 @@ #@DESCRIPTION: Machine configuration for NXP i.MX6UL EVK #@MAINTAINER: Lauren Post <[email protected]> -MACHINEOVERRIDES =. "mx6ul:" +MACHINEOVERRIDES =. "mx6:mx6ul:" include conf/machine/include/imx-base.inc include conf/machine/include/tune-cortexa7.inc
Signature · 1 line
2.11.0
Re: [PATCH v3 01/27] xserver-common: Append SRC_URI for imxgpu3d machines
In reply to Otavio SalvadorHi
meta-freescale morty (and master) currently breaks non imx machines because 0016-xserver-common-enable-iglx-module.patch cannot be fetched.
This patch would be needed to bring back meta-freescale morty to behave nice again.
Max
2017-01-26 14:00 GMT+01:00 Otavio Salvador <[email protected]>:
Quoted 42 lines
From: Fabio Berton <[email protected]>
Remove variable
PATCHES_IMX_SPECIFICand apply patch for all imxgpu3d machines.Signed-off-by Fabio Berton <[email protected]>Signed-off-by Otavio Salvador <[email protected]>---
Changes in v3:
- Use imxgpu3d for override (Tom)Changes in v2: None
.../recipes-graphics/xserver-common/xserver-common_%.bbappend | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)dynamic-layers/openembedded-layer/recipes-graphics/xserver-common/xserver-common_%.bbappend +2
-5@@ -1,10 +1,8 @@ # i.MX extra configuration FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -PATCHES_IMX_SPECIFIC = " file://0016-xserver-common-enable-iglx-module.patch \ -" -SRC_URI_append = " \ - ${PATCHES_IMX_SPECIFIC} \ +SRC_URI_append_imxgpu3d = " \ + file://0016-xserver-common-enable-iglx-module.patch \ " PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}" --2.11.0
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [PATCH v3 01/27] xserver-common: Append SRC_URI for imxgpu3d machines
Quoted 5 lines · Max Krummenacher
meta-freescale morty (and master) currently breaks non imx machines because 0016-xserver-common-enable-iglx-module.patch cannot be fetched.
This patch would be needed to bring back meta-freescale morty to behave nice again.
Agreed. I will apply it soon.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Re: [PATCH v3 01/27] xserver-common: Append SRC_URI for imxgpu3d machines
Quoted 8 lines · Otavio Salvador
Quoted 5 lines · Max Krummenacher
meta-freescale morty (and master) currently breaks non imx machines because 0016-xserver-common-enable-iglx-module.patch cannot be fetched.
This patch would be needed to bring back meta-freescale morty to behave nice again.Agreed. I will apply it soon.
I applied the two needed patches. Give it a go and let us know if there are any problem.
Please give a go to morty-next branch as well. I do want to merge it soon.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Re: [PATCH v3 01/27] xserver-common: Append SRC_URI for imxgpu3d machines
Hello Otavio
Am Donnerstag, den 26.01.2017, 17:08 -0200 schrieb Otavio Salvador:
Quoted 9 lines
Quoted 7 lines · Otavio Salvador
Quoted 5 lines · Max Krummenacher
meta-freescale morty (and master) currently breaks non imx machines because 0016-xserver-common-enable-iglx-module.patch cannot be fetched.
This patch would be needed to bring back meta-freescale morty to behave nice again.
Quoted 4 lines
Quoted 1 line
Agreed. I will apply it soon.
I applied the two needed patches. Give it a go and let us know if there are any problem.
Thank you.
This fixes my build issues for xserver-common with non imx machines on morty.
Quoted 3 lines
Please give a go to morty-next branch as well. I do want to merge it soon.
I rebuild my image based on x11 with morty-next (5e71f0e) successfully.
On a i.MX 6DL this runs fine on the module, including gstreamer video decode and glmark2.
Max