Rework i.MX6UL overrides
v2 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 v2:
- New patch
- New patch
- New patch
- New patch
- New patch
- New patch
- New patch
- New patch
Fabio Berton (19):
xserver-commom: Append SRC_URI for imxgpu2d machines
xserver-commom: Set PACKAGE_ARCH override for imxgpu2d machines
efl: Set override for imxgpu3d 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.MX6 UL specific metadata
imx-lib: Remove i.MX6 UL specific metadata
OBimx-test: Remove i.MX6 UL specific metadata
u-boot-fslc: Remove i.MX6 UL specific metadata
u-boot-imx: Remove i.MX6 UL specific metadata
linux-imx: Remove i.MX6 UL specific metadata
imx-codec: Remove i.MX6 UL specific metadata
imx-parser: Remove i.MX6 UL specific metadata
Otavio Salvador (8):
mesa: Rework recipe to use the feature overrides image_types_fsl.bbclass: Remove i.MX6 UL specific metadata
alsa-state: Remove i.MX6 UL specific metadata
alsa-lib: Remove i.MX6 UL specific metadata
pulseaudio: Remove i.MX6 UL 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 +- .../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 +- .../xserver-common/xserver-common_%.bbappend | 10 ++++------ 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 v2 1/27 xserver-commom: Append SRC_URI for imxgpu2d machines
From: Fabio Berton <[email protected]>
Remove variable PATCHES_IMX_SPECIFIC and apply patch for all imxgpu2d machines.
---
Changes in v2: None
recipes-graphics/xserver-common/xserver-common_%.bbappend | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
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_imxgpu2d = " \ + file://0016-xserver-common-enable-iglx-module.patch " PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}"
Signature · 1 line
2.11.0
Re: [PATCH v2 01/27] xserver-commom: Append SRC_URI for imxgpu2d machines
- Fix the package name.
- Use imxgpu3d for the override.
PATCH v2 2/27 xserver-commom: Set PACKAGE_ARCH override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
Patch it's only enable for imxgpu2d, change mx6 override to imxgpu2d and remove unused mx7 override.
---
Changes in v2: None
recipes-graphics/xserver-common/xserver-common_%.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-graphics/xserver-common/xserver-common_%.bbappend +2 -2
@@ -4,5 +4,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI_append_imxgpu2d = " \ file://0016-xserver-common-enable-iglx-module.patch " -PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" -PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}" + +PACKAGE_ARCH_imxgpu2d = "${MACHINE_SOCARCH}"
Signature · 1 line
2.11.0
Re: [PATCH v2 02/27] xserver-commom: Set PACKAGE_ARCH override for imxgpu2d machines
- Fix the package name.
- Use imxgpu3d for the override.
PATCH v2 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 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 v2 4/27 image_types_fsl.bbclass: Remove i.MX6 UL 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 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 v2 5/27 alsa-state: Remove i.MX6 UL 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 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 v2 6/27 alsa-lib: Remove i.MX6 UL 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 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 v2 7/27 pulseaudio: Remove i.MX6 UL 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 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 v2 8/27 efl: Set override for imxgpu3d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
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
Re: [PATCH v2 08/27] efl: Set override for imxgpu3d machines
Fix the subject which should say imxgpu2d.
Tom
PATCH v2 9/27 clutter: Set override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
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 v2 10/27 cogl: Set override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
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 v2 11/27 gtk+3: Set override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
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 v2 12/27 opencv: Set override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
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 v2 13/27 libdrm: Set override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
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 v2 14/27 mesa-demos: Set override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
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 v2 15/27 piglit: Set override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
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 v2 16/27 qt4-imx-support: Set override for imxgpu2d machines
In reply to Otavio SalvadorFrom: Fabio Berton <[email protected]>
---
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 v2 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 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 v2 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 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 v2 19/27 firmware-imx: Remove i.MX6 UL 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 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 v2 20/27 imx-lib: Remove i.MX6 UL 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 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 v2 21/27 OBimx-test: Remove i.MX6 UL 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 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 v2 22/27 u-boot-fslc: Remove i.MX6 UL 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 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 v2 23/27 u-boot-imx: Remove i.MX6 UL 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 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 v2 24/27 linux-imx: Remove i.MX6 UL 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 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 v2 25/27 imx-codec: Remove i.MX6 UL 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 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 v2 26/27 imx-parser: Remove i.MX6 UL 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 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 v2 27/27 imx6ulevk: Add mx6 in the MACHINEOVERRIDES set
In reply to Otavio SalvadorThe i.MX6 UL 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 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
Due to a trademark issue, we shouldn't use the name 'i.MX6' in comments. Use i.MX 6 instead, with a space before the 6. Further, for the full name of an SoC, use no additional spaces, e.g., i.MX 6UL and i.MX 6UltraLite.
Tom
Quoted 85 lines
-----Original Message-----
From: Otavio Salvador [mailto:[email protected]]
Sent: Wednesday, January 25, 2017 10:10 AM
To: meta-freescale Mailing List <[email protected]>
Cc: Tom Hochstein <[email protected]>; Lauren Post <[email protected]>; Daiane Angolini <[email protected]>; Prabhu Sundararaj <[email protected]>; Neena Busireddy <[email protected]>; Otavio Salvador <[email protected]>
Subject: [PATCH v2 00/27] Rework i.MX6UL overridesThis 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 v2:
- New patch
- New patch
- New patch
- New patch
- New patch
- New patch
- New patch
- New patchFabio Berton (19):
xserver-commom: AppendSRC_URIfor imxgpu2d machines
xserver-commom: SetPACKAGE_ARCHoverride for imxgpu2d machines
efl: Set override for imxgpu3d 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.MX6 UL specific metadata
imx-lib: Remove i.MX6 UL specific metadata
OBimx-test: Remove i.MX6 UL specific metadata
u-boot-fslc: Remove i.MX6 UL specific metadata
u-boot-imx: Remove i.MX6 UL specific metadata
linux-imx: Remove i.MX6 UL specific metadata
imx-codec: Remove i.MX6 UL specific metadata
imx-parser: Remove i.MX6 UL specific metadataOtavio Salvador (8):
mesa: Rework recipe to use the feature overrides image_types_fsl.bbclass: Remove i.MX6 UL specific metadata
alsa-state: Remove i.MX6 UL specific metadata
alsa-lib: Remove i.MX6 UL specific metadata
pulseaudio: Remove i.MX6 UL specific metadata imx-base.inc: Convert to use i.MXMACHINEOVERRIDES_EXTENDERimx-base.inc:SIGGEN_EXCLUDE_SAFE_RECIPE_DEPScan be always appended
imx6ulevk: Add mx6 in the MACHINEOVERRIDES setclasses/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 +- .../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 +- .../xserver-common/xserver-common_%.bbappend | 10 ++++------ 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(-)--
2.11.0