All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics
@ 2018-08-07 15:41 Tom Hochstein
  2018-08-07 15:41 ` [PATCH v3 01/43] xserver-xorg: Update OpenGL configuration Tom Hochstein
                   ` (28 more replies)
  0 siblings, 29 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:41 UTC (permalink / raw)
  To: meta-freescale

Extending i.MX 8 Series support to 8QM and 8QXP

v3:
  xserver-xf86-config: Add support for i.MX 8MQ
    - removed

  xserver-xorg: Update OpenGL configuration
    - updated commit message, removed i.MX 8 reference

  imx-vpu-hantro: Update to 1.7.0
    - added changelog

v2:
  imx-dpu-g2d: Limit to i.MX 8MQ support
    - removed

  libdrm: Restore manpages support
  imx-base.inc: Simplify preferred providers for graphics
  imx-base.inc: Remove redundant DEFAULTTUNE setting
  xf86-video-imx-vivante: Set linker flags properly
  mesa: Remove redundant install code
    - accepted and pushed

  wayland-protocols: Add HDR10 metadata and alpha compositing protocols
    - replaced fork with patches

  formfactor: Add machconfig for 6SLL and 7ULP
    - fixed commit message

  imx-vpu-hantro: Update to 1.7.0
    - removed for short term, awaiting changelog for commit message
    
  bluez5: Apply patches for QCA6174 and QCA9377-3
  bluez5: Add patches to support Tufello 1.1 SoC
    - removed

Tom Hochstein (43):
  xserver-xorg: Update OpenGL configuration
  imx-gpu-g2d: Improve COMPATIBLE_MACHINE
  waffle: Configure for i.MX GPU
  weston: Fix non-GPU support
  wayland-protocols: Downgrade to 1.13 for i.MX
  wayland-protocols: Add HDR10 metadata and alpha compositing protocols
  EULA: Update to v24
  linux-imx: Add i.MX 8 support
  u-boot-imx: Add support for i.MX 8QM, 8MQ, and 8QXP
  machine: Add support for i.MX 8QM, 8MQ, and 8QXP
  imx-dpu-g2d: Use machine override for compatibility
  kernel-module-imx-gpu-viv: Update to 6.2.4.p1.6
  imx-gpu-viv: Update to 6.2.4.p1.6
  imx-gpu-g2d: Update to 6.2.4.p1.6
  imx-dpu-g2d: Update to 1.4.6
  xf86-video-imx-vivante: Update to 6.2.4.p1.6
  imx-gpu-viv: Remove wayland-egl files
  imx-gpu-viv: Add support for i.MX 8 and 8X families
  imx-gpu-viv: Add support for OpenCL and OpenVX
  fsl-eula: Extend EULA-based archive support
  u-boot-imx: Deploy tools on boot partition for i.MX 8MQ
  imx-atf: Add new package ARM Trusted Firmware
  imx-sc-firmware: Add new package System Controller Firmware
  imx-boot: Add recipes for i.MX 8 boot partition packages.
  alsa-state: Fix buffer size issue
  alsa-state: Add support for splitting ESAI device
  alsa-state: Fix channel swap issues
  alsa-state: Fix HDMI for i.MX 8M
  alsa-state: Add new codecs for i.MX 8M
  alsa-state: Add i.MX 8 series support
  firmware-imx: Update to 7.6
  firmware-imx: Add support for BCM4356 and BCM89359
  firmware-imx: Add i.MX 8 support
  firmware-qca9377: Add support for QCA9377 on i.MX 7ULP
  firmware-qca6174: Add support for QCA6174 on i.MX 8 Series
  qca-tools: Add fcc_tools
  kernel-module-qca9377: Add support for QCA9377 on i.MX 7ULP
  kernel-module-qca6174: Add support for QCA6174 on i.MX 8 Series
  formfactor: Add machconfig for 6SLL and 7ULP
  imx-kobs: Add i.MX 8 support
  imx-test: Add i.MX 8 support
  imx-vpu: Clarify compatibility for Chips&Media VPU
  imx-vpu-hantro: Update to 1.7.0

 EULA                                               |  539 ++++---
 classes/fsl-eula-graphics.bbclass                  |    9 +
 classes/fsl-eula-unpack.bbclass                    |    2 +-
 classes/fsl-eula-unpack2.bbclass                   |   36 +
 classes/fsl-eula.bbclass                           |   29 +
 conf/machine/imx7ulpevk.conf                       |    2 +-
 conf/machine/imx8mqevk.conf                        |   53 +
 conf/machine/imx8qmmek.conf                        |   49 +
 conf/machine/imx8qxpa0mek.conf                     |   38 +
 conf/machine/imx8qxpmek.conf                       |   40 +
 conf/machine/include/imx-base.inc                  |   24 +
 recipes-bsp/alsa-state/alsa-state.bbappend         |    2 +
 recipes-bsp/alsa-state/alsa-state/imx/asound.conf  |  233 ++-
 recipes-bsp/alsa-state/alsa-state/imx/asound.state | 1546 ++++++++++++++++++++
 .../{firmware-imx_7.5.bb => firmware-imx_7.6.bb}   |   39 +-
 recipes-bsp/firmware-qca/firmware-qca.inc          |   15 +
 recipes-bsp/firmware-qca/firmware-qca6174_2.0.bb   |   27 +
 recipes-bsp/firmware-qca/firmware-qca9377_2.0.bb   |   27 +
 recipes-bsp/firmware-qca/qca-tools_2.0.bb          |   22 +
 .../formfactor/formfactor/mx6sll/machconfig        |   11 +
 .../formfactor/formfactor/mx7ulp/machconfig        |   11 +
 recipes-bsp/formfactor/formfactor_%.bbappend       |    2 +-
 recipes-bsp/imx-atf/imx-atf_1.4.1.bb               |   65 +
 recipes-bsp/imx-kobs/imx-kobs_git.bb               |    6 +-
 recipes-bsp/imx-mkimage/imx-boot_0.2.bb            |  194 +++
 recipes-bsp/imx-mkimage/imx-m4-demos_1.0.1.bb      |   28 +
 recipes-bsp/imx-mkimage/imx-m4-demos_2.3.0.bb      |   42 +
 recipes-bsp/imx-mkimage/imx-m4-demos_2.3.1.bb      |   33 +
 recipes-bsp/imx-mkimage/imx-m4-demos_2.4.0.bb      |   33 +
 recipes-bsp/imx-mkimage/imx-mkimage_git.bb         |   35 +
 recipes-bsp/imx-mkimage/imx-mkimage_git.inc        |   11 +
 recipes-bsp/imx-sc-firmware/imx-sc-firmware_0.7.bb |   50 +
 recipes-bsp/imx-test/imx-test/memtool_profile      |    1 +
 recipes-bsp/imx-test/imx-test_git.bb               |   30 +-
 ...Fix-ion.h-header-inclusion-to-be-standard.patch |   37 +-
 recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.6.0.bb |   33 -
 recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.7.0.bb |   35 +
 recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb              |    6 +-
 recipes-bsp/u-boot/u-boot-imx_2017.03.bb           |   32 +-
 .../{imx-dpu-g2d_1.4.2.bb => imx-dpu-g2d_1.4.6.bb} |    9 +-
 ...g2d_6.2.4.p1.2.bb => imx-gpu-g2d_6.2.4.p1.6.bb} |    9 +-
 recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc     |   32 +-
 .../imx-gpu-viv/imx-gpu-viv_6.2.4.p1.2-aarch64.bb  |    6 -
 ...arch32.bb => imx-gpu-viv_6.2.4.p1.6-aarch32.bb} |    6 +-
 .../imx-gpu-viv/imx-gpu-viv_6.2.4.p1.6-aarch64.bb  |    6 +
 recipes-graphics/waffle/waffle_%.bbappend          |    7 +
 ...1-unstable-Add-alpha-compositing-protocol.patch |  195 +++
 ...0002-unstable-Add-hdr10-metadata-protocol.patch |  134 ++
 recipes-graphics/wayland/wayland-protocols_1.13.bb |   21 +
 recipes-graphics/wayland/weston_4.0.0.imx.bb       |    5 +-
 ...1.2.bb => xf86-video-imx-vivante_6.2.4.p1.6.bb} |    0
 .../xorg-xserver/xserver-xorg_%.bbappend           |    5 +-
 ....bb => kernel-module-imx-gpu-viv_6.2.4.p1.6.bb} |    4 +-
 .../kernel-modules/kernel-module-qca6174_2.0.bb    |    5 +
 .../kernel-modules/kernel-module-qca9377_2.0.bb    |    5 +
 .../kernel-modules/kernel-module-qcacld-lea.inc    |   60 +
 ...7-CLD-LEA-2.0-porting-to-support-Android-.patch |  257 ++++
 ...inate-errors-by-tool-chain-and-disable-de.patch |   66 +
 ...t-add-timeout-for-dbglog_block-fwlog-read.patch |   39 +
 ...-CORE-remove-the-debug-message-in-default.patch |  176 +++
 ...E-cannot-call-spin_lock_bh-in-irq-context.patch |   81 +
 .../0006-Kbuild-disable-QCA_CONFIG_SMP.patch       |   31 +
 .../0007-LEA.NRT_2.0-fix-the-build-error.patch     |   53 +
 .../0008-CORE-add-pcie-multi_if_name-support.patch |   85 ++
 ...meout-when-BMI-request-response-transacti.patch |   83 ++
 ...0-CORE-HIF-PCIe-only-support-one-instance.patch |   45 +
 ...RE-BMI-RF-align-the-utf-firmware-bin-name.patch |   31 +
 ...ORE-revert-two-patches-to-support-QCA-SMP.patch |   81 +
 ...es-os-fix-issue-to-avoid-spin_lock_bh-in-.patch | 1367 +++++++++++++++++
 ...d-CONFIG_HDD_WLAN_WAIT_TIME-support-for-u.patch |   51 +
 .../0015-CORE-HIF-enable-pcie-MSI-feature.patch    |   96 ++
 ...016-MLK-18490-CORE-HDD-add-ssid-len-check.patch |   75 +
 ...cacld-2.0-avoid-overflow-of-bounce-buffer.patch |   29 +
 ...2-qcacld-2.0-fix-the-overflow-of-bounce-b.patch |   90 ++
 .../linux/linux-imx-4.9.88/mx8/defconfig           |  665 +++++++++
 recipes-kernel/linux/linux-imx_4.9.88.bb           |   14 +-
 76 files changed, 6970 insertions(+), 381 deletions(-)
 create mode 100644 classes/fsl-eula-graphics.bbclass
 create mode 100644 classes/fsl-eula-unpack2.bbclass
 create mode 100644 classes/fsl-eula.bbclass
 create mode 100644 conf/machine/imx8mqevk.conf
 create mode 100644 conf/machine/imx8qmmek.conf
 create mode 100644 conf/machine/imx8qxpa0mek.conf
 create mode 100644 conf/machine/imx8qxpmek.conf
 rename recipes-bsp/firmware-imx/{firmware-imx_7.5.bb => firmware-imx_7.6.bb} (72%)
 create mode 100644 recipes-bsp/firmware-qca/firmware-qca.inc
 create mode 100644 recipes-bsp/firmware-qca/firmware-qca6174_2.0.bb
 create mode 100644 recipes-bsp/firmware-qca/firmware-qca9377_2.0.bb
 create mode 100644 recipes-bsp/firmware-qca/qca-tools_2.0.bb
 create mode 100644 recipes-bsp/formfactor/formfactor/mx6sll/machconfig
 create mode 100644 recipes-bsp/formfactor/formfactor/mx7ulp/machconfig
 create mode 100644 recipes-bsp/imx-atf/imx-atf_1.4.1.bb
 create mode 100644 recipes-bsp/imx-mkimage/imx-boot_0.2.bb
 create mode 100644 recipes-bsp/imx-mkimage/imx-m4-demos_1.0.1.bb
 create mode 100644 recipes-bsp/imx-mkimage/imx-m4-demos_2.3.0.bb
 create mode 100644 recipes-bsp/imx-mkimage/imx-m4-demos_2.3.1.bb
 create mode 100644 recipes-bsp/imx-mkimage/imx-m4-demos_2.4.0.bb
 create mode 100644 recipes-bsp/imx-mkimage/imx-mkimage_git.bb
 create mode 100644 recipes-bsp/imx-mkimage/imx-mkimage_git.inc
 create mode 100644 recipes-bsp/imx-sc-firmware/imx-sc-firmware_0.7.bb
 create mode 100644 recipes-bsp/imx-test/imx-test/memtool_profile
 rename recipes-bsp/imx-vpu-hantro/{imx-vpu-hantro-1.6.0 => imx-vpu-hantro}/0001-Fix-ion.h-header-inclusion-to-be-standard.patch (71%)
 delete mode 100644 recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.6.0.bb
 create mode 100644 recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.7.0.bb
 rename recipes-graphics/imx-dpu-g2d/{imx-dpu-g2d_1.4.2.bb => imx-dpu-g2d_1.4.6.bb} (72%)
 rename recipes-graphics/imx-gpu-g2d/{imx-gpu-g2d_6.2.4.p1.2.bb => imx-gpu-g2d_6.2.4.p1.6.bb} (73%)
 delete mode 100644 recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.2-aarch64.bb
 rename recipes-graphics/imx-gpu-viv/{imx-gpu-viv_6.2.4.p1.2-aarch32.bb => imx-gpu-viv_6.2.4.p1.6-aarch32.bb} (60%)
 create mode 100644 recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.6-aarch64.bb
 create mode 100644 recipes-graphics/waffle/waffle_%.bbappend
 create mode 100644 recipes-graphics/wayland/wayland-protocols/0001-unstable-Add-alpha-compositing-protocol.patch
 create mode 100644 recipes-graphics/wayland/wayland-protocols/0002-unstable-Add-hdr10-metadata-protocol.patch
 create mode 100644 recipes-graphics/wayland/wayland-protocols_1.13.bb
 rename recipes-graphics/xorg-driver/{xf86-video-imx-vivante_6.2.4.p1.2.bb => xf86-video-imx-vivante_6.2.4.p1.6.bb} (100%)
 rename recipes-kernel/kernel-modules/{kernel-module-imx-gpu-viv_6.2.4.p1.2.bb => kernel-module-imx-gpu-viv_6.2.4.p1.6.bb} (89%)
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qca6174_2.0.bb
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qca9377_2.0.bb
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea.inc
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0001-CORE-QCA9377-CLD-LEA-2.0-porting-to-support-Android-.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0002-Kbuild-Eliminate-errors-by-tool-chain-and-disable-de.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0003-dbglog_host-add-timeout-for-dbglog_block-fwlog-read.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0004-CORE-remove-the-debug-message-in-default.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0005-CORE-cannot-call-spin_lock_bh-in-irq-context.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0006-Kbuild-disable-QCA_CONFIG_SMP.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0007-LEA.NRT_2.0-fix-the-build-error.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0008-CORE-add-pcie-multi_if_name-support.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0009-CORE-add-timeout-when-BMI-request-response-transacti.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0010-CORE-HIF-PCIe-only-support-one-instance.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0011-CORE-BMI-RF-align-the-utf-firmware-bin-name.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0012-CORE-revert-two-patches-to-support-QCA-SMP.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0013-CORE-services-os-fix-issue-to-avoid-spin_lock_bh-in-.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0014-CLD-CORE-add-CONFIG_HDD_WLAN_WAIT_TIME-support-for-u.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0015-CORE-HIF-enable-pcie-MSI-feature.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0016-MLK-18490-CORE-HDD-add-ssid-len-check.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0017-MLK-18491-qcacld-2.0-avoid-overflow-of-bounce-buffer.patch
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qcacld-lea/0018-MLK-18491-02-qcacld-2.0-fix-the-overflow-of-bounce-b.patch
 create mode 100644 recipes-kernel/linux/linux-imx-4.9.88/mx8/defconfig

-- 
2.7.4



^ permalink raw reply	[flat|nested] 38+ messages in thread

* [PATCH v3 01/43] xserver-xorg: Update OpenGL configuration
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
@ 2018-08-07 15:41 ` Tom Hochstein
  2018-08-07 15:41 ` [PATCH v3 02/43] imx-gpu-g2d: Improve COMPATIBLE_MACHINE Tom Hochstein
                   ` (27 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:41 UTC (permalink / raw)
  To: meta-freescale

Build now with the default OpenGL configuration except
no glamor for i.MX 6 or 7 with GPU.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
index fd14605..c26bb20 100644
--- a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
+++ b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
@@ -1 +1,4 @@
-OPENGL_PKGCONFIGS_imxgpu2d = "dri glx"
+IMX_OPENGL_PKGCONFIGS_REMOVE        = ""
+IMX_OPENGL_PKGCONFIGS_REMOVE_imxgpu = "glamor"
+OPENGL_PKGCONFIGS_remove_mx6        = "${IMX_OPENGL_PKGCONFIGS_REMOVE}"
+OPENGL_PKGCONFIGS_remove_mx7        = "${IMX_OPENGL_PKGCONFIGS_REMOVE}"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 02/43] imx-gpu-g2d: Improve COMPATIBLE_MACHINE
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
  2018-08-07 15:41 ` [PATCH v3 01/43] xserver-xorg: Update OpenGL configuration Tom Hochstein
@ 2018-08-07 15:41 ` Tom Hochstein
  2018-08-07 15:41 ` [PATCH v3 03/43] waffle: Configure for i.MX GPU Tom Hochstein
                   ` (26 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:41 UTC (permalink / raw)
  To: meta-freescale

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.4.p1.2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.4.p1.2.bb b/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.4.p1.2.bb
index eab1d31..60566e1 100644
--- a/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.4.p1.2.bb
+++ b/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.4.p1.2.bb
@@ -35,4 +35,5 @@ FILES_${PN} = "${libdir}/libg2d* /opt"
 FILES_${PN}-dev = "${includedir}"
 INSANE_SKIP_${PN} = "ldflags"
 
-COMPATIBLE_MACHINE = "(mx6|mx7ulp)"
+COMPATIBLE_MACHINE = "(^$)"
+COMPATIBLE_MACHINE_imxgpu2d = "(mx6|mx7)"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 03/43] waffle: Configure for i.MX GPU
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
  2018-08-07 15:41 ` [PATCH v3 01/43] xserver-xorg: Update OpenGL configuration Tom Hochstein
  2018-08-07 15:41 ` [PATCH v3 02/43] imx-gpu-g2d: Improve COMPATIBLE_MACHINE Tom Hochstein
@ 2018-08-07 15:41 ` Tom Hochstein
  2018-08-07 15:41 ` [PATCH v3 04/43] weston: Fix non-GPU support Tom Hochstein
                   ` (25 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:41 UTC (permalink / raw)
  To: meta-freescale

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-graphics/waffle/waffle_%.bbappend | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 recipes-graphics/waffle/waffle_%.bbappend

diff --git a/recipes-graphics/waffle/waffle_%.bbappend b/recipes-graphics/waffle/waffle_%.bbappend
new file mode 100644
index 0000000..9a9de0e
--- /dev/null
+++ b/recipes-graphics/waffle/waffle_%.bbappend
@@ -0,0 +1,7 @@
+PACKAGECONFIG_X11                 = ""
+PACKAGECONFIG_X11_append_imxgpu3d = " x11-egl glx"
+PACKAGECONFIG_imxgpu = " \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'gbm', \
+       bb.utils.contains('DISTRO_FEATURES',     'x11', '${PACKAGECONFIG_X11}', \
+                                                       '', d), d)} \
+"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 04/43] weston: Fix non-GPU support
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (2 preceding siblings ...)
  2018-08-07 15:41 ` [PATCH v3 03/43] waffle: Configure for i.MX GPU Tom Hochstein
@ 2018-08-07 15:41 ` Tom Hochstein
  2018-09-07  8:05   ` [v3,04/43] " Gary Bisson
  2018-08-07 15:41 ` [PATCH v3 05/43] wayland-protocols: Downgrade to 1.13 for i.MX Tom Hochstein
                   ` (24 subsequent siblings)
  28 siblings, 1 reply; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:41 UTC (permalink / raw)
  To: meta-freescale

The desktop failed to start on i.MX parts without GPU. The problem
is fixed, and now the package must be configured for i.MX GPU
support.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-graphics/wayland/weston_4.0.0.imx.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/recipes-graphics/wayland/weston_4.0.0.imx.bb b/recipes-graphics/wayland/weston_4.0.0.imx.bb
index fc6a65f..7a2aab6 100644
--- a/recipes-graphics/wayland/weston_4.0.0.imx.bb
+++ b/recipes-graphics/wayland/weston_4.0.0.imx.bb
@@ -15,7 +15,7 @@ SRC_URI = "git://source.codeaurora.org/external/imx/weston-imx.git;protocol=http
            file://xwayland.weston-start \
            file://0001-weston-launch-Provide-a-default-version-that-doesn-t.patch \
 "
-SRCREV = "bf74309dd16d86537ff07eabf8b499cb2d25277d"
+SRCREV = "642006cbd89e7ae51a7ce672c899614814dc4ef0"
 S = "${WORKDIR}/git"
 
 UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
@@ -48,6 +48,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev
                    ${@bb.utils.filter('DISTRO_FEATURES', 'opengl pam systemd x11', d)} \
                    clients launch"
 PACKAGECONFIG_remove_imxfbdev = "kms"
+PACKAGECONFIG_append_imxgpu   = " imxgpu"
 PACKAGECONFIG_append_imxgpu2d = " imxg2d"
 PACKAGECONFIG_append_imxgpu3d = " cairo-glesv2"
 #
@@ -85,6 +86,8 @@ PACKAGECONFIG[colord] = "--enable-colord,--disable-colord,colord"
 PACKAGECONFIG[clients] = "--enable-clients --enable-simple-clients --enable-demo-clients-install,--disable-clients --disable-simple-clients"
 # Weston with PAM support
 PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam"
+# Weston with i.MX GPU support
+PACKAGECONFIG[imxgpu] = "--enable-imxgpu,--disable-imxgpu"
 # Weston with i.MX G2D renderer
 PACKAGECONFIG[imxg2d] = "--enable-imxg2d,--disable-imxg2d,virtual/libg2d"
 # Weston with OpenGL support
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 05/43] wayland-protocols: Downgrade to 1.13 for i.MX
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (3 preceding siblings ...)
  2018-08-07 15:41 ` [PATCH v3 04/43] weston: Fix non-GPU support Tom Hochstein
@ 2018-08-07 15:41 ` Tom Hochstein
  2018-09-10  8:12   ` Andreas Müller
  2018-08-07 15:41 ` [PATCH v3 06/43] wayland-protocols: Add HDR10 metadata and alpha compositing protocols Tom Hochstein
                   ` (23 subsequent siblings)
  28 siblings, 1 reply; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:41 UTC (permalink / raw)
  To: meta-freescale

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 conf/machine/include/imx-base.inc                  |  4 ++++
 recipes-graphics/wayland/wayland-protocols_1.13.bb | 20 ++++++++++++++++++++
 2 files changed, 24 insertions(+)
 create mode 100644 recipes-graphics/wayland/wayland-protocols_1.13.bb

diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 84a6ace..15c9d19 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -226,6 +226,10 @@ PREFERRED_VERSION_weston_mx6 ?= "4.0.0.imx"
 PREFERRED_VERSION_weston_mx7 ?= "4.0.0.imx"
 PREFERRED_VERSION_weston_mx8 ?= "4.0.0.imx"
 
+PREFERRED_VERSION_wayland-protocols_mx6 ?= "1.13"
+PREFERRED_VERSION_wayland-protocols_mx7 ?= "1.13"
+PREFERRED_VERSION_wayland-protocols_mx8 ?= "1.13"
+
 # Use i.MX libdrm Version
 PREFERRED_VERSION_libdrm_mx6 ?= "2.4.84.imx"
 PREFERRED_VERSION_libdrm_mx7 ?= "2.4.84.imx"
diff --git a/recipes-graphics/wayland/wayland-protocols_1.13.bb b/recipes-graphics/wayland/wayland-protocols_1.13.bb
new file mode 100644
index 0000000..1ef1ee1
--- /dev/null
+++ b/recipes-graphics/wayland/wayland-protocols_1.13.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Collection of additional Wayland protocols"
+DESCRIPTION = "Wayland protocols that add functionality not \
+available in the Wayland core protocol. Such protocols either add \
+completely new functionality, or extend the functionality of some other \
+protocol either in Wayland core, or some other protocol in \
+wayland-protocols."
+HOMEPAGE = "http://wayland.freedesktop.org"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \
+                    file://stable/presentation-time/presentation-time.xml;endline=26;md5=4646cd7d9edc9fa55db941f2d3a7dc53"
+
+SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
+           "
+SRC_URI[md5sum] = "29312149dafcd4a0e739ba94995a574d"
+SRC_URI[sha256sum] = "0758bc8008d5332f431b2a84fea7de64d971ce270ed208206a098ff2ebc68f38"
+
+inherit allarch autotools pkgconfig
+
+PACKAGES = "${PN}"
+FILES_${PN} += "${datadir}/pkgconfig/wayland-protocols.pc"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 06/43] wayland-protocols: Add HDR10 metadata and alpha compositing protocols
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (4 preceding siblings ...)
  2018-08-07 15:41 ` [PATCH v3 05/43] wayland-protocols: Downgrade to 1.13 for i.MX Tom Hochstein
@ 2018-08-07 15:41 ` Tom Hochstein
  2018-08-07 15:41 ` [PATCH v3 07/43] EULA: Update to v24 Tom Hochstein
                   ` (22 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:41 UTC (permalink / raw)
  To: meta-freescale

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 ...1-unstable-Add-alpha-compositing-protocol.patch | 195 +++++++++++++++++++++
 ...0002-unstable-Add-hdr10-metadata-protocol.patch | 134 ++++++++++++++
 recipes-graphics/wayland/wayland-protocols_1.13.bb |   3 +-
 3 files changed, 331 insertions(+), 1 deletion(-)
 create mode 100644 recipes-graphics/wayland/wayland-protocols/0001-unstable-Add-alpha-compositing-protocol.patch
 create mode 100644 recipes-graphics/wayland/wayland-protocols/0002-unstable-Add-hdr10-metadata-protocol.patch

diff --git a/recipes-graphics/wayland/wayland-protocols/0001-unstable-Add-alpha-compositing-protocol.patch b/recipes-graphics/wayland/wayland-protocols/0001-unstable-Add-alpha-compositing-protocol.patch
new file mode 100644
index 0000000..10dc219
--- /dev/null
+++ b/recipes-graphics/wayland/wayland-protocols/0001-unstable-Add-alpha-compositing-protocol.patch
@@ -0,0 +1,195 @@
+From b4be5e338be2301f83f4dfdc0cbb740f0a783464 Mon Sep 17 00:00:00 2001
+From: Haihua Hu <jared.hu@nxp.com>
+Date: Thu, 14 Jun 2018 13:54:08 +0800
+Subject: [PATCH 1/2] unstable: Add alpha-compositing protocol
+
+It's based on the Chromium Wayland protocol of the same name ([1])
+and Alexandros's modified version ([2])with a few changes
+made to the blending_equation enumeration.
+
+Add one more blending_equation "src_alpha / src_alpha"
+
+[1] https://chromium.googlesource.com/chromium/src/+/master/third_party/wayland-protocols/unstable/alpha-compositing/alpha-compositing-unstable-v1.xml
+[2] https://lists.freedesktop.org/archives/wayland-devel/2017-August/034741.html
+
+Upstream-Status: Inappropriate [i.MX specific]
+
+Signed-off-by: Haihua Hu <jared.hu@nxp.com>
+---
+ Makefile.am                                        |   1 +
+ unstable/alpha-compositing/README                  |   6 +
+ .../alpha-compositing-unstable-v1.xml              | 136 +++++++++++++++++++++
+ 3 files changed, 143 insertions(+)
+ create mode 100644 unstable/alpha-compositing/README
+ create mode 100644 unstable/alpha-compositing/alpha-compositing-unstable-v1.xml
+
+diff --git a/Makefile.am b/Makefile.am
+index 4b9a901..e6c44ec 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -17,6 +17,7 @@ unstable_protocols =								\
+ 	unstable/keyboard-shortcuts-inhibit/keyboard-shortcuts-inhibit-unstable-v1.xml \
+ 	unstable/xdg-output/xdg-output-unstable-v1.xml				\
+ 	unstable/input-timestamps/input-timestamps-unstable-v1.xml	\
++	unstable/alpha-compositing/alpha-compositing-unstable-v1.xml	\
+ 	$(NULL)
+ 
+ stable_protocols =								\
+diff --git a/unstable/alpha-compositing/README b/unstable/alpha-compositing/README
+new file mode 100644
+index 0000000..d874156
+--- /dev/null
++++ b/unstable/alpha-compositing/README
+@@ -0,0 +1,6 @@
++Alpha compositing protocol
++
++Maintainers:
++David Reveman <reveman at chromium.org>
++Alexandros Frantzis <alexandros.frantzis at collabora.com>
++Jared Hu <Jared Hu at nxp.com>
+diff --git a/unstable/alpha-compositing/alpha-compositing-unstable-v1.xml b/unstable/alpha-compositing/alpha-compositing-unstable-v1.xml
+new file mode 100644
+index 0000000..0844b3f
+--- /dev/null
++++ b/unstable/alpha-compositing/alpha-compositing-unstable-v1.xml
+@@ -0,0 +1,136 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<protocol name="alpha_compositing_unstable_v1">
++
++  <copyright>
++    Copyright 2016 The Chromium Authors.
++    Copyright 2017 Collabora Ltd
++    Copyright 2018 NXP
++
++    Permission is hereby granted, free of charge, to any person obtaining a
++    copy of this software and associated documentation files (the "Software"),
++    to deal in the Software without restriction, including without limitation
++    the rights to use, copy, modify, merge, publish, distribute, sublicense,
++    and/or sell copies of the Software, and to permit persons to whom the
++    Software is furnished to do so, subject to the following conditions:
++
++    The above copyright notice and this permission notice (including the next
++    paragraph) shall be included in all copies or substantial portions of the
++    Software.
++
++    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
++    THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
++    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
++    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
++    DEALINGS IN THE SOFTWARE.
++  </copyright>
++
++  <description summary="Protocol for more advanced compositing and blending">
++    This protocol specifies a set of interfaces used to control the alpha
++    compositing and blending of surface contents.
++
++    Warning! The protocol described in this file is experimental and backward
++    incompatible changes may be made. Backward compatible changes may be added
++    together with the corresponding interface version bump. Backward
++    incompatible changes are done by bumping the version number in the protocol
++    and interface names and resetting the interface version. Once the protocol
++    is to be declared stable, the 'z' prefix and the version number in the
++    protocol and interface names are removed and the interface version number is
++    reset.
++  </description>
++
++  <interface name="zwp_alpha_compositing_v1" version="1">
++    <description summary="alpha_compositing">
++      The global interface exposing compositing and blending capabilities is
++      used to instantiate an interface extension for a wl_surface object.
++      This extended interface will then allow the client to specify the
++      blending equation and alpha value used for compositing the wl_surface.
++    </description>
++
++    <request name="destroy" type="destructor">
++      <description summary="unbind from the blending interface">
++        Informs the server that the client will not be using this
++        protocol object anymore. This does not affect any other objects,
++        blending objects included.
++      </description>
++    </request>
++
++    <enum name="error">
++      <entry name="blending_exists" value="0"
++             summary="the surface already has a blending object associated"/>
++    </enum>
++
++    <request name="get_blending">
++      <description summary="extend surface interface for blending">
++        Instantiate an interface extension for the given wl_surface to
++        provide surface blending. If the given wl_surface already has
++        a blending object associated, the blending_exists protocol error
++        is raised.
++      </description>
++
++      <arg name="id" type="new_id" interface="zwp_blending_v1"
++           summary="the new blending interface id"/>
++      <arg name="surface" type="object" interface="wl_surface"
++           summary="the surface"/>
++    </request>
++  </interface>
++
++  <interface name="zwp_blending_v1" version="1">
++    <description summary="blending interface to a wl_surface">
++      An additional interface to a wl_surface object, which allows the
++      client to specify the blending equation used for compositing and
++      an alpha value applied to the whole surface.
++
++      When the blending object is created its blending equation is
++      'none' and its alpha is 1.0, i.e., it's inactive by default. Clients
++      can activate it by setting the blending equation and alpha value.
++
++      If the wl_surface associated with the blending object is destroyed,
++      the blending object becomes inert.
++
++      If the blending object is destroyed, the blending state is removed
++      from the wl_surface. The change will be applied on the next
++      wl_surface.commit.
++    </description>
++
++    <request name="destroy" type="destructor">
++      <description summary="remove blending from the surface">
++        The associated wl_surface's blending state is removed.
++        The change is applied on the next wl_surface.commit.
++      </description>
++    </request>
++
++    <enum name="blending_equation">
++      <description summary="different blending equations for compositing">
++        Blending equations that can be used when compositing a surface.
++      </description>
++      <entry name="none" value="0" summary="blending object is inactive"/>
++      <entry name="opaque" value="1" summary="(one, zero)"/>
++      <entry name="premultiplied" value="2" summary="(one, one_minus_src_alpha)"/>
++      <entry name="straight" value="3" summary="(src_alpha, one_minus_src_alpha)" />
++      <entry name="fromsource" value="4" summary="(src_alpha, src_alpha)" />
++    </enum>
++
++    <request name="set_blending">
++      <description summary="set the blending equation">
++        Set the blending equation for compositing the wl_surface.
++
++        The blending equation state is double-buffered state,
++        and will be applied on the next wl_surface.commit.
++      </description>
++      <arg name="equation" type="uint" summary="the new blending equation"/>
++    </request>
++
++    <request name="set_alpha">
++      <description summary="set the alpha value">
++        Set the alpha value applied to the whole surface for compositing.
++
++        The alpha value state is double-buffered state,
++        and will be applied on the next wl_surface.commit.
++      </description>
++      <arg name="value" type="fixed" summary="the new alpha value"/>
++    </request>
++  </interface>
++
++</protocol>
+\ No newline at end of file
+-- 
+2.7.4
+
diff --git a/recipes-graphics/wayland/wayland-protocols/0002-unstable-Add-hdr10-metadata-protocol.patch b/recipes-graphics/wayland/wayland-protocols/0002-unstable-Add-hdr10-metadata-protocol.patch
new file mode 100644
index 0000000..654e8b0
--- /dev/null
+++ b/recipes-graphics/wayland/wayland-protocols/0002-unstable-Add-hdr10-metadata-protocol.patch
@@ -0,0 +1,134 @@
+From 54e847c10a75ec7bd6fbb8fbdd700d085145cdce Mon Sep 17 00:00:00 2001
+From: Haihua Hu <jared.hu@nxp.com>
+Date: Tue, 26 Jun 2018 15:30:18 +0800
+Subject: [PATCH 2/2] unstable: Add hdr10-metadata protocol
+
+this protocol is used to support hdr10 video playback.
+HDR10 metadata is passed to compositor via this interface
+
+Upstream-Status: Inappropriate [i.MX specific]
+
+Signed-off-by: Haihua Hu <jared.hu@nxp.com>
+---
+ Makefile.am                                        |  1 +
+ unstable/hdr10-metadata/README                     |  4 ++
+ .../hdr10-metadata/hdr10-metadata-unstable-v1.xml  | 84 ++++++++++++++++++++++
+ 3 files changed, 89 insertions(+)
+ create mode 100644 unstable/hdr10-metadata/README
+ create mode 100644 unstable/hdr10-metadata/hdr10-metadata-unstable-v1.xml
+
+diff --git a/Makefile.am b/Makefile.am
+index e6c44ec..b8206c7 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -18,6 +18,7 @@ unstable_protocols =								\
+ 	unstable/xdg-output/xdg-output-unstable-v1.xml				\
+ 	unstable/input-timestamps/input-timestamps-unstable-v1.xml	\
+ 	unstable/alpha-compositing/alpha-compositing-unstable-v1.xml	\
++	unstable/hdr10-metadata/hdr10-metadata-unstable-v1.xml		\
+ 	$(NULL)
+ 
+ stable_protocols =								\
+diff --git a/unstable/hdr10-metadata/README b/unstable/hdr10-metadata/README
+new file mode 100644
+index 0000000..58a82f8
+--- /dev/null
++++ b/unstable/hdr10-metadata/README
+@@ -0,0 +1,4 @@
++hdr10 metadata protocol
++
++Maintainers:
++Jared Hu <Jared Hu at nxp.com>
+diff --git a/unstable/hdr10-metadata/hdr10-metadata-unstable-v1.xml b/unstable/hdr10-metadata/hdr10-metadata-unstable-v1.xml
+new file mode 100644
+index 0000000..5b1bac4
+--- /dev/null
++++ b/unstable/hdr10-metadata/hdr10-metadata-unstable-v1.xml
+@@ -0,0 +1,84 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<protocol name="hdr10_metadata_unstable_v1">
++
++  <copyright>
++    Copyright 2018 NXP
++
++    Permission is hereby granted, free of charge, to any person obtaining a
++    copy of this software and associated documentation files (the "Software"),
++    to deal in the Software without restriction, including without limitation
++    the rights to use, copy, modify, merge, publish, distribute, sublicense,
++    and/or sell copies of the Software, and to permit persons to whom the
++    Software is furnished to do so, subject to the following conditions:
++
++    The above copyright notice and this permission notice (including the next
++    paragraph) shall be included in all copies or substantial portions of the
++    Software.
++
++    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
++    THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
++    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
++    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
++    DEALINGS IN THE SOFTWARE.
++  </copyright>
++
++  <description summary="Protocol for sending hdr10 metadata to compositor">
++    This protocol specifies a set of interfaces used to set and control
++    hdr10 metadata of video contents.
++
++    Warning! The protocol described in this file is experimental and backward
++    incompatible changes may be made. Backward compatible changes may be added
++    together with the corresponding interface version bump. Backward
++    incompatible changes are done by bumping the version number in the protocol
++    and interface names and resetting the interface version. Once the protocol
++    is to be declared stable, the 'z' prefix and the version number in the
++    protocol and interface names are removed and the interface version number is
++    reset.
++  </description>
++
++  <interface name="zwp_hdr10_metadata_v1" version="1">
++    <description summary="hdr10_metadata">
++      The global interface exposing hdr10 metadata capabilities is
++      used to instantiate an interface extension for compositor.
++      This extended interface will then allow the client to pass hdr10 metadata
++      to compositor and send to display driver if supported.
++    </description>
++
++    <request name="destroy" type="destructor">
++      <description summary="unbind from the hdr10 metadata interface">
++        Informs the server that the client will not be using this
++        protocol object anymore. This does not affect any other objects.
++      </description>
++    </request>
++
++    <enum name="error">
++      <entry name="sending_meta_error" value="0"
++             summary="error occurs when compositor handle metadata"/>
++    </enum>
++
++    <request name="set_metadata">
++      <description summary="interface of setting and controling hdr10 metadata">
++        client can use this interface pass hdr10 metadata to server. Server need
++        use the recived metadata to enable hdr mode.
++      </description>
++
++      <arg name="eotf" type="uint" summary="supported eotf"/>
++      <arg name="type" type="uint" summary="supported type"/>
++      <arg name="display_primaries_red" type="uint"
++        summary="display primaries of red, high 16bits for x, and low 16bits for y"/>
++      <arg name="display_primaries_green" type="uint"
++        summary="display primaries of green, high 16bits for x, and low 16bits for y"/>
++      <arg name="display_primaries_blue" type="uint"
++        summary="display primaries of blue, high 16bits for x, and low 16bits for y"/>
++      <arg name="white_point" type="uint"
++        summary="white point, high 16bits for x, and low 16bits for blue"/>
++      <arg name="mastering_display_luminance" type="uint"
++        summary="max and min mastering display luminance, high 16 bits for max, and low 16 bits for min"/>
++      <arg name="max_cll" type="uint" summary="max content light level"/>
++      <arg name="max_fall" type="uint" summary="max frame average light level"/>
++    </request>
++  </interface>
++
++</protocol>
+-- 
+2.7.4
+
diff --git a/recipes-graphics/wayland/wayland-protocols_1.13.bb b/recipes-graphics/wayland/wayland-protocols_1.13.bb
index 1ef1ee1..ef8fd73 100644
--- a/recipes-graphics/wayland/wayland-protocols_1.13.bb
+++ b/recipes-graphics/wayland/wayland-protocols_1.13.bb
@@ -10,7 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \
                     file://stable/presentation-time/presentation-time.xml;endline=26;md5=4646cd7d9edc9fa55db941f2d3a7dc53"
 
 SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
-           "
+           file://0001-unstable-Add-alpha-compositing-protocol.patch \
+           file://0002-unstable-Add-hdr10-metadata-protocol.patch"
 SRC_URI[md5sum] = "29312149dafcd4a0e739ba94995a574d"
 SRC_URI[sha256sum] = "0758bc8008d5332f431b2a84fea7de64d971ce270ed208206a098ff2ebc68f38"
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 07/43] EULA: Update to v24
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (5 preceding siblings ...)
  2018-08-07 15:41 ` [PATCH v3 06/43] wayland-protocols: Add HDR10 metadata and alpha compositing protocols Tom Hochstein
@ 2018-08-07 15:41 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 08/43] linux-imx: Add i.MX 8 support Tom Hochstein
                   ` (21 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:41 UTC (permalink / raw)
  To: meta-freescale

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 EULA                                           | 539 ++++++++++++++-----------
 classes/fsl-eula-unpack.bbclass                |   2 +-
 recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc |   3 +-
 3 files changed, 301 insertions(+), 243 deletions(-)

diff --git a/EULA b/EULA
index 8acbf5a..4504a14 100644
--- a/EULA
+++ b/EULA
@@ -1,20 +1,24 @@
-LA_OPT_BASE_LICENSE v14 June 2016
+LA_OPT_BASE_LICENSE v24 May 2018
+
+
+
+IMPORTANT.  Read the following NXP Software License Agreement ("Agreement")
+completely.    By selecting the "I Accept" button at the end of this page, you
+indicate that you accept the terms of the Agreement and you acknowledge that
+you have the authority, for yourself or on behalf of your company, to bind your
+company to these terms.  You may then download or install the file.
+
+
+
+NXP SOFTWARE LICENSE AGREEMENT
 
-IMPORTANT.  Read the following NXP Semiconductors Software License Agreement
-("Agreement") completely.    By selecting the "I Accept" button at the end of
-this page, you indicate that you accept the terms of the Agreement and you
-acknowledge that you have the authority, for yourself or on behalf of your
-company, to bind your company to these terms.  You may then download or install
-the file.
 
-NXP SEMICONDUCTORS SOFTWARE LICENSE AGREEMENT
 
 This is a legal agreement between you, as an authorized representative of your
 employer, or if you have no employer, as an individual (together "you"), and
-Freescale Semiconductor, Inc., a wholly-owned subsidiary of NXP Semiconductors
-N.V. ("NXP").  It concerns your rights to use the software identified in the
-Software Content Register and provided to you in binary or source code form and
-any accompanying written materials (the "Licensed Software"). The Licensed
+NXP B.V. ("NXP").  It concerns your rights to use the software identified in
+the Software Content Register and provided to you in binary or source code form
+and any accompanying written materials (the "Licensed Software"). The Licensed
 Software may include any updates or error corrections or documentation relating
 to the Licensed Software provided to you by NXP under this License. In
 consideration for NXP allowing you to access the Licensed Software, you are
@@ -26,10 +30,20 @@ copies of the Licensed Software that you have already distributed, where
 permitted, and do not destroy will continue to be governed by this Agreement.
 Your prior use will also continue to be governed by this Agreement.
 
-1.                       DEFINITIONS
-
-1.1. "Affiliates" means, any corporation, or entity directly or indirectly
-controlled by, controlling, or under common control with NXP Semiconductors N.V.
+1.              DEFINITIONS
+
+1.1. For NXP, the term "Affiliate" means (i) any Person Controlled by NXP
+Semiconductors N.V. or (ii) any Person Controlled by any transferee of all or
+substantially all of the assets of NXP Semiconductors N.V., where "Controlled"
+means the direct or indirect beneficial ownership of more than fifty percent
+(50%) of the voting stock, or decision-making authority in the event that there
+is no voting stock, in another entity; provided, any such Person described in
+clause (i) or (ii) shall be deemed to be an "Affiliate" only for so long as
+such Person is Controlled by NXP Semiconductors N.V. or such transferee. For
+the purposes of this definition, "Person" is defined to mean "an individual,
+corporation, partnership, limited liability company, association,
+unincorporated association, trust or other entity or organization, including a
+government or political subdivision or an agency or instrumentality thereof."
 
 1.2. "Essential Patent" means a patent to the limited extent that infringement
 of such patent cannot be avoided in remaining compliant with the technology
@@ -41,18 +55,17 @@ generally available at the time of standardization.
 1.3. "Intellectual Property Rights" means any and all rights under statute,
 common law or equity in and under copyrights, trade secrets, and patents
 (including utility models), and analogous rights throughout the world,
-including any applications for and the right to apply for, any of the
-foregoing.
+including any applications for and the right to apply for, any of the foregoing.
 
 1.4. "Software Content Register" means the documentation accompanying the
 Licensed Software which identifies the contents of the Licensed Software,
 including but not limited to identification of any Third Party Software.
 
 1.5. "Third Party Software" means, any software included in the Licensed
-Software that is not NXP Proprietary software, and is not open source
-software, and to which different license terms may apply.
+Software that is not NXP Proprietary software, and is not open source software,
+and to which different license terms may apply.
 
-2.                       LICENSE GRANT.
+2.              LICENSE GRANT.
 
 2.1. Separate license grants to Third Party Software, or other terms applicable
 to the Licensed Software if different from those granted in this Section 2, are
@@ -62,35 +75,38 @@ any, that is subject to the different terms in Appendix A.
 
 2.2. Exclusively in connection with your development and distribution of
 product containing a programmable processing unit (e.g. a microprocessor,
-microcontroller, sensor or digital signal processor) supplied directly or
-indirectly from NXP ("Authorized System") NXP grants you a world-wide,
+microcontroller, sensor or digital signal processor) ("NXP Product") supplied
+directly or indirectly from NXP ("Authorized System"), and exclusively for use
+with or integrated within an NXP Product, NXP grants you a world-wide,
 personal, non-transferable, non-exclusive, non-sublicensable, license, under
 NXP's Intellectual Property Rights:
 
-(a)      to use and reproduce the Licensed Software only as part of, or
-integrated within, Authorized Systems and not on a standalone basis;
+(a)   to use and reproduce the Licensed Software only as part of, or integrated
+within, Authorized Systems and not on a standalone basis;
 
-(b)     to directly or indirectly manufacture, demonstrate, copy, distribute,
+(b)   to directly or indirectly manufacture, demonstrate, copy, distribute,
 market and sell the Licensed Software in object code (machine readable) only as
 part of, or embedded within, Authorized Systems in object code form and not on
 a standalone basis.  Notwithstanding the foregoing, those files marked as .h
 files ("Header files") may be distributed in source or object code form, but
 only as part of, or embedded within Authorized Systems.
 
-(c)      to copy, use and distribute as needed, solely in connection with an
+(c)    to copy, use and distribute as needed, solely in connection with an
 Authorized System, proprietary NXP information associated with the Licensed
 Software for the purpose of developing, maintaining and supporting Authorized
 Systems with which the Licensed Software is integrated or associated.
 
-2.3. For NXP Licensed Software provided to you in source code form (human
-readable), NXP further grants to you a worldwide, personal, non-transferable,
-non-exclusive, non-sublicensable, license, under NXP's Intellectual Property
-Rights:
 
-(a)      to prepare derivative works of the Licensed Software, only as part of,
-or integrated within, Authorized Systems and not on a standalone basis;
 
-(b)     to use, demonstrate, copy, distribute, market and sell the derivative
+2.3. For Licensed Software provided to you in source code form (human
+readable), exclusively for use with or integrated within an NXP Product, NXP
+further grants to you a worldwide, personal, non-transferable, non-exclusive,
+non-sublicensable, license, under NXP's Intellectual Property Rights:
+
+(a)   to prepare derivative works of the Licensed Software, only as part of, or
+integrated within, Authorized Systems and not on a standalone basis;
+
+(b)   to use, demonstrate, copy, distribute, market and sell the derivative
 works of the Licensed Software in object code (machine readable) only as part
 of, or integrated within, Authorized Systems and not on a standalone basis.
 Notwithstanding the foregoing, those files marked as .h files ("Header files")
@@ -105,15 +121,15 @@ subcontractors' adherence to the terms of this Agreement and for any and all
 acts and omissions of such subcontractors with respect to this Agreement and
 the Licensed Software.
 
-3.                       LICENSE LIMITATIONS AND RESTRICTIONS.
+3.              LICENSE LIMITATIONS AND RESTRICTIONS.
 
 3.1. The licenses granted above in Section 2.3 only extend to NXP intellectual
 property rights that would be infringed by the Licensed Software prior to your
 preparation of any derivative work.
 
 3.2. The Licensed Software is licensed to you, not sold.  Title to Licensed
-Software delivered hereunder remains vested in NXP or NXP's licensor and
-cannot be assigned or transferred.  You are expressly forbidden from selling or
+Software delivered hereunder remains vested in NXP or NXP's licensor and cannot
+be assigned or transferred.  You are expressly forbidden from selling or
 otherwise distributing the Licensed Software, or any portion thereof, except as
 expressly permitted herein.  This Agreement does not grant to you any implied
 rights under any NXP or third party intellectual property.
@@ -127,6 +143,7 @@ to the extent applicable law specifically prohibits such restriction.
 3.4. You must reproduce any and all of NXP's (or its third party licensor's)
 copyright notices and other proprietary legends on copies of Licensed Software.
 
+
 3.5. If you distribute the Licensed Software to the United States Government,
 then the Licensed Software is "restricted computer software" and is subject to
 FAR 52.227-19 (c)(1) and (c)(2).
@@ -151,46 +168,46 @@ must advise NXP of any results obtained including any problems or suggested
 improvements thereof.  NXP retains the right to use such results and related
 information in any manner it deems appropriate.
 
-4.                       OPEN SOURCE.         Open source software included
-in the Licensed Software is not licensed under the terms of this Agreement,
-but is instead licensed under the terms of the applicable open source
-license(s), such as the BSD License, Apache License or the GNU Lesser General
-Public License.  Your use of the open source software is subject to the terms
-of each applicable license.  You must agree to the terms of each applicable
-license, or you cannot use the open source software.
-
-5.                       INTELLECTUAL PROPERTY RIGHTS.    Subject to NXP's
-ownership interest in the underlying Licensed Software, all intellectual
-property rights associated with, and title to, your Authorized System will
-be retained by or will vest in you. Your modifications to the Licensed
-Software, and all intellectual property rights associated with, and title
-thereto, will be the property of NXP.  Upon request, you must provide NXP
-the source code of any derivative of the Licensed Software.  You agree to
-assign all, and hereby do assign all rights, title, and interest to any such
-modifications to the Licensed Software to NXP and agree to provide all
-assistance reasonably requested by NXP to establish, preserve or enforce such
-right.  Further, you agree to waive all moral rights relating to your
-modifications to the Licensed Software, including, without limitation, all
-rights of identification of authorship and all rights of approval, restriction,
-or limitation on use or subsequent modification.  Notwithstanding the
-foregoing, you will have the license rights granted in Section 2 hereto to any
-such modifications made by you or your licensees.
-
-6.                       PATENT COVENANT NOT TO SUE. As partial, material
-consideration for the rights granted to you under this Agreement, you covenant
-not to sue or otherwise assert your patents against NXP, a NXP Affiliate or
-subsidiary, or a NXP licensee of the Licensed Software for infringement of your
-Intellectual Property Rights by the manufacture, use, sale, offer for sale,
-importation or other disposition or promotion of the Licensed Software and/or
-any redistributed portions of the Licensed Software.
-
-7.                       ESSENTIAL PATENTS.  You are solely responsible for
-obtaining licenses for any relevant Essential Patents for your use in
-connection with technology that you incorporate into your product (whether as
-part of the Licensed Software or not).
-
-8.                       TERM AND TERMINATION.   This Agreement will remain in
-effect unless terminated as provided in this Section 8.
+4.              OPEN SOURCE.         Open source software included in the
+Licensed Software is not licensed under the terms of this Agreement but is
+instead licensed under the terms of the applicable open source license(s), such
+as the BSD License, Apache License or the GNU Lesser General Public License.
+Your use of the open source software is subject to the terms of each applicable
+license.  You must agree to the terms of each applicable license, or you cannot
+use the open source software.
+
+5.              INTELLECTUAL PROPERTY RIGHTS.    Subject to NXP's ownership
+interest in the underlying Licensed Software, all intellectual property rights
+associated with, and title to, your Authorized System will be retained by or
+will vest in you. Your modifications to the Licensed Software, and all
+intellectual property rights associated with, and title thereto, will be the
+property of NXP.  Upon request, you must provide NXP the source code of any
+derivative of the Licensed Software.  You agree to assign all, and hereby do
+assign all rights, title, and interest to any such modifications to the
+Licensed Software to NXP and agree to provide all assistance reasonably
+requested by NXP to establish, preserve or enforce such right.  Further, you
+agree to waive all moral rights relating to your modifications to the Licensed
+Software, including, without limitation, all rights of identification of
+authorship and all rights of approval, restriction, or limitation on use or
+subsequent modification.  Notwithstanding the foregoing, you will have the
+license rights granted in Section 2 hereto to any such modifications made by
+you or your licensees.
+
+6.              PATENT COVENANT NOT TO SUE. As partial, material consideration
+for the rights granted to you under this Agreement, you covenant not to sue or
+otherwise assert your patents against NXP, a NXP Affiliate or subsidiary, or a
+NXP licensee of the Licensed Software for infringement of your Intellectual
+Property Rights by the manufacture, use, sale, offer for sale, importation or
+other disposition or promotion of the Licensed Software and/or any
+redistributed portions of the Licensed Software.
+
+7.              ESSENTIAL PATENTS.  You are solely responsible for obtaining
+licenses for any relevant Essential Patents for your use in connection with
+technology that you incorporate into your product (whether as part of the
+Licensed Software or not).
+
+8.              TERM AND TERMINATION.   This Agreement will remain in effect
+unless terminated as provided in this Section 8.
 
 8.1. You may terminate this Agreement immediately upon written notice to NXP at
 the address provided below.
@@ -203,7 +220,7 @@ party at the address below.
 
 8.3. Notwithstanding the foregoing, NXP may terminate this Agreement
 immediately upon written notice if you: breach any of your confidentiality
-obligations or the license restrictions under this Agreement;  become bankrupt,
+obligations or the license restrictions under this Agreement; become bankrupt,
 insolvent, or file a petition for bankruptcy or insolvency, make an assignment
 for the benefit of its creditors; enter proceedings for winding up or
 dissolution ;are dissolved; or are nationalized or become subject to the
@@ -225,152 +242,154 @@ of the Licensed Software have been destroyed.
 8.6. Notwithstanding the termination of this Agreement for any reason, the
 terms of Sections 1, 3, 5 through 25 will survive.
 
-9.                       SUPPORT.  NXP is not obligated to provide any support,
-upgrades or new releases of the Licensed Software under this Agreement. If you
-wish, you may contact NXP and report problems and provide suggestions regarding
-the Licensed Software. NXP has no obligation to respond to such a problem
-report or suggestion. NXP may make changes to the Licensed Software at any
-time, without any obligation to notify or provide updated versions of the
-Licensed Software to you.
+9.              SUPPORT.  NXP is not obligated to provide any support, upgrades
+or new releases of the Licensed Software under this Agreement. If you wish, you
+may contact NXP and report problems and provide suggestions regarding the
+Licensed Software. NXP has no obligation to respond to such a problem report or
+suggestion. NXP may make changes to the Licensed Software at any time, without
+any obligation to notify or provide updated versions of the Licensed Software
+to you.
+
 
-10.                   NO WARRANTY.  To the maximum extent permitted by law, NXP
+10.           NO WARRANTY.  To the maximum extent permitted by law, NXP
 expressly disclaims any warranty for the Licensed Software.  The Licensed
-Software is provided "AS ISh, without warranty of any kind, either express or
+Software is provided "AS IS", without warranty of any kind, either express or
 implied, including without limitation the implied warranties of
 merchantability, fitness for a particular purpose, or non-infringement.  You
 assume the entire risk arising out of the use or performance of the licensed
 software, or any systems you design using the licensed software (if any).
 
-11.                   INDEMNITY. You agree to fully defend and indemnify NXP
-from all claims, liabilities, and costs (including reasonable attorney's fees)
-related to (1) your use (including your contractors or distributee's use, if
-permitted) of the Licensed Software or (2) your violation of the terms and
-conditions of this Agreement.
-
-12.                   LIMITATION OF LIABILITY.  EXCLUDING LIABILITY FOR A
-BREACH OF SECTION 2 (LICENSE GRANTS), SECTION 3 (LICENSE LIMITATIONS AND
-RESTRICTIONS), SECTION 17 (CONFIDENTIAL INFORMATION), OR CLAIMS UNDER SECTION
-11(INDEMNITY), IN NO EVENT WILL EITHER PARTY BE LIABLE, WHETHER IN CONTRACT,
-TORT, OR OTHERWISE, FOR ANY INCIDENTAL, SPECIAL, INDIRECT, CONSEQUENTIAL OR
-PUNITIVE DAMAGES, INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR ANY LOSS OF USE,
-LOSS OF TIME, INCONVENIENCE, COMMERCIAL LOSS, OR LOST PROFITS, SAVINGS, OR
-REVENUES, TO THE FULL EXTENT SUCH MAY BE DISCLAIMED BY LAW.  NXP'S TOTAL
-LIABILITY FOR ALL COSTS, DAMAGES, CLAIMS, OR LOSSES WHATSOEVER ARISING OUT OF
-OR IN CONNECTION WITH THIS AGREEMENT OR PRODUCT(S) SUPPLIED UNDER THIS
-AGREEMENT IS LIMITED TO THE AGGREGATE AMOUNT PAID BY YOU TO NXP IN CONNECTION
-WITH THE LICENSED SOFTWARE TO WHICH LOSSES OR DAMAGES ARE CLAIMED.
-
-13.                   EXPORT COMPLIANCE. Each party shall comply with all
-applicable export and import control laws and regulations including but not
-limited to the US Export Administration Regulations (including prohibited party
-lists issued by other federal governments), Catch-all regulations and all
-national and international embargoes. Each party further agrees that it will
-not knowingly transfer, divert, export or re-export, directly or indirectly,
-any product, software, including software source code, or technology restricted
-by such regulations or by other applicable national regulations, received from
-the other party under this Agreement, or any direct product of such software or
+11.           INDEMNITY. You agree to fully defend and indemnify NXP from all
+claims, liabilities, and costs (including reasonable attorney's fees) related
+to (1) your use (including your contractors or distributee's use, if permitted)
+of the Licensed Software or (2) your violation of the terms and conditions of
+this Agreement.
+
+12.           LIMITATION OF LIABILITY.  EXCLUDING LIABILITY FOR A BREACH OF
+SECTION 2 (LICENSE GRANTS), SECTION 3 (LICENSE LIMITATIONS AND RESTRICTIONS),
+SECTION 17 (CONFIDENTIAL INFORMATION), OR CLAIMS UNDER SECTION 11(INDEMNITY),
+IN NO EVENT WILL EITHER PARTY BE LIABLE, WHETHER IN CONTRACT, TORT, OR
+OTHERWISE, FOR ANY INCIDENTAL, SPECIAL, INDIRECT, CONSEQUENTIAL OR PUNITIVE
+DAMAGES, INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR ANY LOSS OF USE, LOSS OF
+TIME, INCONVENIENCE, COMMERCIAL LOSS, OR LOST PROFITS, SAVINGS, OR REVENUES, TO
+THE FULL EXTENT SUCH MAY BE DISCLAIMED BY LAW.  NXP'S TOTAL LIABILITY FOR ALL
+COSTS, DAMAGES, CLAIMS, OR LOSSES WHATSOEVER ARISING OUT OF OR IN CONNECTION
+WITH THIS AGREEMENT OR PRODUCT(S) SUPPLIED UNDER THIS AGREEMENT IS LIMITED TO
+THE AGGREGATE AMOUNT PAID BY YOU TO NXP IN CONNECTION WITH THE LICENSED
+SOFTWARE TO WHICH LOSSES OR DAMAGES ARE CLAIMED.
+
+
+13.           EXPORT COMPLIANCE. Each party shall comply with all applicable
+export and import control laws and regulations including but not limited to the
+US Export Administration Regulations (including prohibited party lists issued
+by other federal governments), Catch-all regulations and all national and
+international embargoes. Each party further agrees that it will not knowingly
+transfer, divert, export or re-export, directly or indirectly, any product,
+software, including software source code, or technology restricted by such
+regulations or by other applicable national regulations, received from the
+other party under this Agreement, or any direct product of such software or
 technical data to any person, firm, entity, country or destination to which
 such transfer, diversion, export or re-export is restricted or prohibited,
 without obtaining prior written authorization from the applicable competent
 government authorities to the extent required by those laws.
 
-14.                   GOVERNMENT CONTRACT COMPLIANCE.
-
-14.1.                      If you sell Authorized Systems directly to any
-government or public entity, including U.S., state, local, foreign or
-international governments or public entities, or indirectly via a prime
-contractor or subcontractor of such governments or entities, NXP makes no
-representations, certifications, or warranties whatsoever about compliance with
-government or public entity acquisition statutes or regulations, including,
-without limitation, statutes or regulations that may relate to pricing,
-quality, origin or content.
-
-14.2.                      The Licensed Software has been developed at private
-expense and is a "Commercial Item" as defined in 48 C.F.R. Section 2.101,
-consisting of "Commercial Computer Software", and/or "Commercial Computer
-Software Documentation," as such terms are used in 48 C.F.R. Section 12.212 (or
-48 C.F.R. Section 227.7202, as applicable) and may only be licensed to or
-shared with U.S. Government end users in object code form as part of, or
-embedded within, Authorized Systems.  Any agreement pursuant to which you share
-the Licensed Software will include a provision that reiterates the limitations
-of this document and requires all sub-agreements to similarly contain such
-limitations.
-
-15.                   SAFETY CRITICAL APPLICATIONS
-
-15.1.                      In some cases, NXP may promote certain Licensed
-Software for use in safety-related applications. NXP's goal is to educate
-licensees so that they can design their own end-product solutions to meet
-applicable functional safety standards and requirements.  You make the ultimate
-design decisions regarding your products and are solely responsible for
-compliance with all legal, regulatory, safety, and security related
-requirements concerning your products, regardless of any information or support
-that may be provided by NXP.  Accordingly, you will indemnify and hold NXP
-harmless from any claims, liabilities, damages and associated costs and
-expenses (including attorneys' fees) that NXP may incur related to your
-incorporation of any product in a safety-critical application or system.
-
-15.2.                      Only Licensed Software that NXP has specifically
+14.           GOVERNMENT CONTRACT COMPLIANCE.
+
+14.1.                If you sell Authorized Systems directly to any government
+or public entity, including U.S., state, local, foreign or international
+governments or public entities, or indirectly via a prime contractor or
+subcontractor of such governments or entities, NXP makes no representations,
+certifications, or warranties whatsoever about compliance with government or
+public entity acquisition statutes or regulations, including, without
+limitation, statutes or regulations that may relate to pricing, quality, origin
+or content.
+
+14.2.                The Licensed Software has been developed at private
+expense and is a "Commercial Item" as defined in 48 C.F.R. §2.101, consisting
+of "Commercial Computer Software", and/or "Commercial Computer Software
+Documentation," as such terms are used in 48 C.F.R. §12.212 (or 48 C.F.R.
+§227.7202, as applicable) and may only be licensed to or shared with U.S.
+Government end users in object code form as part of, or embedded within,
+Authorized Systems.  Any agreement pursuant to which you share the Licensed
+Software will include a provision that reiterates the limitations of this
+document and requires all sub-agreements to similarly contain such limitations.
+
+15.           SAFETY CRITICAL APPLICATIONS
+
+15.1.                In some cases, NXP may promote certain Licensed Software
+for use in safety-related applications. NXP's goal is to educate licensees so
+that they can design their own end-product solutions to meet applicable
+functional safety standards and requirements.  You make the ultimate design
+decisions regarding your products and are solely responsible for compliance
+with all legal, regulatory, safety, and security related requirements
+concerning your products, regardless of any information or support that may be
+provided by NXP.  Accordingly, you will indemnify and hold NXP harmless from
+any claims, liabilities, damages and associated costs and expenses (including
+attorneys' fees) that NXP may incur related to your incorporation of any
+product in a safety-critical application or system.
+
+15.2.                Only Licensed Software that NXP has specifically
 designated as "Automotive Qualified" is intended for use in automotive,
 military, or aerospace applications or environments.  If you use Licensed
 Software that has not been designated as "Automotive Qualified" in an
 automotive, military, or aerospace application or environment, you do so at
 your own risk.
 
-15.3.                      Licensed Software is not intended or authorized for
-any use in anti-personnel landmines.
+15.3.                Licensed Software is not intended or authorized for any
+use in anti-personnel landmines.
 
-16.                   CHOICE OF LAW; VENUE.  This Agreement will be governed
-by, construed, and enforced in accordance with the laws of the State of Texas,
-USA, without regard to conflicts of laws principles, will apply to all matters
-relating to this Agreement or the Licensed Software, and you agree that any
-litigation will be subject to the exclusive jurisdiction of the state or
-federal courts Texas, USA.  The United Nations Convention on Contracts for the
-International Sale of Goods will not apply to this document.
+16.           CHOICE OF LAW; VENUE.  This Agreement will be governed by,
+construed, and enforced in accordance with the laws of The Netherlands, without
+regard to conflicts of laws principles, will apply to all matters relating to
+this Agreement or the Licensed Software, and you agree that any litigation will
+be subject to the exclusive jurisdiction of the courts of Amsterdam, The
+Netherlands.  The United Nations Convention on Contracts for the International
+Sale of Goods will not apply to this document.
 
-17.                   CONFIDENTIAL INFORMATION.  Subject to the license grants
-and restrictions contained herein, you must treat the Licensed Software as
+17.           CONFIDENTIAL INFORMATION.  Subject to the license grants and
+restrictions contained herein, you must treat the Licensed Software as
 confidential information and you agree to retain the Licensed Software in
 confidence perpetually, with respect to Licensed Software in source code form
 (human readable), or for a period of five (5) years from the date of
 termination of this Agreement, with respect to all other parts of the Licensed
 Software.  During this period, you may not disclose any part of the Licensed
-Software to anyone other than employees who have a need to know of the Licensed
-Software and who have executed written agreements obligating them to protect
-such Licensed Software to at least the same degree of care as in this
-Agreement.  You agree to use the same degree of care, but no less than a
-reasonable degree of care, with the Licensed Software as you do with your own
-confidential information. You may disclose Licensed Software to the extent
-required by a court or under operation of law or order provided that you notify
-NXP of such requirement prior to disclosure, which you only disclose
-information required, and that you allow NXP the opportunity to object to such
-court or other legal body requiring such disclosure.
-
-18.                   TRADEMARKS.  You are not authorized to use any NXP
-trademarks, brand names, or logos.
-
-19.                   ENTIRE AGREEMENT.  This Agreement constitutes the entire
+Software to anyone other than employees, or sub-contractors in accordance with
+Section 2.4 who have a need to know of the Licensed Software and who have
+executed written agreements obligating them to protect such Licensed Software
+to at least the same degree of care as in this Agreement.  You agree to use the
+same degree of care, but no less than a reasonable degree of care, with the
+Licensed Software as you do with your own confidential information. You may
+disclose Licensed Software to the extent required by a court or under operation
+of law or order provided that you notify NXP of such requirement prior to
+disclosure, which you only disclose information required, and that you allow
+NXP the opportunity to object to such court or other legal body requiring such
+disclosure.
+
+18.           TRADEMARKS.  You are not authorized to use any NXP trademarks,
+brand names, or logos.
+
+19.           ENTIRE AGREEMENT.  This Agreement constitutes the entire
 agreement between you and NXP regarding the subject matter of this Agreement,
 and supersedes all prior communications, negotiations, understandings,
 agreements or representations, either written or oral, if any.  This Agreement
 may only be amended in written form, signed by you and NXP.
 
-20.                   SEVERABILITY.  If any provision of this Agreement is held
-for any reason to be invalid or unenforceable, then the remaining provisions of
-this Agreement will be unimpaired and, unless a modification or replacement of
-the invalid or unenforceable provision is further held to deprive you or NXP of
-a material benefit, in which case the Agreement will immediately terminate, the
+20.           SEVERABILITY.  If any provision of this Agreement is held for any
+reason to be invalid or unenforceable, then the remaining provisions of this
+Agreement will be unimpaired and, unless a modification or replacement of the
+invalid or unenforceable provision is further held to deprive you or NXP of a
+material benefit, in which case the Agreement will immediately terminate, the
 invalid or unenforceable provision will be replaced with a provision that is
 valid and enforceable and that comes closest to the intention underlying the
 invalid or unenforceable provision.
 
-21.                   NO WAIVER.  The waiver by NXP of any breach of any
-provision of this Agreement will not operate or be construed as a waiver of any
-other or a subsequent breach of the same or a different provision.
+21.           NO WAIVER.  The waiver by NXP of any breach of any provision of
+this Agreement will not operate or be construed as a waiver of any other or a
+subsequent breach of the same or a different provision.
 
-22.                   AUDIT.  You will keep full, clear and accurate records
-with respect to your compliance with the limited license rights granted under
-this Agreement for three years following expiration or termination of this
+22.           AUDIT.  You will keep full, clear and accurate records with
+respect to your compliance with the limited license rights granted under this
+Agreement for three years following expiration or termination of this
 Agreement. NXP will have the right, either itself or through an independent
 certified public accountant to examine and audit, at NXP's expense, not more
 than once a year, and during normal business hours, all such records that may
@@ -378,28 +397,37 @@ bear upon your compliance with the limited license rights granted above. You
 must make prompt adjustment to compensate for any errors and/or omissions
 disclosed by such examination or audit.
 
-23.                   NOTICES.             All notices and communications under
-this Agreement will be made in writing, and will be effective when received at
-the following addresses:
+23.           NOTICES.             All notices and communications under this
+Agreement will be made in writing, and will be effective when received at the
+following addresses:
+
+NXP:                    NXP B.V.
+
+                        High Tech Campus 60
+
+                        5656 AG Eindhoven
+
+                        The Netherlands
 
-NXP:                   Freescale Semiconductor, Inc.
-                            6501 William Cannon West    OE62
-                            Austin, Texas 78735
                             ATTN: Legal Department
 
-                You:                      The address provided at registration
-will be used.
 
-24.                   RELATIONSHIP OF THE PARTIES.     The parties are
-independent contractors.  Nothing in this Agreement will be construed to create
-any partnership, joint venture, or similar relationship.  Neither party is
+
+                You:                  The address provided at registration will
+be used.
+
+24.           RELATIONSHIP OF THE PARTIES.     The parties are independent
+contractors.  Nothing in this Agreement will be construed to create any
+partnership, joint venture, or similar relationship.  Neither party is
 authorized to bind the other to any obligations with third parties.
 
-25.                   SUCCESSION AND ASSIGNMENT.   This Agreement will be
-binding upon and inure to the benefit of the parties and their permitted
-successors and assigns.  You may not assign this Agreement, or any part of this
-Agreement, without the prior written approval of NXP, which approval will not
-be unreasonably withheld or delayed.
+25.           SUCCESSION AND ASSIGNMENT.   This Agreement will be binding upon
+and inure to the benefit of the parties and their permitted successors and
+assigns.  You may not assign this Agreement, or any part of this Agreement,
+without the prior written approval of NXP, which approval will not be
+unreasonably withheld or delayed. NXP may assign this Agreement, or any part of
+this Agreement, in its sole discretion.
+
 
 
 
@@ -416,9 +444,13 @@ following Third Party Software or specific components of the NXP Proprietary
 Software, the following terms apply to the extent they deviate from the terms
 in the Agreement:
 
-Third Party Software
 
-Use Restrictions
+
+Third Party Software Use Restrictions
+
+Amphion Semiconductor Ltd.
+Distribution of Amphion software must be a part of, or embedded within,
+Authorized Systems that include an Amphion Video Decoder.
 
 Atheros
 Use of Atheros software is limited to evaluation and demonstration only.
@@ -434,14 +466,23 @@ Your use of Broadcom Corporation software is restricted to Authorized Systems
 that incorporate a compatible integrated circuit device manufactured or sold by
 Broadcom.
 
+Cadence Design Systems
+Use of Cadence audio codec software is limited to evaluation and demonstration
+only of one copy embedded in a single NXP Product. Further rights must be
+obtained from Cadence. The license granted herein to the Cadence Design Systems
+HiFi aacPlus Audio Decoder software does not include a license to the AAC
+family of technologies which you or your customer may need to obtain.
+Configuration tool outputs may only be distributed by licensees of the relevant
+Cadence SDK and distribution is limited to distribution of one copy embedded in
+a single NXP Product.
+
 Cirque Corporation
 Use of Cirque Corporation technology is limited to evaluation, demonstration,
 or certification testing only. Permitted distributions must be similarly
 limited. Further rights, including but not limited to ANY commercial
 distribution rights, must be obtained directly from Cirque Corporation.
 
-Coding Technologies
-(Dolby Labs)
+Coding Technologies (Dolby Labs)
 Use of CTS software is limited to evaluation and demonstration only.  Permitted
 distributions must be similarly limited. Further rights must be obtained from
 Dolby Laboratories.
@@ -462,8 +503,8 @@ be obtained from Global Locate.
 
 Imagination Technologies Limited (IMG)
 If the Licensed Software includes proprietary software developed by IMG, your
-rights are limited to a non-exclusive, world-wide right and nontransferrable
-and non-sub-licensable license (i) to use and modify the Licensed Software and
+rights are limited to a non-exclusive, world-wide right and nontransferable and
+non-sub-licensable license (i) to use and modify the Licensed Software and
 documentation and (ii) to copy and distribute the Licensed Software only in
 object code form solely for use on NXP Rayleigh products.  If you are provided
 with the Licensed Software in source code format, you are restricted to
@@ -480,31 +521,33 @@ evaluation, for educational use or for peaceful research.  If you plan or
 intend to use uC/OS-II or uC/OS-III in a commercial application/product then,
 you need to contact Micrium to properly license uC/OS-II or uC/OSIII for its
 use in your application/product.   We provide ALL the source code for your
-convenience and to help you experience uC/OS-II or uC/OSIII.  The fact that
-the source is provided does NOT mean that you can use it commercially without
+convenience and to help you experience uC/OS-II or uC/OSIII.  The fact that the
+source is provided does NOT mean that you can use it commercially without
 paying a licensing fee.
 
 Microsoft
-If the Licensed Software includes software owned by Microsoft Corporation
-("Microsoft"), it is subject to the terms of your license with Microsoft (the
-"Microsoft Underlying Licensed Software") and as such, NXP grants no license to
-you, beyond evaluation and demonstration in connection with NXP processors, in
-the Microsoft Underlying Licensed Software.  You must separately obtain rights
-beyond evaluation and demonstration in connection with the Microsoft Underlying
-Licensed Software from Microsoft.
+If the Licensed Software includes software owned by Microsoft
+Corporation ("Microsoft"), it is subject to the terms of your license with
+Microsoft (the "Microsoft Underlying Licensed Software") and as such, NXP
+grants no license to you, beyond evaluation and demonstration in connection
+with NXP processors, in the Microsoft Underlying Licensed Software.  You must
+separately obtain rights beyond evaluation and demonstration in connection with
+the Microsoft Underlying Licensed Software from Microsoft.
 
 Microsoft does not provide support services for the components provided to you
 through this Agreement.  If you have any questions or require technical
 assistance, please contact NXP.  Microsoft Corporation is a third party
 beneficiary to this Agreement with the right to enforce the terms of this
 Agreement.  TO THE MAXIMUM EXTENT PERMITTED BY LAW, MICROSOFT AND ITS
-AFFILIATES DISCLAIM ANY WARRANTIES FOR THE MICROSOFT UNDERLYING LICENSED
-SOFTWARE.  TO THE MAXIMUM EXTENT PERMITTED BY LAW, NEITHER MICROSOFT NOR ITS
-AFFILIATES WILL BE LIABLE, WHETHER IN CONTRACT, TORT, OR OTHERWISE, FOR ANY
-DIRECT, INCIDENTAL, SPECIAL, INDIRECT, CONSEQUENTIAL OR PUNITIVE DAMAGES,
-INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR ANY LOSS OF USE, LOSS OF TIME,
-INCONVENIENCE, COMMERCIAL LOSS, OR LOST PROFITS, SAVINGS, OR REVENUES, ARISING
-FROM THE FROM THE USE OF THE MICROSOFT UNDERLYING LICENSED SOFTWARE.
+AFFILIATES DISCLAIM ANY WARRANTIES FOR THE
+MICROSOFT UNDERLYING LICENSED SOFTWARE.  TO THE MAXIMUM
+EXTENT PERMITTED BY LAW, NEITHER MICROSOFT NOR ITS AFFILIATES
+WILL BE LIABLE, WHETHER IN CONTRACT, TORT, OR OTHERWISE, FOR ANY
+DIRECT, INCIDENTAL, SPECIAL, INDIRECT, CONSEQUENTIAL OR PUNITIVE
+DAMAGES, INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR ANY LOSS
+OF USE, LOSS OF TIME, INCONVENIENCE, COMMERCIAL LOSS, OR LOST PROFITS, SAVINGS,
+OR REVENUES, ARISING FROM THE FROM THE USE OF THE MICROSOFT UNDERLYING LICENSED
+SOFTWARE.
 
 MindTree
 Notwithstanding the terms contained in Section 2.3 (a), if the Licensed
@@ -518,18 +561,24 @@ demonstration only. Permitted distributions must be similarly limited. Further
 rights must be obtained directly from MPEG LA.
 
 MQX RTOS Code
-MQX RTOS source code may not be re-distributed by any FSL Licensee under any
+MQX RTOS source code may not be re-distributed by any NXP Licensee under any
 circumstance, even by a signed written amendment to this Agreement.
 
 Opus
 Use of Opus software must be consistent with the terms of the Opus license
 which can be found at: http://www.opus-codec.org/license/
 
+Qualcomm Atheros, Inc.
+Notwithstanding anything in this Agreement, Qualcomm Atheros, Inc. Wi-Fi
+software must be used strictly in accordance with the Qualcomm Atheros, Inc.
+Technology License Agreement that accompanies such software.  Any other use is
+expressly prohibited.
+
 Real Networks - its GStreamer Optimized Real Format Client Code implementation
 or OpenMax Optimized Real Format Client Code
 Use of the GStreamer Optimized Real Format Client Code, or OpenMax Optimized
 Real Format Client code is restricted to applications in the automotive market.
-Licensee must be a final manufacturer in good standing with a current license
+ Licensee must be a final manufacturer in good standing with a current license
 with Real Networks for the commercial use and distribution of products
 containing the GStreamer Optimized Real Format Client Code implementation or
 OpenMax Optimized Real Format Client Code
@@ -557,20 +606,24 @@ including the publication of any form of run time or compile time metric,
 without the express permission of Real Time Engineers Ltd. (this is the norm
 within the industry and is intended to ensure information accuracy).
 
+RivieraWaves SAS (a member of the CEVA, Inc. family of companies)
+You may not use the RivieraWaves intellectual property licensed under this
+Agreement if you develop, market, and/or license products similar to such
+RivieraWaves intellectual property.  Such use constitutes a breach of this
+Agreement.  Any such use rights must be obtained directly from RivieraWaves.
+
 SanDisk Corporation
 If the Licensed Software includes software developed by SanDisk Corporation
 ("SanDisk"), you must separately obtain the rights to reproduce and distribute
 this software in source code form from SanDisk.  Please follow these easy steps
 to obtain the license and software:
 
-1.       Contact your local SanDisk sales representative to obtain the SanDisk
+1.     Contact your local SanDisk sales representative to obtain the SanDisk
 License Agreement.
-
-2.       Sign the license agreement.  Fax the signed agreement to SanDisk USA
+2.     Sign the license agreement.  Fax the signed agreement to SanDisk USA
 marketing department at 408-542-0403.  The license will be valid when fully
 executed by SanDisk.
-3.       If you have specific questions, please send an email to
-sales@sandisk.com
+3.     If you have specific questions, please send an email to sales@sandisk.com
 
 You may only use the SanDisk Corporation Licensed Software on products
 compatible with a SanDisk Secure Digital Card.  You may not use the SanDisk
@@ -578,19 +631,23 @@ Corporation Licensed Software on any memory device product.  SanDisk retains
 all rights to any modifications or derivative works to the SanDisk Corporation
 Licensed Software that you may create.
 
-Synopsys/Target
-Compiler Technologies
+SEGGER Microcontroller
+Your use of SEGGER emWin software is restricted to NXP ARM7, ARM9, Cortex-M0,
+Cortex-M3, and Cortex-M4 based devices only.
+
+Synopsys/Target Compiler Technologies
 Your use of the Synopsys/Target Compiler Technologies Licensed Software and
 related documentation is subject to the following:
 
-  * Duration of the license for the Licensed Software is limited to 12 months,
-unless otherwise specified in the license file.
-  * The Licensed Software is usable by one user at a time on a single
+*       Duration of the license for the Licensed Software is limited to 12
+months, unless otherwise specified in the license file.
+*       The Licensed Software is usable by one user at a time on a single
 designated computer, unless otherwise agreed by Synopsys.
-  * Licensed Software and documentation are to be used only on a designated
+*       Licensed Software and documentation are to be used only on a designated
 computer at the designated physical address provided by you on the APEX license
 form.
-  * The Licensed Software is not sub-licensable.
+*       The Licensed Software is not sub-licensable.
+
 
 Texas Instruments
 Your use of Texas Instruments Inc. WiLink8 Licensed Software is restricted to
diff --git a/classes/fsl-eula-unpack.bbclass b/classes/fsl-eula-unpack.bbclass
index b953d21..198a194 100644
--- a/classes/fsl-eula-unpack.bbclass
+++ b/classes/fsl-eula-unpack.bbclass
@@ -6,7 +6,7 @@
 #
 #  SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV};fsl-eula=true"
 
-LIC_FILES_CHKSUM_append = " file://${FSL_EULA_FILE};md5=d4f548f93b5fe0ee2bc86758c344412d"
+LIC_FILES_CHKSUM_append = " file://${FSL_EULA_FILE};md5=ab61cab9599935bfe9f700405ef00f28"
 
 LIC_FILES_CHKSUM[vardepsexclude] += "FSL_EULA_FILE"
 
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
index 452cedd..b945d8a 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
@@ -1,11 +1,12 @@
 # Copyright (C) 2012-2016 Freescale Semiconductor
 # Copyright (C) 2012-2018 O.S. Systems Software LTDA.
+# Copyright 2017-2018 NXP
 # Released under the MIT license (see COPYING.MIT for the terms)
 
 DESCRIPTION = "GPU driver and apps for i.MX"
 SECTION = "libs"
 LICENSE = "Proprietary"
-LIC_FILES_CHKSUM = "file://COPYING;md5=75abe2fa1d16ca79f87cde926f05f72d"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ab61cab9599935bfe9f700405ef00f28"
 
 DEPENDS += " \
     ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 08/43] linux-imx: Add i.MX 8 support
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (6 preceding siblings ...)
  2018-08-07 15:41 ` [PATCH v3 07/43] EULA: Update to v24 Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 09/43] u-boot-imx: Add support for i.MX 8QM, 8MQ, and 8QXP Tom Hochstein
                   ` (20 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Update to L4.9.88-2.2.0 release, with support for i.MX 8QM,
8MQ, and 8QXP.
- Add the defconfig from arch/arm64/configs
- Build Image for 64-bit ARM

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 conf/machine/include/imx-base.inc                  |   1 +
 .../linux/linux-imx-4.9.88/mx8/defconfig           | 665 +++++++++++++++++++++
 recipes-kernel/linux/linux-imx_4.9.88.bb           |  14 +-
 3 files changed, 675 insertions(+), 5 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-imx-4.9.88/mx8/defconfig

diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 15c9d19..f629f73 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -281,6 +281,7 @@ SERIAL_CONSOLE = "115200 ttymxc0"
 SERIAL_CONSOLE_mxs = "115200 ttyAMA0"
 
 KERNEL_IMAGETYPE = "zImage"
+KERNEL_IMAGETYPE_mx8 = "Image"
 
 MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen"
 
diff --git a/recipes-kernel/linux/linux-imx-4.9.88/mx8/defconfig b/recipes-kernel/linux/linux-imx-4.9.88/mx8/defconfig
new file mode 100644
index 0000000..5d977a0
--- /dev/null
+++ b/recipes-kernel/linux/linux-imx-4.9.88/mx8/defconfig
@@ -0,0 +1,665 @@
+CONFIG_SYSVIPC=y
+CONFIG_POSIX_MQUEUE=y
+CONFIG_AUDIT=y
+CONFIG_NO_HZ_IDLE=y
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_BSD_PROCESS_ACCT=y
+CONFIG_BSD_PROCESS_ACCT_V3=y
+CONFIG_TASKSTATS=y
+CONFIG_TASK_DELAY_ACCT=y
+CONFIG_TASK_XACCT=y
+CONFIG_TASK_IO_ACCOUNTING=y
+CONFIG_IKCONFIG=y
+CONFIG_IKCONFIG_PROC=y
+CONFIG_LOG_BUF_SHIFT=14
+CONFIG_MEMCG=y
+CONFIG_MEMCG_SWAP=y
+CONFIG_BLK_CGROUP=y
+CONFIG_CGROUP_PIDS=y
+CONFIG_CGROUP_HUGETLB=y
+CONFIG_CPUSETS=y
+CONFIG_CGROUP_DEVICE=y
+CONFIG_CGROUP_CPUACCT=y
+CONFIG_CGROUP_PERF=y
+CONFIG_NAMESPACES=y
+CONFIG_USER_NS=y
+CONFIG_SCHED_AUTOGROUP=y
+CONFIG_RELAY=y
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_EXPERT=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_COMPAT_BRK is not set
+CONFIG_PROFILING=y
+CONFIG_JUMP_LABEL=y
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_IOSCHED_DEADLINE is not set
+CONFIG_ARCH_SUNXI=y
+CONFIG_ARCH_ALPINE=y
+CONFIG_ARCH_BCM_IPROC=y
+CONFIG_ARCH_BERLIN=y
+CONFIG_ARCH_EXYNOS=y
+CONFIG_ARCH_LAYERSCAPE=y
+CONFIG_ARCH_LG1K=y
+CONFIG_ARCH_HISI=y
+CONFIG_ARCH_MEDIATEK=y
+CONFIG_ARCH_MESON=y
+CONFIG_ARCH_MVEBU=y
+CONFIG_ARCH_QCOM=y
+CONFIG_ARCH_ROCKCHIP=y
+CONFIG_ARCH_SEATTLE=y
+CONFIG_ARCH_RENESAS=y
+CONFIG_ARCH_R8A7795=y
+CONFIG_ARCH_R8A7796=y
+CONFIG_ARCH_STRATIX10=y
+CONFIG_ARCH_TEGRA=y
+CONFIG_ARCH_SPRD=y
+CONFIG_ARCH_THUNDER=y
+CONFIG_ARCH_UNIPHIER=y
+CONFIG_ARCH_VEXPRESS=y
+CONFIG_ARCH_VULCAN=y
+CONFIG_ARCH_XGENE=y
+CONFIG_ARCH_ZX=y
+CONFIG_ARCH_ZYNQMP=y
+CONFIG_ARCH_FSL_IMX8QM=y
+CONFIG_ARCH_FSL_IMX8QP=y
+CONFIG_ARCH_FSL_IMX8QXP=y
+CONFIG_ARCH_FSL_IMX8MQ=y
+CONFIG_ARCH_FSL_IMX8MM=y
+CONFIG_PCI=y
+CONFIG_PCI_IOV=y
+CONFIG_PCI_AARDVARK=y
+CONFIG_PCI_IMX6=y
+CONFIG_PCIE_RCAR=y
+CONFIG_PCI_HOST_GENERIC=y
+CONFIG_PCI_XGENE=y
+CONFIG_PCI_HISI=y
+CONFIG_ARM64_VA_BITS_48=y
+CONFIG_SCHED_MC=y
+CONFIG_PREEMPT=y
+CONFIG_KSM=y
+CONFIG_TRANSPARENT_HUGEPAGE=y
+CONFIG_CMA=y
+CONFIG_SECCOMP=y
+CONFIG_KEXEC=y
+CONFIG_XEN=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_COMPAT=y
+CONFIG_PM_DEBUG=y
+CONFIG_PM_TEST_SUSPEND=y
+CONFIG_ARM_CPUIDLE=y
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_STAT=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
+CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
+CONFIG_CPU_FREQ_GOV_INTERACTIVE=y
+CONFIG_CPUFREQ_DT=y
+CONFIG_ARM_BIG_LITTLE_CPUFREQ=y
+CONFIG_ARM_IMX8_CPUFREQ=y
+CONFIG_ARM_IMX8MQ_CPUFREQ=y
+CONFIG_ARM_SCPI_CPUFREQ=y
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_IP_MULTICAST=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_BOOTP=y
+CONFIG_IPV6=m
+CONFIG_NETFILTER=y
+CONFIG_NF_CONNTRACK=m
+CONFIG_NF_CONNTRACK_EVENTS=y
+CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m
+CONFIG_NETFILTER_XT_TARGET_LOG=m
+CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m
+CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
+CONFIG_NF_CONNTRACK_IPV4=m
+CONFIG_IP_NF_IPTABLES=m
+CONFIG_IP_NF_FILTER=m
+CONFIG_IP_NF_TARGET_REJECT=m
+CONFIG_IP_NF_NAT=m
+CONFIG_IP_NF_TARGET_MASQUERADE=m
+CONFIG_IP_NF_MANGLE=m
+CONFIG_NF_CONNTRACK_IPV6=m
+CONFIG_IP6_NF_IPTABLES=m
+CONFIG_IP6_NF_FILTER=m
+CONFIG_IP6_NF_TARGET_REJECT=m
+CONFIG_IP6_NF_MANGLE=m
+CONFIG_IP6_NF_NAT=m
+CONFIG_IP6_NF_TARGET_MASQUERADE=m
+CONFIG_BRIDGE=m
+CONFIG_BRIDGE_VLAN_FILTERING=y
+CONFIG_VLAN_8021Q=m
+CONFIG_VLAN_8021Q_GVRP=y
+CONFIG_VLAN_8021Q_MVRP=y
+CONFIG_LLC2=y
+CONFIG_BPF_JIT=y
+CONFIG_CAN=y
+CONFIG_CAN_FLEXCAN=y
+CONFIG_BT=y
+CONFIG_BT_RFCOMM=y
+CONFIG_BT_RFCOMM_TTY=y
+CONFIG_BT_BNEP=y
+CONFIG_BT_BNEP_MC_FILTER=y
+CONFIG_BT_BNEP_PROTO_FILTER=y
+CONFIG_BT_HIDP=y
+CONFIG_BT_LEDS=y
+CONFIG_BT_HCIUART=y
+CONFIG_BT_HCIUART_BCSP=y
+CONFIG_BT_HCIUART_ATH3K=y
+CONFIG_BT_HCIUART_3WIRE=y
+CONFIG_BT_HCIUART_BCM=y
+CONFIG_BT_HCIUART_QCA=y
+CONFIG_BT_HCIVHCI=y
+CONFIG_CFG80211=y
+CONFIG_NL80211_TESTMODE=y
+CONFIG_CFG80211_INTERNAL_REGDB=y
+CONFIG_CFG80211_WEXT=y
+CONFIG_MAC80211=y
+CONFIG_MAC80211_LEDS=y
+CONFIG_NET_9P=y
+CONFIG_NET_9P_VIRTIO=y
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
+CONFIG_DMA_CMA=y
+CONFIG_CMA_SIZE_MBYTES=320
+CONFIG_ARM_CCI400_PMU=y
+CONFIG_ARM_CCI5xx_PMU=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_RAM=y
+CONFIG_MTD_DATAFLASH=y
+CONFIG_MTD_M25P80=y
+CONFIG_MTD_SLRAM=y
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_GPMI_NAND=y
+CONFIG_MTD_SPI_NOR=y
+# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
+CONFIG_SPI_FSL_QUADSPI=y
+CONFIG_SPI_FSL_FLEXSPI=y
+CONFIG_MTD_UBI=y
+CONFIG_OF_OVERLAY=y
+CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_NBD=m
+CONFIG_XEN_BLKDEV_BACKEND=y
+CONFIG_VIRTIO_BLK=y
+CONFIG_SENSORS_FXOS8700=y
+CONFIG_SENSORS_FXAS2100X=y
+CONFIG_SRAM=y
+# CONFIG_SCSI_PROC_FS is not set
+CONFIG_BLK_DEV_SD=y
+CONFIG_SCSI_SAS_ATA=y
+CONFIG_SCSI_HISI_SAS=y
+CONFIG_ATA=y
+CONFIG_SATA_AHCI=y
+CONFIG_SATA_AHCI_PLATFORM=y
+CONFIG_AHCI_IMX=y
+CONFIG_AHCI_CEVA=y
+CONFIG_AHCI_MVEBU=y
+CONFIG_AHCI_XGENE=y
+CONFIG_AHCI_QORIQ=y
+CONFIG_SATA_SIL24=y
+CONFIG_SATA_RCAR=y
+CONFIG_PATA_PLATFORM=y
+CONFIG_PATA_OF_PLATFORM=y
+CONFIG_NETDEVICES=y
+CONFIG_MACVLAN=m
+CONFIG_MACVTAP=m
+CONFIG_TUN=y
+CONFIG_VETH=m
+CONFIG_VIRTIO_NET=y
+CONFIG_AMD_XGBE=y
+CONFIG_NET_XGENE=y
+CONFIG_MACB=y
+CONFIG_HNS_DSAF=y
+CONFIG_HNS_ENET=y
+CONFIG_E1000E=y
+CONFIG_IGB=y
+CONFIG_IGBVF=y
+CONFIG_SKY2=y
+CONFIG_RAVB=y
+CONFIG_SMC91X=y
+CONFIG_SMSC911X=y
+CONFIG_STMMAC_ETH=m
+CONFIG_AT803X_PHY=y
+CONFIG_MICREL_PHY=y
+CONFIG_NXP_TJA110X_PHY=y
+CONFIG_REALTEK_PHY=m
+CONFIG_USB_PEGASUS=m
+CONFIG_USB_RTL8150=m
+CONFIG_USB_RTL8152=m
+CONFIG_USB_USBNET=m
+CONFIG_USB_NET_DM9601=m
+CONFIG_USB_NET_SR9800=m
+CONFIG_USB_NET_SMSC75XX=m
+CONFIG_USB_NET_SMSC95XX=m
+CONFIG_USB_NET_PLUSB=m
+CONFIG_USB_NET_MCS7830=m
+# CONFIG_WLAN_VENDOR_ATH is not set
+CONFIG_BCMDHD_1363=y
+CONFIG_BCMDHD_PCIE=y
+CONFIG_HOSTAP=y
+CONFIG_RTL_CARDS=m
+# CONFIG_WLAN_VENDOR_TI is not set
+CONFIG_XEN_NETDEV_BACKEND=m
+CONFIG_INPUT_POLLDEV=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_KEYBOARD_GPIO=y
+CONFIG_KEYBOARD_IMX_SC_PWRKEY=y
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_PM8941_PWRKEY=y
+CONFIG_INPUT_HISI_POWERKEY=y
+CONFIG_INPUT_MPL3115=y
+CONFIG_INPUT_ISL29023=y
+# CONFIG_SERIO_SERPORT is not set
+CONFIG_SERIO_AMBAKMI=y
+CONFIG_LEGACY_PTY_COUNT=16
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_8250_DW=y
+CONFIG_SERIAL_8250_MT6577=y
+CONFIG_SERIAL_8250_UNIPHIER=y
+CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_SERIAL_AMBA_PL011=y
+CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+CONFIG_SERIAL_MESON=y
+CONFIG_SERIAL_MESON_CONSOLE=y
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_TEGRA=y
+CONFIG_SERIAL_IMX_CONSOLE=y
+CONFIG_SERIAL_SH_SCI=y
+CONFIG_SERIAL_SH_SCI_NR_UARTS=11
+CONFIG_SERIAL_SH_SCI_CONSOLE=y
+CONFIG_SERIAL_MSM=y
+CONFIG_SERIAL_MSM_CONSOLE=y
+CONFIG_SERIAL_XILINX_PS_UART=y
+CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y
+CONFIG_SERIAL_FSL_LPUART=y
+CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
+CONFIG_SERIAL_MVEBU_UART=y
+CONFIG_VIRTIO_CONSOLE=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_DESIGNWARE_PLATFORM=y
+CONFIG_I2C_IMX=y
+CONFIG_I2C_IMX_LPI2C=y
+CONFIG_I2C_MESON=y
+CONFIG_I2C_MV64XXX=y
+CONFIG_I2C_QUP=y
+CONFIG_I2C_TEGRA=y
+CONFIG_I2C_UNIPHIER_F=y
+CONFIG_I2C_RCAR=y
+CONFIG_I2C_CROS_EC_TUNNEL=y
+CONFIG_SPI=y
+CONFIG_SPI_FSL_LPSPI=y
+CONFIG_SPI_MESON_SPIFC=m
+CONFIG_SPI_ORION=y
+CONFIG_SPI_PL022=y
+CONFIG_SPI_QUP=y
+CONFIG_SPI_S3C64XX=y
+CONFIG_SPI_SPIDEV=m
+CONFIG_SPMI=y
+CONFIG_PINCTRL_SINGLE=y
+CONFIG_PINCTRL_MAX77620=y
+CONFIG_PINCTRL_MSM8916=y
+CONFIG_PINCTRL_MSM8996=y
+CONFIG_PINCTRL_QDF2XXX=y
+CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
+CONFIG_GPIO_SYSFS=y
+CONFIG_GPIO_DWAPB=y
+CONFIG_GPIO_PL061=y
+CONFIG_GPIO_RCAR=y
+CONFIG_GPIO_XGENE=y
+CONFIG_GPIO_MAX732X=y
+CONFIG_GPIO_PCA953X=y
+CONFIG_GPIO_PCA953X_IRQ=y
+CONFIG_GPIO_MAX77620=y
+CONFIG_POWER_RESET_MSM=y
+CONFIG_POWER_RESET_XGENE=y
+CONFIG_POWER_RESET_SYSCON=y
+CONFIG_BATTERY_BQ27XXX=y
+CONFIG_SENSORS_ARM_SCPI=y
+CONFIG_SENSORS_LM90=m
+CONFIG_SENSORS_INA2XX=m
+# CONFIG_MXC_MMA8451 is not set
+CONFIG_THERMAL_WRITABLE_TRIPS=y
+CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y
+CONFIG_CPU_THERMAL=y
+CONFIG_THERMAL_EMULATION=y
+CONFIG_IMX8M_THERMAL=y
+CONFIG_IMX_SC_THERMAL=y
+CONFIG_DEVICE_THERMAL=y
+CONFIG_EXYNOS_THERMAL=y
+CONFIG_WATCHDOG=y
+CONFIG_S3C2410_WATCHDOG=y
+CONFIG_IMX2_WDT=y
+CONFIG_IMX8_WDT=y
+CONFIG_MESON_GXBB_WATCHDOG=m
+CONFIG_MESON_WATCHDOG=m
+CONFIG_RENESAS_WDT=y
+CONFIG_MFD_CROS_EC=y
+CONFIG_MFD_CROS_EC_I2C=y
+CONFIG_MFD_HI655X_PMIC=y
+CONFIG_MFD_MAX77620=y
+CONFIG_MFD_SPMI_PMIC=y
+CONFIG_MFD_SEC_CORE=y
+CONFIG_MFD_BD71837=y
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_REGULATOR_GPIO=y
+CONFIG_REGULATOR_HI655X=y
+CONFIG_REGULATOR_MAX77620=y
+CONFIG_REGULATOR_PFUZE100=y
+CONFIG_REGULATOR_PWM=y
+CONFIG_REGULATOR_QCOM_SMD_RPM=y
+CONFIG_REGULATOR_QCOM_SPMI=y
+CONFIG_REGULATOR_S2MPS11=y
+CONFIG_REGULATOR_BD71837=y
+CONFIG_MEDIA_SUPPORT=y
+CONFIG_MEDIA_CAMERA_SUPPORT=y
+CONFIG_MEDIA_CONTROLLER=y
+CONFIG_VIDEO_V4L2_SUBDEV_API=y
+CONFIG_MEDIA_USB_SUPPORT=y
+CONFIG_USB_VIDEO_CLASS=m
+CONFIG_V4L_PLATFORM_DRIVERS=y
+CONFIG_VIDEO_MXC_CAPTURE=y
+CONFIG_VIDEO_MX8_CAPTURE=y
+CONFIG_GMSL_MAX9286=y
+CONFIG_VIDEO_MXC_CSI_CAMERA=y
+CONFIG_MXC_MIPI_CSI=y
+CONFIG_MXC_CAMERA_OV5640_MIPI_V2=y
+CONFIG_V4L_MEM2MEM_DRIVERS=y
+CONFIG_IMX_DPU_CORE=y
+CONFIG_IMX_DCSS_CORE=y
+CONFIG_DRM=y
+CONFIG_DRM_NOUVEAU=m
+CONFIG_DRM_VIVANTE=m
+CONFIG_DRM_MSM=m
+CONFIG_DRM_TEGRA=m
+CONFIG_DRM_PANEL_SIMPLE=y
+CONFIG_DRM_PANEL_RAYDIUM_RM67191=y
+CONFIG_DRM_I2C_ADV7511=y
+CONFIG_DRM_ITE_IT6263=y
+CONFIG_DRM_IMX_PARALLEL_DISPLAY=y
+CONFIG_DRM_IMX_TVE=y
+CONFIG_DRM_IMX_LDB=y
+CONFIG_DRM_IMX_HDMI=y
+CONFIG_DRM_IMX_NWL_DSI=y
+CONFIG_DRM_IMX_HDP=y
+CONFIG_IMX_HDP_CEC=y
+CONFIG_DRM_HISI_KIRIN=m
+CONFIG_DRM_MXSFB=y
+CONFIG_FB_IMX64=y
+CONFIG_FB_IMX64_DEBUG=y
+CONFIG_FB_ARMCLCD=y
+CONFIG_FB_MXC_DISP_FRAMEWORK=y
+CONFIG_BACKLIGHT_GENERIC=m
+CONFIG_BACKLIGHT_PWM=y
+CONFIG_BACKLIGHT_LP855X=m
+CONFIG_FRAMEBUFFER_CONSOLE=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+CONFIG_SOUND=y
+CONFIG_SND=y
+CONFIG_SND_USB_AUDIO=m
+CONFIG_SND_SOC=y
+CONFIG_SND_SOC_FSL_ACM=y
+CONFIG_SND_SOC_FSL_DSP=y
+CONFIG_SND_IMX_SOC=y
+CONFIG_SND_SOC_IMX_AK4458=y
+CONFIG_SND_SOC_IMX_AK5558=y
+CONFIG_SND_SOC_IMX_AK4497=y
+CONFIG_SND_SOC_IMX_WM8960=y
+CONFIG_SND_SOC_IMX_WM8524=y
+CONFIG_SND_SOC_IMX_CS42888=y
+CONFIG_SND_SOC_IMX_WM8962=y
+CONFIG_SND_SOC_IMX_MQS=y
+CONFIG_SND_SOC_IMX_SPDIF=y
+CONFIG_SND_SOC_IMX_AMIX=y
+CONFIG_SND_SOC_IMX_CDNHDMI=y
+CONFIG_SND_SOC_SAMSUNG=y
+CONFIG_SND_SOC_RCAR=y
+CONFIG_SND_SOC_AK4613=y
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_KENSINGTON=y
+CONFIG_HID_LOGITECH=y
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_MULTITOUCH=y
+CONFIG_USB=y
+CONFIG_USB_OTG=y
+CONFIG_USB_OTG_WHITELIST=y
+CONFIG_USB_XHCI_HCD=y
+CONFIG_USB_XHCI_TEGRA=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_EHCI_MSM=y
+CONFIG_USB_EHCI_EXYNOS=y
+CONFIG_USB_EHCI_HCD_PLATFORM=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_USB_OHCI_EXYNOS=y
+CONFIG_USB_OHCI_HCD_PLATFORM=y
+CONFIG_USB_HCD_TEST_MODE=y
+CONFIG_USB_RENESAS_USBHS=m
+CONFIG_USB_ACM=m
+CONFIG_USB_STORAGE=y
+CONFIG_USB_DWC3=y
+CONFIG_USB_DWC2=y
+CONFIG_USB_CHIPIDEA=y
+CONFIG_USB_CHIPIDEA_UDC=y
+CONFIG_USB_CHIPIDEA_HOST=y
+CONFIG_USB_ISP1760=y
+CONFIG_USB_ISP1760_HOST_ROLE=y
+CONFIG_USB_CDNS3=y
+CONFIG_USB_CDNS3_GADGET=y
+CONFIG_USB_CDNS3_HOST=y
+CONFIG_USB_TEST=m
+CONFIG_USB_EHSET_TEST_FIXTURE=y
+CONFIG_USB_HSIC_USB3503=y
+CONFIG_NOP_USB_XCEIV=y
+CONFIG_USB_GPIO_VBUS=y
+CONFIG_USB_MXS_PHY=y
+CONFIG_USB_ULPI=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_RENESAS_USBHS_UDC=m
+CONFIG_USB_CONFIGFS=y
+CONFIG_USB_CONFIGFS_SERIAL=y
+CONFIG_USB_CONFIGFS_ACM=y
+CONFIG_USB_CONFIGFS_OBEX=y
+CONFIG_USB_CONFIGFS_NCM=y
+CONFIG_USB_CONFIGFS_ECM=y
+CONFIG_USB_CONFIGFS_ECM_SUBSET=y
+CONFIG_USB_CONFIGFS_RNDIS=y
+CONFIG_USB_CONFIGFS_EEM=y
+CONFIG_USB_CONFIGFS_MASS_STORAGE=y
+CONFIG_FSL_UTP=y
+CONFIG_USB_CONFIGFS_F_LB_SS=y
+CONFIG_USB_CONFIGFS_F_FS=y
+CONFIG_USB_CONFIGFS_F_UAC1=y
+CONFIG_USB_CONFIGFS_F_UAC2=y
+CONFIG_USB_CONFIGFS_F_MIDI=y
+CONFIG_USB_CONFIGFS_F_HID=y
+CONFIG_USB_ZERO=m
+CONFIG_USB_AUDIO=m
+CONFIG_GADGET_UAC1=y
+CONFIG_USB_ETH=m
+CONFIG_USB_ETH_EEM=y
+CONFIG_USB_G_NCM=m
+CONFIG_USB_MASS_STORAGE=m
+CONFIG_USB_G_SERIAL=m
+CONFIG_USB_CDC_COMPOSITE=m
+CONFIG_MMC=y
+CONFIG_MMC_BLOCK_MINORS=32
+CONFIG_MMC_ARMMMCI=y
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_ACPI=y
+CONFIG_MMC_SDHCI_PLTFM=y
+CONFIG_MMC_SDHCI_ESDHC_IMX=y
+# CONFIG_MMC_SDHCI_IPROC is not set
+CONFIG_MMC_SPI=y
+CONFIG_MMC_SDHI=y
+CONFIG_MXC_SIM=y
+CONFIG_MXC_EMVSIM=y
+CONFIG_MXC_MLB150=y
+CONFIG_NEW_LEDS=y
+CONFIG_LEDS_CLASS=y
+CONFIG_LEDS_GPIO=y
+CONFIG_LEDS_PWM=y
+CONFIG_LEDS_SYSCON=y
+CONFIG_LEDS_TRIGGER_HEARTBEAT=y
+CONFIG_LEDS_TRIGGER_CPU=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_MAX77686=y
+CONFIG_RTC_DRV_S5M=y
+CONFIG_RTC_DRV_DS3232=y
+CONFIG_RTC_DRV_EFI=y
+CONFIG_RTC_DRV_S3C=y
+CONFIG_RTC_DRV_PL031=y
+CONFIG_RTC_DRV_TEGRA=y
+CONFIG_RTC_DRV_SNVS=y
+CONFIG_RTC_DRV_IMX_SC=y
+CONFIG_RTC_DRV_XGENE=y
+CONFIG_DMADEVICES=y
+CONFIG_FSL_EDMA_V3=y
+CONFIG_IMX_SDMA=y
+CONFIG_MXS_DMA=y
+CONFIG_PL330_DMA=y
+CONFIG_TEGRA20_APB_DMA=y
+CONFIG_QCOM_BAM_DMA=y
+CONFIG_QCOM_HIDMA_MGMT=y
+CONFIG_QCOM_HIDMA=y
+CONFIG_RCAR_DMAC=y
+CONFIG_VIRTIO_PCI=y
+CONFIG_VIRTIO_BALLOON=y
+CONFIG_VIRTIO_MMIO=y
+CONFIG_XEN_GNTDEV=y
+CONFIG_XEN_GRANT_DEV_ALLOC=y
+CONFIG_STAGING=y
+CONFIG_STAGING_MEDIA=y
+CONFIG_MEDIA_CEC=y
+CONFIG_ION=y
+CONFIG_ION_MXC=y
+CONFIG_TYPEC_TCPM=y
+CONFIG_TYPEC_TCPCI=y
+CONFIG_COMMON_CLK_SCPI=y
+CONFIG_COMMON_CLK_CS2000_CP=y
+CONFIG_COMMON_CLK_S2MPS11=y
+CONFIG_CLK_QORIQ=y
+CONFIG_COMMON_CLK_QCOM=y
+CONFIG_MSM_GCC_8916=y
+CONFIG_MSM_MMCC_8996=y
+CONFIG_HWSPINLOCK_QCOM=y
+CONFIG_CLKSRC_IMX_SYS_CNT=y
+CONFIG_MAILBOX=y
+CONFIG_ARM_MHU=y
+CONFIG_HI6220_MBOX=y
+CONFIG_ARM_SMMU=y
+CONFIG_ARCH_MXC_ARM64=y
+CONFIG_QCOM_SMEM=y
+CONFIG_QCOM_SMD=y
+CONFIG_QCOM_SMD_RPM=y
+CONFIG_ARCH_TEGRA_132_SOC=y
+CONFIG_ARCH_TEGRA_210_SOC=y
+CONFIG_EXTCON_PTN5150=y
+CONFIG_IIO=y
+CONFIG_EXYNOS_ADC=y
+CONFIG_IMX8QXP_ADC=y
+CONFIG_PWM=y
+CONFIG_PWM_IMX=y
+CONFIG_PWM_SAMSUNG=y
+CONFIG_PWM_TEGRA=m
+CONFIG_PHY_HI6220_USB=y
+CONFIG_PHY_XGENE=y
+CONFIG_PHY_TEGRA_XUSB=y
+CONFIG_IMX8_DDR_PERF=y
+CONFIG_NVMEM=y
+CONFIG_NVMEM_IMX_OCOTP=y
+CONFIG_NVMEM_IMX_SCU_OCOTP=y
+CONFIG_TEE=y
+CONFIG_OPTEE=y
+CONFIG_ARM_SCPI_PROTOCOL=y
+CONFIG_ACPI=y
+CONFIG_EXT2_FS=y
+CONFIG_EXT3_FS=y
+CONFIG_EXT4_FS_POSIX_ACL=y
+CONFIG_BTRFS_FS=m
+CONFIG_BTRFS_FS_POSIX_ACL=y
+CONFIG_FANOTIFY=y
+CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
+CONFIG_QUOTA=y
+CONFIG_AUTOFS4_FS=y
+CONFIG_FUSE_FS=m
+CONFIG_CUSE=m
+CONFIG_OVERLAY_FS=m
+CONFIG_VFAT_FS=y
+CONFIG_HUGETLBFS=y
+CONFIG_EFIVAR_FS=y
+CONFIG_JFFS2_FS=y
+CONFIG_UBIFS_FS=y
+CONFIG_SQUASHFS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V4=y
+CONFIG_NFS_V4_1=y
+CONFIG_NFS_V4_2=y
+CONFIG_ROOT_NFS=y
+CONFIG_9P_FS=y
+CONFIG_NLS_CODEPAGE_437=y
+CONFIG_NLS_ISO8859_1=y
+CONFIG_KVM=y
+CONFIG_PRINTK_TIME=y
+CONFIG_DEBUG_FS=y
+CONFIG_MAGIC_SYSRQ=y
+CONFIG_LOCKUP_DETECTOR=y
+# CONFIG_SCHED_DEBUG is not set
+# CONFIG_DEBUG_PREEMPT is not set
+# CONFIG_FTRACE is not set
+CONFIG_MEMTEST=y
+CONFIG_SECURITY=y
+CONFIG_CRYPTO_TEST=m
+CONFIG_CRYPTO_CHACHA20POLY1305=y
+CONFIG_CRYPTO_ECHAINIV=y
+CONFIG_CRYPTO_CBC=y
+CONFIG_CRYPTO_CTS=y
+CONFIG_CRYPTO_LRW=y
+CONFIG_CRYPTO_XTS=y
+CONFIG_CRYPTO_MD4=y
+CONFIG_CRYPTO_MD5=y
+CONFIG_CRYPTO_RMD128=y
+CONFIG_CRYPTO_RMD160=y
+CONFIG_CRYPTO_RMD256=y
+CONFIG_CRYPTO_RMD320=y
+CONFIG_CRYPTO_SHA1=y
+CONFIG_CRYPTO_SHA512=y
+CONFIG_CRYPTO_SHA3=y
+CONFIG_CRYPTO_TGR192=y
+CONFIG_CRYPTO_WP512=y
+CONFIG_CRYPTO_BLOWFISH=y
+CONFIG_CRYPTO_CAMELLIA=y
+CONFIG_CRYPTO_CAST5=y
+CONFIG_CRYPTO_CAST6=y
+CONFIG_CRYPTO_SERPENT=y
+CONFIG_CRYPTO_TWOFISH=y
+CONFIG_CRYPTO_ANSI_CPRNG=y
+CONFIG_CRYPTO_DEV_FSL_CAAM=y
+CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y
+CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y
+CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO=y
+CONFIG_ARM64_CRYPTO=y
+CONFIG_CRYPTO_SHA1_ARM64_CE=y
+CONFIG_CRYPTO_SHA2_ARM64_CE=y
+CONFIG_CRYPTO_GHASH_ARM64_CE=y
+CONFIG_CRYPTO_AES_ARM64_CE_CCM=y
+CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
+CONFIG_CRYPTO_CRC32_ARM64=y
\ No newline at end of file
diff --git a/recipes-kernel/linux/linux-imx_4.9.88.bb b/recipes-kernel/linux/linux-imx_4.9.88.bb
index f873d15..5bcf65e 100644
--- a/recipes-kernel/linux/linux-imx_4.9.88.bb
+++ b/recipes-kernel/linux/linux-imx_4.9.88.bb
@@ -1,5 +1,5 @@
 # Copyright (C) 2013-2016 Freescale Semiconductor
-# Copyright 2017 NXP
+# Copyright 2017-2018 NXP
 # Copyright 2018 (C) O.S. Systems Software LTDA.
 # Released under the MIT license (see COPYING.MIT for the terms)
 
@@ -11,10 +11,14 @@ require recipes-kernel/linux/linux-imx.inc
 
 DEPENDS += "lzop-native bc-native"
 
-SRCBRANCH = "imx_4.9.88_2.0.0_ga"
-LOCALVERSION = "-1.0.0"
-SRCREV = "6507266728a7806d850ce22ec923d90cf4aa4318"
+SRCBRANCH = "imx_4.9.88_imx8qxp_beta2"
+LOCALVERSION = "-${SRCBRANCH}"
+SRCREV = "05f46d3f9b4a8987edac62a52528d52f47cfa42d"
 
 DEFAULT_PREFERENCE = "1"
 
-COMPATIBLE_MACHINE = "(mx6|mx7)"
+EXTRA_OEMAKE_append_mx6 = " ARCH=arm"
+EXTRA_OEMAKE_append_mx7 = " ARCH=arm"
+EXTRA_OEMAKE_append_mx8 = " ARCH=arm64"
+
+COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 09/43] u-boot-imx: Add support for i.MX 8QM, 8MQ, and 8QXP
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (7 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 08/43] linux-imx: Add i.MX 8 support Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 10/43] machine: " Tom Hochstein
                   ` (19 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-bsp/u-boot/u-boot-imx_2017.03.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/recipes-bsp/u-boot/u-boot-imx_2017.03.bb b/recipes-bsp/u-boot/u-boot-imx_2017.03.bb
index 0e4ba7b..cc2fc12 100644
--- a/recipes-bsp/u-boot/u-boot-imx_2017.03.bb
+++ b/recipes-bsp/u-boot/u-boot-imx_2017.03.bb
@@ -1,5 +1,5 @@
 # Copyright (C) 2013-2016 Freescale Semiconductor
-# Copyright 2017 NXP
+# Copyright 2017-2018 NXP
 # Copyright 2018 (C) O.S. Systems Software LTDA.
 
 DESCRIPTION = "i.MX U-Boot suppporting i.MX reference boards."
@@ -10,9 +10,9 @@ PROVIDES += "u-boot"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-SRCBRANCH = "imx_v2017.03_4.9.88_2.0.0_ga"
+SRCBRANCH = "imx_v2017.03_4.9.88_imx8qxp_beta2"
 SRC_URI = "git://source.codeaurora.org/external/imx/uboot-imx.git;protocol=https;branch=${SRCBRANCH}"
-SRCREV = "b76bb1bf9fd21e21006d79552e28855ac43ad43c"
+SRCREV = "84c4e820340c0e76b1f14416536ff1fae08f120b"
 
 S = "${WORKDIR}/git"
 
@@ -21,4 +21,4 @@ inherit dtc-145 fsl-u-boot-localversion
 LOCALVERSION ?= "-${SRCBRANCH}"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "(mx6|mx7)"
+COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 10/43] machine: Add support for i.MX 8QM, 8MQ, and 8QXP
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (8 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 09/43] u-boot-imx: Add support for i.MX 8QM, 8MQ, and 8QXP Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 11/43] imx-dpu-g2d: Use machine override for compatibility Tom Hochstein
                   ` (18 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 conf/machine/imx8mqevk.conf       | 53 +++++++++++++++++++++++++++++++++++++++
 conf/machine/imx8qmmek.conf       | 49 ++++++++++++++++++++++++++++++++++++
 conf/machine/imx8qxpa0mek.conf    | 38 ++++++++++++++++++++++++++++
 conf/machine/imx8qxpmek.conf      | 40 +++++++++++++++++++++++++++++
 conf/machine/include/imx-base.inc |  4 +++
 5 files changed, 184 insertions(+)
 create mode 100644 conf/machine/imx8mqevk.conf
 create mode 100644 conf/machine/imx8qmmek.conf
 create mode 100644 conf/machine/imx8qxpa0mek.conf
 create mode 100644 conf/machine/imx8qxpmek.conf

diff --git a/conf/machine/imx8mqevk.conf b/conf/machine/imx8mqevk.conf
new file mode 100644
index 0000000..cf27468
--- /dev/null
+++ b/conf/machine/imx8mqevk.conf
@@ -0,0 +1,53 @@
+#@TYPE: Machine
+#@NAME: NXP i.MX8MQ Evaluation Kit
+#@SOC: i.MX8MQ
+#@DESCRIPTION: Machine configuration for NXP i.MX8MQ EVK
+#@MAINTAINER: Jun Zhu <junzhu@nxp.com>
+
+MACHINEOVERRIDES =. "mx8:mx8mq:"
+
+require conf/machine/include/imx-base.inc
+require conf/machine/include/arm/arch-arm64.inc
+
+MACHINE_FEATURES += "pci wifi bluetooth optee qca6174"
+
+MACHINE_SOCARCH_FILTER_append_mx8mq = "virtual/libopenvg virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl virtual/libg2d"
+
+KERNEL_DEVICETREE = "freescale/fsl-imx8mq-evk.dtb freescale/fsl-imx8mq-evk-ak4497.dtb "
+KERNEL_DEVICETREE += "freescale/fsl-imx8mq-evk-audio-tdm.dtb"
+KERNEL_DEVICETREE += "freescale/fsl-imx8mq-evk-dcss-adv7535.dtb freescale/fsl-imx8mq-evk-dcss-rm67191.dtb"
+KERNEL_DEVICETREE += "freescale/fsl-imx8mq-evk-dual-display.dtb freescale/fsl-imx8mq-evk-drm.dtb "
+KERNEL_DEVICETREE += "freescale/fsl-imx8mq-evk-lcdif-adv7535.dtb"
+KERNEL_DEVICETREE += "freescale/fsl-imx8mq-evk-m4.dtb freescale/fsl-imx8mq-evk-mipi-csi2.dtb"
+KERNEL_DEVICETREE += "freescale/fsl-imx8mq-evk-pcie1-m2.dtb freescale/fsl-imx8mq-evk-pdm.dtb"
+
+IMAGE_BOOTFILES_DEPENDS += "imx-m4-demos:do_deploy"
+IMAGE_BOOTFILES += "imx8mq_m4_TCM_hello_world.bin imx8mq_m4_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin imx8mq_m4_TCM_rpmsg_lite_str_echo_rtos.bin"
+
+UBOOT_CONFIG ??= "sd"
+UBOOT_CONFIG[sd] = "imx8mq_evk_config,sdcard"
+UBOOT_CONFIG[mfgtool] = "imx8mq_evk_config"
+SPL_BINARY = "spl/u-boot-spl.bin"
+
+# Set DDR FIRMWARE
+DDR_FIRMWARE_NAME = "lpddr4_pmu_train_1d_imem.bin lpddr4_pmu_train_1d_dmem.bin lpddr4_pmu_train_2d_imem.bin lpddr4_pmu_train_2d_dmem.bin"
+
+# Set u-boot DTB
+UBOOT_DTB_NAME = "fsl-imx8mq-evk.dtb"
+
+# Set imx-mkimage boot target
+IMXBOOT_TARGETS = "flash_evk flash_evk_no_hdmi"
+
+# Set Serial console
+SERIAL_CONSOLE = "115200 ttymxc0"
+
+IMAGE_BOOTLOADER = "imx-boot"
+
+BOOT_SPACE = "65536"
+
+LOADADDR = ""
+UBOOT_SUFFIX = "bin"
+UBOOT_MAKE_TARGET = ""
+IMX_BOOT_SEEK = "33"
+
+OPTEE_BIN_EXT = "8mq"
diff --git a/conf/machine/imx8qmmek.conf b/conf/machine/imx8qmmek.conf
new file mode 100644
index 0000000..61c9f36
--- /dev/null
+++ b/conf/machine/imx8qmmek.conf
@@ -0,0 +1,49 @@
+#@TYPE: Machine
+#@NAME: i.MX 8QM MEK
+#@DESCRIPTION: i.MX 8QuadMax MEK board
+#@MAINTAINER: Jun Zhu <junzhu@nxp.com>
+
+MACHINEOVERRIDES =. "mx8:mx8qm:"
+
+require conf/machine/include/imx-base.inc
+require conf/machine/include/arm/arch-arm64.inc
+
+MACHINE_FEATURES_append = " qca6174"
+
+# Don't include kernels in standard images
+RDEPENDS_kernel-base = ""
+
+LOADADDR = ""
+
+# We have to disable SERIAL_CONSOLE due to auto-serial-console
+SERIAL_CONSOLE = "115200 ttyAMA0"
+
+# we do not want to have getty running on tty1 as we run
+# auto-serial-console there
+USE_VT = "0"
+
+KERNEL_DEVICETREE = "freescale/fsl-imx8qm-mek.dtb"
+KERNEL_DEVICETREE += "freescale/fsl-imx8qm-mek_ca53.dtb freescale/fsl-imx8qm-mek_ca72.dtb "
+KERNEL_DEVICETREE += "freescale/fsl-imx8qm-mek-8cam.dtb "
+KERNEL_DEVICETREE += "freescale/fsl-imx8qm-mek-hdmi.dtb "
+KERNEL_DEVICETREE += "freescale/fsl-imx8qm-mek-jdi-wuxga-lvds1-panel.dtb freescale/fsl-imx8qm-mek-dsi-rm67191.dtb"
+KERNEL_DEVICETREE += "freescale/fsl-imx8qm-mek-mipi-ov5640.dtb freescale/fsl-imx8qm-mek-mipi-two-ov5640.dtb"
+KERNEL_DEVICETREE += "freescale/fsl-imx8qm-mek-enet2-tja1100.dtb "
+KERNEL_DEVICETREE += "freescale/fsl-imx8qm-mek-dom0.dtb freescale/fsl-imx8qm-mek-domu.dtb"
+KERNEL_DEVICETREE += "freescale/fsl-imx8qp-lpddr4-arm2.dtb"
+
+UBOOT_MAKE_TARGET = "u-boot.bin"
+UBOOT_SUFFIX = "bin"
+UBOOT_CONFIG ??= "sd"
+UBOOT_CONFIG[sd] = "imx8qm_mek_defconfig,sdcard"
+UBOOT_CONFIG[fspi] = "imx8qm_mek_fspi_defconfig"
+UBOOT_CONFIG[mfgtool] = "imx8qm_mek_defconfig"
+
+BOOT_SPACE = "65536"
+IMAGE_BOOTLOADER = "imx-boot"
+IMX_BOOT_SEEK = "33"
+
+IMAGE_BOOTFILES_DEPENDS += "firmware-imx:do_deploy"
+IMAGE_BOOTFILES += "hdmitxfw.bin hdmirxfw.bin dpfw.bin"
+
+BOARD_TYPE = "mek"
diff --git a/conf/machine/imx8qxpa0mek.conf b/conf/machine/imx8qxpa0mek.conf
new file mode 100644
index 0000000..584cd07
--- /dev/null
+++ b/conf/machine/imx8qxpa0mek.conf
@@ -0,0 +1,38 @@
+#@TYPE: Machine
+#@NAME: i.MX 8QXP A0 MEK
+#@DESCRIPTION: i.MX 8QXP A0 Multisensory Enablement Kit (MEK) board
+
+MACHINEOVERRIDES =. "mx8:mx8qxp:mx8qxpa0:"
+
+require conf/machine/include/imx-base.inc
+require conf/machine/include/arm/arch-arm64.inc
+
+# Don't include kernels in standard images
+RDEPENDS_kernel-base = ""
+
+LOADADDR = ""
+
+# We have to disable SERIAL_CONSOLE due to auto-serial-console
+SERIAL_CONSOLE = "115200 ttyAMA0"
+
+# we do not want to have getty running on tty1 as we run
+# auto-serial-console there
+USE_VT = "0"
+
+KERNEL_DEVICETREE = "freescale/fsl-imx8qxp-mek-a0.dtb freescale/fsl-imx8qxp-mek-dom0.dtb"
+KERNEL_DEVICETREE += "freescale/fsl-imx8qxp-mek-dsi-rm67191.dtb"
+KERNEL_DEVICETREE += "freescale/fsl-imx8qxp-mek-enet2.dtb freescale/fsl-imx8qxp-mek-enet2-tja1100.dtb"
+KERNEL_DEVICETREE += "freescale/fsl-imx8qxp-mek-csi.dtb"
+KERNEL_DEVICETREE += "freescale/fsl-imx8qxp-mek-mipi-ov5640.dtb"
+
+UBOOT_MAKE_TARGET = "u-boot.bin"
+UBOOT_SUFFIX = "bin"
+UBOOT_CONFIG ??= "sd"
+UBOOT_CONFIG[sd] = "imx8qxp_mek_config,sdcard"
+UBOOT_CONFIG[fspi] = "imx8qxp_mek_fspi_defconfig"
+
+BOOT_SPACE = "65536"
+IMAGE_BOOTLOADER = "imx-boot"
+IMX_BOOT_SEEK = "33"
+
+BOARD_TYPE = "a0-mek"
diff --git a/conf/machine/imx8qxpmek.conf b/conf/machine/imx8qxpmek.conf
new file mode 100644
index 0000000..b810bd7
--- /dev/null
+++ b/conf/machine/imx8qxpmek.conf
@@ -0,0 +1,40 @@
+#@TYPE: Machine
+#@NAME: i.MX 8QXP MEK
+#@DESCRIPTION: i.MX 8QXP MEK board
+
+MACHINEOVERRIDES =. "mx8:mx8qxp:"
+
+require conf/machine/include/imx-base.inc
+require conf/machine/include/arm/arch-arm64.inc
+
+MACHINE_FEATURES_append = " qca6174"
+
+# Don't include kernels in standard images
+RDEPENDS_kernel-base = ""
+
+LOADADDR = ""
+
+# We have to disable SERIAL_CONSOLE due to auto-serial-console
+SERIAL_CONSOLE = "115200 ttyAMA0"
+
+# we do not want to have getty running on tty1 as we run
+# auto-serial-console there
+USE_VT = "0"
+
+KERNEL_DEVICETREE = "freescale/fsl-imx8qxp-mek.dtb freescale/fsl-imx8qxp-mek-dom0.dtb"
+KERNEL_DEVICETREE += "freescale/fsl-imx8qxp-mek-dsi-rm67191.dtb"
+KERNEL_DEVICETREE += "freescale/fsl-imx8qxp-mek-enet2.dtb freescale/fsl-imx8qxp-mek-enet2-tja1100.dtb"
+KERNEL_DEVICETREE += "freescale/fsl-imx8qxp-mek-csi.dtb"
+KERNEL_DEVICETREE += "freescale/fsl-imx8qxp-mek-mipi-ov5640.dtb freescale/fsl-imx8qxp-mek-ov5640.dtb"
+
+UBOOT_MAKE_TARGET = "u-boot.bin"
+UBOOT_SUFFIX = "bin"
+UBOOT_CONFIG ??= "sd"
+UBOOT_CONFIG[sd] = "imx8qxp_mek_config,sdcard"
+UBOOT_CONFIG[fspi] = "imx8qxp_mek_fspi_defconfig"
+
+BOOT_SPACE = "65536"
+IMAGE_BOOTLOADER = "imx-boot"
+IMX_BOOT_SEEK = "32"
+
+BOARD_TYPE = "mek"
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index f629f73..6f380f8 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -70,7 +70,9 @@ MACHINEOVERRIDES_EXTENDER_mx6ul  = "imxfbdev:imxpxp"
 MACHINEOVERRIDES_EXTENDER_mx6ull = "imxfbdev:imxpxp:imxepdc"
 MACHINEOVERRIDES_EXTENDER_mx7d   = "imxfbdev:imxpxp:imxepdc"
 MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d"
+MACHINEOVERRIDES_EXTENDER_mx8qm  = "imxdrm:imxgpu:imxgpu2d:imxgpu3d"
 MACHINEOVERRIDES_EXTENDER_mx8mq  = "imxdrm:imxvpu:imxgpu:imxgpu3d"
+MACHINEOVERRIDES_EXTENDER_mx8qxp = "imxdrm:imxgpu:imxgpu2d:imxgpu3d"
 
 MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \
     mx6 \
@@ -102,7 +104,9 @@ MACHINE_SOCARCH_SUFFIX_vf60 = "-vf60"
 MACHINE_SOCARCH_SUFFIX_vf50 = "-vf50"
 MACHINE_SOCARCH_SUFFIX_mx6ul  = "-mx6ul"
 MACHINE_SOCARCH_SUFFIX_mx6ull = "-mx6ul"
+MACHINE_SOCARCH_SUFFIX_mx8qm  = "-mx8"
 MACHINE_SOCARCH_SUFFIX_mx8mq  = "-mx8m"
+MACHINE_SOCARCH_SUFFIX_mx8qxp = "-mx8x"
 MACHINE_SOCARCH_SUFFIX_use-mainline-bsp = "-imx"
 
 MACHINE_ARCH_FILTER = "virtual/kernel"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 11/43] imx-dpu-g2d: Use machine override for compatibility
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (9 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 10/43] machine: " Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 12/43] kernel-module-imx-gpu-viv: Update to 6.2.4.p1.6 Tom Hochstein
                   ` (17 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Use imxdpu override for machine compatibility.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 conf/machine/include/imx-base.inc                 | 4 ++--
 recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.2.bb | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 6f380f8..227fad5 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -70,9 +70,9 @@ MACHINEOVERRIDES_EXTENDER_mx6ul  = "imxfbdev:imxpxp"
 MACHINEOVERRIDES_EXTENDER_mx6ull = "imxfbdev:imxpxp:imxepdc"
 MACHINEOVERRIDES_EXTENDER_mx7d   = "imxfbdev:imxpxp:imxepdc"
 MACHINEOVERRIDES_EXTENDER_mx7ulp = "imxfbdev:imxpxp:imxgpu:imxgpu2d:imxgpu3d"
-MACHINEOVERRIDES_EXTENDER_mx8qm  = "imxdrm:imxgpu:imxgpu2d:imxgpu3d"
+MACHINEOVERRIDES_EXTENDER_mx8qm  = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d"
 MACHINEOVERRIDES_EXTENDER_mx8mq  = "imxdrm:imxvpu:imxgpu:imxgpu3d"
-MACHINEOVERRIDES_EXTENDER_mx8qxp = "imxdrm:imxgpu:imxgpu2d:imxgpu3d"
+MACHINEOVERRIDES_EXTENDER_mx8qxp = "imxdrm:imxdpu:imxgpu:imxgpu2d:imxgpu3d"
 
 MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \
     mx6 \
diff --git a/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.2.bb b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.2.bb
index dd3aa9d..2538e1e 100644
--- a/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.2.bb
+++ b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.2.bb
@@ -34,4 +34,5 @@ INSANE_SKIP_${PN} += "ldflags"
 FILES_${PN} = "${libdir}/libg2d* /opt"
 FILES_${PN}-dev = "${libdir}/libg2d${SOLIBSDEV} ${includedir}"
 
-COMPATIBLE_MACHINE = "(mx8mm)"
+COMPATIBLE_MACHINE = "(^$)"
+COMPATIBLE_MACHINE_imxdpu = "${MACHINE}"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 12/43] kernel-module-imx-gpu-viv: Update to 6.2.4.p1.6
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (10 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 11/43] imx-dpu-g2d: Use machine override for compatibility Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 13/43] imx-gpu-viv: " Tom Hochstein
                   ` (16 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 ...-gpu-viv_6.2.4.p1.2.bb => kernel-module-imx-gpu-viv_6.2.4.p1.6.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename recipes-kernel/kernel-modules/{kernel-module-imx-gpu-viv_6.2.4.p1.2.bb => kernel-module-imx-gpu-viv_6.2.4.p1.6.bb} (89%)

diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.2.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.6.bb
similarity index 89%
rename from recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.2.bb
rename to recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.6.bb
index 2e59a60..0170695 100644
--- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.2.bb
+++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.6.bb
@@ -7,7 +7,7 @@ allowing flexibility to use a newer graphics release with an older kernel."
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
 
-SRCBRANCH = "imx_4.9.88_2.0.0_ga"
+SRCBRANCH = "imx_4.9.88_imx8qxp_beta2"
 LOCALVERSION = "-${SRCBRANCH}"
 
 KERNEL_SRC ?= "git://source.codeaurora.org/external/imx/linux-imx.git;protocol=https"
@@ -15,7 +15,7 @@ SRC_URI = " \
     ${KERNEL_SRC};branch=${SRCBRANCH};subpath=drivers/mxc/gpu-viv;destsuffix=git/src \
     file://Add-makefile.patch \
 "
-SRCREV = "5e23f9d6114784d77fd4ed5848953356c3575532"
+SRCREV = "05f46d3f9b4a8987edac62a52528d52f47cfa42d"
 
 S = "${WORKDIR}/git"
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 13/43] imx-gpu-viv: Update to 6.2.4.p1.6
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (11 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 12/43] kernel-module-imx-gpu-viv: Update to 6.2.4.p1.6 Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 14/43] imx-gpu-g2d: " Tom Hochstein
                   ` (15 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.2-aarch64.bb      | 6 ------
 ...-viv_6.2.4.p1.2-aarch32.bb => imx-gpu-viv_6.2.4.p1.6-aarch32.bb} | 6 +++---
 recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.6-aarch64.bb      | 6 ++++++
 3 files changed, 9 insertions(+), 9 deletions(-)
 delete mode 100644 recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.2-aarch64.bb
 rename recipes-graphics/imx-gpu-viv/{imx-gpu-viv_6.2.4.p1.2-aarch32.bb => imx-gpu-viv_6.2.4.p1.6-aarch32.bb} (60%)
 create mode 100644 recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.6-aarch64.bb

diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.2-aarch64.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.2-aarch64.bb
deleted file mode 100644
index 4b1a72c..0000000
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.2-aarch64.bb
+++ /dev/null
@@ -1,6 +0,0 @@
-require imx-gpu-viv-6.inc
-
-SRC_URI[md5sum] = "28ef177f53be40c738f46018cebf055c"
-SRC_URI[sha256sum] = "27ed3f58681cef18f87ea20946cc89b2cef4848006064303d20583e6ed7aeec7"
-
-COMPATIBLE_MACHINE = "(mx8)"
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.2-aarch32.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.6-aarch32.bb
similarity index 60%
rename from recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.2-aarch32.bb
rename to recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.6-aarch32.bb
index 0500457..71828e1 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.2-aarch32.bb
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.6-aarch32.bb
@@ -1,11 +1,11 @@
 # Copyright (C) 2013-2016 Freescale Semiconductor
-# Copyright 2017 NXP
+# Copyright 2017-2018 NXP
 # Released under the MIT license (see COPYING.MIT for the terms)
 
 require recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
 
-SRC_URI[md5sum] = "280990aab8dee2ee9ce508cbf0d6833f"
-SRC_URI[sha256sum] = "dddadd164bede4793409ccfb636324dd73862c33458db66a5860f126bada25dc"
+SRC_URI[md5sum] = "25f961c67d8c3b8b0f38bbf3b6da5ea6"
+SRC_URI[sha256sum] = "463b3cba4b6f817e8f2b1abdadb51bbecdbdab3066a5c0b92504156a6f86f8c0"
 
 PACKAGE_FP_TYPE = "hardfp"
 
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.6-aarch64.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.6-aarch64.bb
new file mode 100644
index 0000000..eeca412
--- /dev/null
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.2.4.p1.6-aarch64.bb
@@ -0,0 +1,6 @@
+require imx-gpu-viv-6.inc
+
+SRC_URI[md5sum] = "2d5437e5264a25fdddcc29c63db82e84"
+SRC_URI[sha256sum] = "bfcb9f8f16b006c35576a57d185692ae22acdc9353b5a1f7f818436810224027"
+
+COMPATIBLE_MACHINE = "(mx8)"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 14/43] imx-gpu-g2d: Update to 6.2.4.p1.6
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (12 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 13/43] imx-gpu-viv: " Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 15/43] imx-dpu-g2d: Update to 1.4.6 Tom Hochstein
                   ` (14 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 .../{imx-gpu-g2d_6.2.4.p1.2.bb => imx-gpu-g2d_6.2.4.p1.6.bb}        | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename recipes-graphics/imx-gpu-g2d/{imx-gpu-g2d_6.2.4.p1.2.bb => imx-gpu-g2d_6.2.4.p1.6.bb} (80%)

diff --git a/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.4.p1.2.bb b/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.4.p1.6.bb
similarity index 80%
rename from recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.4.p1.2.bb
rename to recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.4.p1.6.bb
index 60566e1..90bc7bf 100644
--- a/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.4.p1.2.bb
+++ b/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.4.p1.6.bb
@@ -5,7 +5,7 @@
 
 DESCRIPTION = "G2D graphics library and apps for i.MX 6 and i.MX 7 GPU"
 LICENSE = "Proprietary"
-LIC_FILES_CHKSUM = "file://COPYING;md5=75abe2fa1d16ca79f87cde926f05f72d"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ab61cab9599935bfe9f700405ef00f28"
 
 DEPENDS += "libgal-imx"
 PROVIDES += "virtual/libg2d"
@@ -16,8 +16,8 @@ S="${WORKDIR}/${PN}-${PV}"
 
 inherit fsl-eula-unpack
 
-SRC_URI[md5sum] = "fd93eb85a64a18dac3b6c2ead86c8333"
-SRC_URI[sha256sum] = "5f2d2171d5cd57f37ab07184fc908a0f6ecb2a97f023f04c2f9f3b3d7fec8481"
+SRC_URI[md5sum] = "0829288a9b4fcc89066d1671aeb671b9"
+SRC_URI[sha256sum] = "5ded476226df9068ec8611b5e89d444de1e5d9a53374a7ea4fb47bc5c6ba20e0"
 
 do_install () {
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 15/43] imx-dpu-g2d: Update to 1.4.6
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (13 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 14/43] imx-gpu-g2d: " Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 16/43] xf86-video-imx-vivante: Update to 6.2.4.p1.6 Tom Hochstein
                   ` (13 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Includes support for i.MX 8 and 8X families.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 .../imx-dpu-g2d/{imx-dpu-g2d_1.4.2.bb => imx-dpu-g2d_1.4.6.bb}      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename recipes-graphics/imx-dpu-g2d/{imx-dpu-g2d_1.4.2.bb => imx-dpu-g2d_1.4.6.bb} (79%)

diff --git a/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.2.bb b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.6.bb
similarity index 79%
rename from recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.2.bb
rename to recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.6.bb
index 2538e1e..23f564e 100644
--- a/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.2.bb
+++ b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.6.bb
@@ -4,7 +4,7 @@
 
 DESCRIPTION = "G2D graphics library and apps for i.MX with DRM"
 LICENSE = "Proprietary"
-LIC_FILES_CHKSUM = "file://COPYING;md5=75abe2fa1d16ca79f87cde926f05f72d"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ab61cab9599935bfe9f700405ef00f28"
 
 RDEPENDS_${PN} = "libgal-imx libdrm"
 
@@ -16,8 +16,8 @@ S="${WORKDIR}/${PN}-${PV}"
 
 inherit fsl-eula-unpack
 
-SRC_URI[md5sum] = "9beeb2c66f1bad4e82a77487486a31c8"
-SRC_URI[sha256sum] = "905e797d7fb573b5fea616940b07dc15d817fe2f5e94668f883e9faaa516989a"
+SRC_URI[md5sum] = "c18c4bd215bac23b035b1e8a55cbaaf2"
+SRC_URI[sha256sum] = "dd111f3a9c76bd9c338407658af849c325b424541bb2166ffe1f6dd31c834100"
 
 do_install () {
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 16/43] xf86-video-imx-vivante: Update to 6.2.4.p1.6
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (14 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 15/43] imx-dpu-g2d: Update to 1.4.6 Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 17/43] imx-gpu-viv: Remove wayland-egl files Tom Hochstein
                   ` (12 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

This is a version change only to keep the naming consistent.
The SRCREV is unchanged from 6.2.4.p1.2.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 ...deo-imx-vivante_6.2.4.p1.2.bb => xf86-video-imx-vivante_6.2.4.p1.6.bb} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-graphics/xorg-driver/{xf86-video-imx-vivante_6.2.4.p1.2.bb => xf86-video-imx-vivante_6.2.4.p1.6.bb} (100%)

diff --git a/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.2.4.p1.2.bb b/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.2.4.p1.6.bb
similarity index 100%
rename from recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.2.4.p1.2.bb
rename to recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.2.4.p1.6.bb
-- 
2.7.4



^ permalink raw reply	[flat|nested] 38+ messages in thread

* [PATCH v3 17/43] imx-gpu-viv: Remove wayland-egl files
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (15 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 16/43] xf86-video-imx-vivante: Update to 6.2.4.p1.6 Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 18/43] imx-gpu-viv: Add support for i.MX 8 and 8X families Tom Hochstein
                   ` (11 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Remove wayland-egl files since this support is now provided by Wayland
itself.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
index b945d8a..09b20e1 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
@@ -39,7 +39,6 @@ PROVIDES += " \
     virtual/libopenvg \
     virtual/opencl-headers \
     virtual/opencl-icd \
-    virtual/wayland-egl \
     ${EXTRA_PROVIDES} \
 "
 
@@ -70,7 +69,6 @@ PACKAGES =+ "libclc-imx libclc-imx-dev \
 	${IMX_PACKAGES_GBM} \
 	libwayland-viv-imx libwayland-viv-imx-dev \
 	libgc-wayland-protocol-imx libgc-wayland-protocol-imx-dev \
-	libwayland-egl-imx-dev \
 	imx-gpu-viv-tools \
 	imx-gpu-viv-demos \
 	libvulkan-imx libvulkan-imx-dev \
@@ -163,7 +161,6 @@ do_install () {
         install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/glesv1_cm.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc
         install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/glesv2.pc ${D}${libdir}/pkgconfig/glesv2.pc
         install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/vg.pc ${D}${libdir}/pkgconfig/vg.pc
-        install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/wayland-egl.pc ${D}${libdir}/pkgconfig/wayland-egl.pc
 
        if [ "${USE_X11}" = "yes" ]; then
 
@@ -288,7 +285,6 @@ FILES_libclc-imx-dev = "${includedir}/CL ${libdir}/libCLC${SOLIBSDEV}"
 INSANE_SKIP_libegl-imx += "dev-so"
 FILES_libegl-imx = "${libdir}/libEGL${REALSOLIBS} ${libdir}/libEGL${SOLIBSDEV} "
 FILES_libegl-imx-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc"
-RDEPENDS_libegl-imx-dev += "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'libwayland-egl-imx-dev', '', d)}"
 
 FILES_libgal-imx = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}"
 FILES_libgal-imx-dev = "${libdir}/libGAL${SOLIBSDEV} ${includedir}/HAL"
@@ -357,8 +353,6 @@ INSANE_SKIP_libgc-wayland-protocol-imx += "dev-so"
 FILES_libgc-wayland-protocol-imx = "${libdir}/libgc_wayland_protocol${REALSOLIBS} ${libdir}/libgc_wayland_protocol${SOLIBS}"
 FILES_libgc-wayland-protocol-imx-dev = "${libdir}/libgc_wayland_protocol${SOLIBSDEV} ${libdir}/pkgconfig/gc_wayland_protocol.pc"
 
-FILES_libwayland-egl-imx-dev = "${libdir}/pkgconfig/wayland-egl.pc"
-
 FILES_imx-gpu-viv-tools = "${bindir}/gmem_info"
 
 FILES_imx-gpu-viv-demos = "/opt"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 18/43] imx-gpu-viv: Add support for i.MX 8 and 8X families
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (16 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 17/43] imx-gpu-viv: Remove wayland-egl files Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 19/43] imx-gpu-viv: Add support for OpenCL and OpenVX Tom Hochstein
                   ` (10 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

- Install GLES 3.1 for all i.MX 8 Series
- Install GLES 3.2 for all i.MX 8 Family
- All i.MX 8 Series require wayland

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
index 09b20e1..878de7d 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
@@ -46,7 +46,9 @@ RPROVIDES_${PN}_imxgpu3d += "imx-gpu-viv"
 
 PE = "1"
 
-inherit fsl-eula-unpack
+inherit fsl-eula-unpack distro_features_check
+
+REQUIRED_DISTRO_FEATURES_mx8 = "wayland"
 
 SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
 
@@ -131,8 +133,11 @@ PACKAGE_FP_TYPE = "hardfp"
 HAS_GBM     = "false"
 HAS_GBM_mx8 = "true"
 
-GLES3_HEADER_REMOVALS       = "gl31.h gl32.h"
-GLES3_HEADER_REMOVALS_mx8mq = "gl32.h"
+# GLES 3.1 is supported for i.MX 8 Series only
+# GLES 3.2 is supported for i.MX 8 Family only
+GLES3_HEADER_REMOVALS = "gl31.h gl32.h"
+GLES3_HEADER_REMOVALS_remove_mx8   = "gl31.h"
+GLES3_HEADER_REMOVALS_remove_mx8qm = "gl32.h"
 
 do_install () {
     install -d ${D}${libdir}
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 19/43] imx-gpu-viv: Add support for OpenCL and OpenVX
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (17 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 18/43] imx-gpu-viv: Add support for i.MX 8 and 8X families Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 20/43] fsl-eula: Extend EULA-based archive support Tom Hochstein
                   ` (9 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 conf/machine/include/imx-base.inc              | 11 +++++++++++
 recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | 12 +++++++++++-
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 227fad5..70ec39a 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -151,6 +151,17 @@ MACHINE_SOCARCH_FILTER_append_use-mainline-bsp = " \
     pango \
     qtbase \
 "
+MACHINE_SOCARCH_FILTER_append_mx6q = " \
+    virtual/opencl-icd \
+    opencl-headers \
+"
+MACHINE_SOCARCH_FILTER_append_mx8 = " \
+    virtual/opencl-icd \
+    opencl-headers \
+"
+MACHINE_SOCARCH_FILTER_append_mx8qm = " \
+    virtual/libopenvx \
+"
 
 INHERIT += "fsl-dynamic-packagearch"
 
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
index 878de7d..89f51e5 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc
@@ -30,7 +30,17 @@ EXTRA_PROVIDES_append_imxgpu3d = " \
     virtual/libgles1 \
     virtual/libgles2 \
 "
-
+EXTRA_PROVIDES_append_mx6q = " \
+    virtual/opencl-icd \
+    opencl-headers \
+"
+EXTRA_PROVIDES_append_mx8 = " \
+    virtual/opencl-icd \
+    opencl-headers \
+"
+EXTRA_PROVIDES_append_mx8qm = " \
+    virtual/libopenvx \
+"
 PROVIDES += " \
     imx-gpu-viv \
     libgal-imx \
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 20/43] fsl-eula: Extend EULA-based archive support
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (18 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 19/43] imx-gpu-viv: Add support for OpenCL and OpenVX Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 21/43] u-boot-imx: Deploy tools on boot partition for i.MX 8MQ Tom Hochstein
                   ` (8 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Define a common naming scheme and a common unpacking scheme.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 classes/fsl-eula-graphics.bbclass |  9 +++++++++
 classes/fsl-eula-unpack2.bbclass  | 36 ++++++++++++++++++++++++++++++++++++
 classes/fsl-eula.bbclass          | 29 +++++++++++++++++++++++++++++
 3 files changed, 74 insertions(+)
 create mode 100644 classes/fsl-eula-graphics.bbclass
 create mode 100644 classes/fsl-eula-unpack2.bbclass
 create mode 100644 classes/fsl-eula.bbclass

diff --git a/classes/fsl-eula-graphics.bbclass b/classes/fsl-eula-graphics.bbclass
new file mode 100644
index 0000000..1feb7bb
--- /dev/null
+++ b/classes/fsl-eula-graphics.bbclass
@@ -0,0 +1,9 @@
+# fsl-eula-graphics.bbclass extends the naming scheme in fsl-eula.bbclass
+# to allow for graphics-backend-specific archives.
+IMX_PACKAGE_NAME_APPEND = ""
+IMX_PACKAGE_NAME_APPEND_class-target = \
+    "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-wayland', \
+        bb.utils.contains('DISTRO_FEATURES',     'x11',     '-x11', \
+                                                             '-fb', d), d)}"
+IMX_PACKAGE_NAME_append_class-target = "${IMX_PACKAGE_NAME_APPEND}"
+SRC_URI_NAME_append_class-target     = "${IMX_PACKAGE_NAME_APPEND}"
diff --git a/classes/fsl-eula-unpack2.bbclass b/classes/fsl-eula-unpack2.bbclass
new file mode 100644
index 0000000..4bd7b86
--- /dev/null
+++ b/classes/fsl-eula-unpack2.bbclass
@@ -0,0 +1,36 @@
+# fsl-eula-unpack2.bbclass provides a mechanism for a) unpacking certain
+# EULA-licensed archives downloaded by HTTP and b) handling the EULA
+# acceptance.
+
+inherit fsl-eula-unpack fsl-eula
+
+IMX_PACKAGE_VERSION = "${PV}"
+
+SRC_URI = "${FSL_MIRROR}${IMX_PACKAGE_NAME}.bin;name=${SRC_URI_NAME};fsl-eula=true"
+
+S = "${WORKDIR}/${IMX_PACKAGE_NAME}"
+
+# For native apps, insert the user-local sysroot path
+# For nativesdk apps, insert the correct distro folder
+D_SUBDIR                 = ""
+D_SUBDIR_class-native    = "${STAGING_DIR_NATIVE}"
+D_SUBDIR_class-nativesdk = "/opt/${DISTRO}"
+
+# SCR is the location and name of the Software Content Register file
+# relative to ${D}${D_SUBDIR}.
+SCR = "SCR.txt"
+
+do_install () {
+    install -d ${D}${D_SUBDIR}
+    cp -r ${S}/* ${D}${D_SUBDIR}
+    if [ -d "${D}/usr/lib" ] && [ "${D}/usr/lib" != "${D}${libdir}" ]; then
+        mv ${D}/usr/lib ${D}${libdir}
+    fi
+    rm ${D}${D_SUBDIR}/COPYING
+    if [ ! -f ${D}${D_SUBDIR}/${SCR} ]; then
+        bbfatal "Missing Software Content Register \"${D}${D_SUBDIR}/${SCR}\""
+    fi
+    rm ${D}${D_SUBDIR}/${SCR}
+}
+
+FILES_${PN} = "/"
diff --git a/classes/fsl-eula.bbclass b/classes/fsl-eula.bbclass
new file mode 100644
index 0000000..0e65ee8
--- /dev/null
+++ b/classes/fsl-eula.bbclass
@@ -0,0 +1,29 @@
+# fsl-eula.bbclass defines a common naming scheme used by the
+# packing and unpacking mechanisms defined in fsl-eula-pack.bbclass
+# and fsl-eula-unpack2.bbclass.
+#
+# Note that it is not necessary to inherit this class directly. It is
+# already inherited from fsl-eula-pack.bbclass and fsl-eula-unpack2.bbclass.
+#
+# The naming scheme takes into account the fact that a single software
+# package can create many archives based on the combinations of a) target
+# versus native/nativesdk components, and b) the target or native architecture.
+# The naming scheme can be extended through regular bitbake means to allow
+# configuration-specific archives, as can be seen in fsl-eula-graphics.bbclass.
+
+# The variable IMX_PACKAGE_NAME gives a unique name for every possible
+# archive. The variable is built from a combination of the package name ${PN},
+# the version ${IMX_PACKAGE_VERSION} and the target or native architecture,
+# ${TARGET_ARCH} or ${BUILD_ARCH}.
+IMX_PACKAGE_NAME                 = "${BPN}-${IMX_PACKAGE_VERSION}-${TARGET_ARCH}"
+IMX_PACKAGE_NAME_class-native    = "${PN}-${IMX_PACKAGE_VERSION}-${BUILD_ARCH}"
+IMX_PACKAGE_NAME_class-nativesdk = "${PN}-${IMX_PACKAGE_VERSION}-${BUILD_ARCH}"
+
+# The variable SRC_URI_NAME gives a unique SRC_URI name option for use in
+# unpacking recipes derived from fsl-eula-unpack2.bbclass. With this name,
+# a single unpacking recipe can handle all possible archives. The name is
+# built from with a combination of target or native architecture,
+# ${TARGET_ARCH} or ${BUILD_ARCH}, and a native or nativesdk designation.
+SRC_URI_NAME                 = "${TARGET_ARCH}"
+SRC_URI_NAME_class-native    = "${BUILD_ARCH}-native"
+SRC_URI_NAME_class-nativesdk = "${BUILD_ARCH}-nativesdk"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 21/43] u-boot-imx: Deploy tools on boot partition for i.MX 8MQ
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (19 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 20/43] fsl-eula: Extend EULA-based archive support Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 22/43] imx-atf: Add new package ARM Trusted Firmware Tom Hochstein
                   ` (7 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-bsp/u-boot/u-boot-imx_2017.03.bb | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/recipes-bsp/u-boot/u-boot-imx_2017.03.bb b/recipes-bsp/u-boot/u-boot-imx_2017.03.bb
index cc2fc12..e66df88 100644
--- a/recipes-bsp/u-boot/u-boot-imx_2017.03.bb
+++ b/recipes-bsp/u-boot/u-boot-imx_2017.03.bb
@@ -20,5 +20,29 @@ inherit dtc-145 fsl-u-boot-localversion
 
 LOCALVERSION ?= "-${SRCBRANCH}"
 
+BOOT_TOOLS = "imx-boot-tools"
+
+do_deploy_append_mx8mq () {
+    # Deploy the mkimage, u-boot-nodtb.bin and fsl-imx8mq-XX.dtb for mkimage to generate boot binary
+    if [ -n "${UBOOT_CONFIG}" ]
+    then
+        for config in ${UBOOT_MACHINE}; do
+            i=$(expr $i + 1);
+            for type in ${UBOOT_CONFIG}; do
+                j=$(expr $j + 1);
+                if [ $j -eq $i ]
+                then
+                    install -d ${DEPLOYDIR}/${BOOT_TOOLS}
+                    install -m 0777 ${B}/${config}/arch/arm/dts/${UBOOT_DTB_NAME}  ${DEPLOYDIR}/${BOOT_TOOLS}
+                    install -m 0777 ${B}/${config}/tools/mkimage  ${DEPLOYDIR}/${BOOT_TOOLS}/mkimage_uboot
+                    install -m 0777 ${B}/${config}/u-boot-nodtb.bin  ${DEPLOYDIR}/${BOOT_TOOLS}
+                fi
+            done
+            unset  j
+        done
+        unset  i
+    fi
+}
+
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 22/43] imx-atf: Add new package ARM Trusted Firmware
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (20 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 21/43] u-boot-imx: Deploy tools on boot partition for i.MX 8MQ Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 23/43] imx-sc-firmware: Add new package System Controller Firmware Tom Hochstein
                   ` (6 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-bsp/imx-atf/imx-atf_1.4.1.bb | 65 ++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
 create mode 100644 recipes-bsp/imx-atf/imx-atf_1.4.1.bb

diff --git a/recipes-bsp/imx-atf/imx-atf_1.4.1.bb b/recipes-bsp/imx-atf/imx-atf_1.4.1.bb
new file mode 100644
index 0000000..9bd9d73
--- /dev/null
+++ b/recipes-bsp/imx-atf/imx-atf_1.4.1.bb
@@ -0,0 +1,65 @@
+# Copyright 2017-2018 NXP
+
+DESCRIPTION = "i.MX ARM Trusted Firmware"
+SECTION = "BSP"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
+
+PV = "1.4.1+git${SRCPV}"
+
+SRCBRANCH = "imx_4.9.88_imx8qxp_beta2"
+SRC_URI = "git://source.codeaurora.org/external/imx/imx-atf.git;protocol=https;branch=${SRCBRANCH}"
+SRCREV = "00b653ec4b51a211ae735ffe0d3c9de7a8979947"
+
+S = "${WORKDIR}/git"
+
+inherit pkgconfig deploy
+
+BOOT_TOOLS = "imx-boot-tools"
+
+SOC_ATF ?= "imx8qm"
+SOC_ATF_mx8qm = "imx8qm"
+SOC_ATF_mx8qxp = "imx8qxp"
+SOC_ATF_mx8mq = "imx8mq"
+
+SYSROOT_DIRS += "/boot"
+
+EXTRA_OEMAKE_append = " ${@bb.utils.contains('COMBINED_FEATURES', 'optee', 'SPD=opteed', '', d)}"
+
+do_compile () {
+    export CROSS_COMPILE="${TARGET_PREFIX}"
+    cd ${S}
+    # Clear LDFLAGS to avoid the option -Wl recognize issue
+    unset LDFLAGS
+
+    echo "-> Build ${SOC_ATF} bl31.bin"
+    # Set BUIL_STRING with the revision info
+    BUILD_STRING=""
+    if [ -e ${S}/.revision ]; then
+        cur_rev=`cat ${S}/.revision`
+        echo " Current revision is ${cur_rev} ."
+        BUILD_STRING="BUILD_STRING=${cur_rev}"
+    else
+        echo " No .revision found! "
+    fi
+    oe_runmake clean PLAT=${SOC_ATF}
+    oe_runmake ${BUILD_STRING} PLAT=${SOC_ATF} bl31
+
+    unset CROSS_COMPILE
+}
+
+do_deploy () {
+    install -d ${DEPLOYDIR}/${BOOT_TOOLS}
+    install -m 0644 ${S}/build/${SOC_ATF}/release/bl31.bin ${DEPLOYDIR}/${BOOT_TOOLS}/bl31-${SOC_ATF}.bin
+}
+addtask deploy before do_install after do_compile
+
+do_install () {
+    install -d ${D}/boot
+    install -m 0644 ${S}/build/${SOC_ATF}/release/bl31.bin ${D}/boot/bl31-${SOC_ATF}.bin
+}
+
+FILES_${PN} = "/boot"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(mx8)"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 23/43] imx-sc-firmware: Add new package System Controller Firmware
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (21 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 22/43] imx-atf: Add new package ARM Trusted Firmware Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 24/43] imx-boot: Add recipes for i.MX 8 boot partition packages Tom Hochstein
                   ` (5 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Add System Controller firmware package for i.MX 8 and 8X families.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-bsp/imx-sc-firmware/imx-sc-firmware_0.7.bb | 50 ++++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 recipes-bsp/imx-sc-firmware/imx-sc-firmware_0.7.bb

diff --git a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_0.7.bb b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_0.7.bb
new file mode 100644
index 0000000..c203d7e
--- /dev/null
+++ b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_0.7.bb
@@ -0,0 +1,50 @@
+# Copyright (C) 2016 Freescale Semiconductor
+# Copyright 2017-2018 NXP
+
+DESCRIPTION = "i.MX System Controller Firmware"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ab61cab9599935bfe9f700405ef00f28"
+SECTION = "BSP"
+
+inherit fsl-eula-unpack pkgconfig deploy
+
+SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
+
+SRC_URI[md5sum] = "9dcdbdae491bd6b027ccab0e354870cb"
+SRC_URI[sha256sum] = "46e487605c31f44b4fe0280e57e4e0a3fe51c375300766805ae1161c39021766"
+
+S = "${WORKDIR}/${PN}-${PV}"
+
+BOARD_TYPE ?= "mek"
+SC_FIRMWARE_NAME ?= "mx8qm-mek-scfw-tcm.bin"
+SC_FIRMWARE_NAME_mx8qm = "mx8qm-${BOARD_TYPE}-scfw-tcm.bin"
+SC_FIRMWARE_NAME_mx8qxp = "mx8qx-${BOARD_TYPE}-scfw-tcm.bin"
+symlink_name = "scfw_tcm.bin"
+
+SYSROOT_DIRS += "/boot"
+
+do_install () {
+    install -d ${D}/boot
+    install -m 0644 ${S}/${SC_FIRMWARE_NAME} ${D}/boot/
+}
+
+BOOT_TOOLS = "imx-boot-tools"
+
+do_deploy () {
+    install -d ${DEPLOYDIR}/${BOOT_TOOLS}
+    install -m 0644 ${S}/${SC_FIRMWARE_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}/
+    cd ${DEPLOYDIR}/${BOOT_TOOLS}/
+    rm -f ${symlink_name}
+    ln -sf ${SC_FIRMWARE_NAME} ${symlink_name}
+    cd -
+}
+
+addtask deploy after do_install
+
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+FILES_${PN} = "/boot"
+
+COMPATIBLE_MACHINE = "(mx8qm|mx8qxp)"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 24/43] imx-boot: Add recipes for i.MX 8 boot partition packages.
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (22 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 23/43] imx-sc-firmware: Add new package System Controller Firmware Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 25/43] alsa-state: Fix buffer size issue Tom Hochstein
                   ` (4 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-bsp/imx-mkimage/imx-boot_0.2.bb       | 194 ++++++++++++++++++++++++++
 recipes-bsp/imx-mkimage/imx-m4-demos_1.0.1.bb |  28 ++++
 recipes-bsp/imx-mkimage/imx-m4-demos_2.3.0.bb |  42 ++++++
 recipes-bsp/imx-mkimage/imx-m4-demos_2.3.1.bb |  33 +++++
 recipes-bsp/imx-mkimage/imx-m4-demos_2.4.0.bb |  33 +++++
 recipes-bsp/imx-mkimage/imx-mkimage_git.bb    |  35 +++++
 recipes-bsp/imx-mkimage/imx-mkimage_git.inc   |  11 ++
 7 files changed, 376 insertions(+)
 create mode 100644 recipes-bsp/imx-mkimage/imx-boot_0.2.bb
 create mode 100644 recipes-bsp/imx-mkimage/imx-m4-demos_1.0.1.bb
 create mode 100644 recipes-bsp/imx-mkimage/imx-m4-demos_2.3.0.bb
 create mode 100644 recipes-bsp/imx-mkimage/imx-m4-demos_2.3.1.bb
 create mode 100644 recipes-bsp/imx-mkimage/imx-m4-demos_2.4.0.bb
 create mode 100644 recipes-bsp/imx-mkimage/imx-mkimage_git.bb
 create mode 100644 recipes-bsp/imx-mkimage/imx-mkimage_git.inc

diff --git a/recipes-bsp/imx-mkimage/imx-boot_0.2.bb b/recipes-bsp/imx-mkimage/imx-boot_0.2.bb
new file mode 100644
index 0000000..6d2f779
--- /dev/null
+++ b/recipes-bsp/imx-mkimage/imx-boot_0.2.bb
@@ -0,0 +1,194 @@
+# Copyright 2017-2018 NXP
+
+require imx-mkimage_git.inc
+
+DESCRIPTION = "Generate Boot Loader for i.MX 8 device"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+SECTION = "BSP"
+
+IMX_FIRMWARE        = "imx-sc-firmware"
+IMX_FIRMWARE_mx8mq  = "firmware-imx"
+IMX_FIRMWARE_mx8qxp = "firmware-imx imx-sc-firmware"
+DEPENDS += " \
+    u-boot \
+    ${IMX_FIRMWARE} \
+    imx-atf \
+    ${@bb.utils.contains('COMBINED_FEATURES', 'optee', 'optee-os-imx', '', d)} \
+"
+DEPENDS_append_mx8mq = " dtc-native"
+BOOT_NAME = "imx-boot"
+PROVIDES = "${BOOT_NAME}"
+
+inherit deploy
+
+# Add CFLAGS with native INCDIR & LIBDIR for imx-mkimage build
+CFLAGS = "-O2 -Wall -std=c99 -static -I ${STAGING_INCDIR_NATIVE} -L ${STAGING_LIBDIR_NATIVE}"
+
+# For i.MX 8, this package aggregates the imx-m4-demos
+# output. Note that this aggregation replaces the aggregation
+# that would otherwise be done in the image build as controlled
+# by IMAGE_BOOTFILES_DEPENDS and IMAGE_BOOTFILES in image_types_fsl.bbclass
+IMX_M4_DEMOS        = ""
+IMX_M4_DEMOS_mx8qm  = "imx-m4-demos:do_deploy"
+IMX_M4_DEMOS_mx8qxp = "imx-m4-demos:do_deploy"
+
+# This package aggregates output deployed by other packages,
+# so set the appropriate dependencies
+do_compile[depends] += " \
+    virtual/bootloader:do_deploy \
+    ${@' '.join('%s:do_deploy' % r for r in '${IMX_FIRMWARE}'.split() )} \
+    imx-atf:do_deploy \
+    ${IMX_M4_DEMOS} \
+    ${@bb.utils.contains('COMBINED_FEATURES', 'optee', 'optee-os-imx:do_deploy', '', d)} \
+"
+
+SC_FIRMWARE_NAME ?= "scfw_tcm.bin"
+
+ATF_MACHINE_NAME ?= "bl31-imx8qm.bin"
+ATF_MACHINE_NAME_mx8qm = "bl31-imx8qm.bin"
+ATF_MACHINE_NAME_mx8qxp = "bl31-imx8qxp.bin"
+ATF_MACHINE_NAME_mx8mq = "bl31-imx8mq.bin"
+
+DCD_NAME ?= "imx8qm_dcd.cfg.tmp"
+DCD_NAME_mx8qm = "imx8qm_dcd.cfg.tmp"
+DCD_NAME_mx8qxp = "imx8qx_dcd.cfg.tmp"
+
+UBOOT_NAME = "u-boot-${MACHINE}.bin-${UBOOT_CONFIG}"
+BOOT_CONFIG_MACHINE = "${BOOT_NAME}-${MACHINE}-${UBOOT_CONFIG}.bin"
+
+TOOLS_NAME ?= "mkimage_imx8"
+
+SOC_TARGET ?= "iMX8QM"
+SOC_TARGET_mx8qm  = "iMX8QM"
+SOC_TARGET_mx8qxp = "iMX8QX"
+SOC_TARGET_mx8mq  = "iMX8M"
+
+DEPLOY_OPTEE = "false"
+DEPLOY_OPTEE_mx8mq = "${@bb.utils.contains('COMBINED_FEATURES', 'optee', 'true', 'false', d)}"
+
+IMXBOOT_TARGETS ?= "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi', \
+                       bb.utils.contains('UBOOT_CONFIG', 'nand', 'flash_nand', \
+                                                                 'flash_multi_cores flash flash_dcd', d), d)}"
+IMXBOOT_TARGETS_mx8qxp = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi', \
+                       bb.utils.contains('UBOOT_CONFIG', 'nand', 'flash_nand', \
+                                                                 'flash_all flash', d), d)}"
+IMXBOOT_TARGETS_mx8qxpa0 = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi_a0', \
+                       bb.utils.contains('UBOOT_CONFIG', 'nand', 'flash_nand_a0', \
+                                                                 'flash_multi_cores_a0 flash_a0 flash_dcd_a0', d), d)}"
+IMXBOOT_TARGETS_imx8qxpddr3arm2 = "flash_ddr3_dcd_a0"
+
+do_compile () {
+    if [ "${SOC_TARGET}" = "iMX8M" ]; then
+        echo 8MQ boot binary build
+        for ddr_firmware in ${DDR_FIRMWARE_NAME}; do
+            echo "Copy ddr_firmware: ${ddr_firmware} from ${DEPLOY_DIR_IMAGE} -> ${S}/${SOC_TARGET} "
+            cp ${DEPLOY_DIR_IMAGE}/${ddr_firmware}               ${S}/${SOC_TARGET}/
+        done
+        cp ${DEPLOY_DIR_IMAGE}/signed_hdmi_imx8m.bin             ${S}/${SOC_TARGET}/
+        cp ${DEPLOY_DIR_IMAGE}/u-boot-spl.bin-${MACHINE}-${UBOOT_CONFIG} ${S}/${SOC_TARGET}/u-boot-spl.bin
+        cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${UBOOT_DTB_NAME}   ${S}/${SOC_TARGET}/
+        cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/u-boot-nodtb.bin    ${S}/${SOC_TARGET}/
+        cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/mkimage_uboot       ${S}/${SOC_TARGET}/
+
+        cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${ATF_MACHINE_NAME} ${S}/${SOC_TARGET}/bl31.bin
+        cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME}                     ${S}/${SOC_TARGET}/u-boot.bin
+
+    elif [ "${SOC_TARGET}" = "iMX8QM" ]; then
+        echo 8QM boot binary build
+        cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME} ${S}/${SOC_TARGET}/scfw_tcm.bin
+        cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${ATF_MACHINE_NAME} ${S}/${SOC_TARGET}/bl31.bin
+        cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME}                     ${S}/${SOC_TARGET}/u-boot.bin
+
+        cp ${DEPLOY_DIR_IMAGE}/imx8qm_m4_0_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin ${S}/${SOC_TARGET}/m40_tcm.bin
+        cp ${DEPLOY_DIR_IMAGE}/imx8qm_m4_1_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin ${S}/${SOC_TARGET}/m41_tcm.bin
+
+    else
+        echo 8QX boot binary build
+        cp ${DEPLOY_DIR_IMAGE}/imx8qx_m4_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin ${S}/${SOC_TARGET}/m40_tcm.bin
+        cp ${DEPLOY_DIR_IMAGE}/imx8qx_m4_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin ${S}/${SOC_TARGET}/CM4.bin
+        cp ${DEPLOY_DIR_IMAGE}/ahab-container.img ${S}/${SOC_TARGET}/
+        cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME} ${S}/${SOC_TARGET}/scfw_tcm.bin
+        cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${ATF_MACHINE_NAME} ${S}/${SOC_TARGET}/bl31.bin
+        cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME}                     ${S}/${SOC_TARGET}/u-boot.bin
+    fi
+
+    # Copy TEE binary to SoC target folder to mkimage
+    if ${DEPLOY_OPTEE}; then
+        cp ${DEPLOY_DIR_IMAGE}/tee.bin             ${S}/${SOC_TARGET}/
+    fi
+
+    # mkimage for i.MX8
+    for target in ${IMXBOOT_TARGETS}; do
+        echo "building ${SOC_TARGET} - ${target}"
+        make SOC=${SOC_TARGET} ${target}
+        if [ -e "${S}/${SOC_TARGET}/flash.bin" ]; then
+            cp ${S}/${SOC_TARGET}/flash.bin ${S}/${BOOT_CONFIG_MACHINE}-${target}
+        fi
+    done
+}
+
+do_install () {
+    install -d ${D}/boot
+    for target in ${IMXBOOT_TARGETS}; do
+        install -m 0644 ${S}/${BOOT_CONFIG_MACHINE}-${target} ${D}/boot/
+    done
+}
+
+do_deploy () {
+    install -d ${DEPLOYDIR}/${BOOT_TOOLS}
+
+    # copy the tool mkimage to deploy path and sc fw, dcd and uboot
+    install -m 0644 ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}
+    if [ "${SOC_TARGET}" = "iMX8M" ]; then
+        install -m 0644 ${DEPLOY_DIR_IMAGE}/u-boot-spl.bin-${MACHINE}-${UBOOT_CONFIG} ${DEPLOYDIR}/${BOOT_TOOLS}
+        for ddr_firmware in ${DDR_FIRMWARE_NAME}; do
+            install -m 0644 ${DEPLOY_DIR_IMAGE}/${ddr_firmware} ${DEPLOYDIR}/${BOOT_TOOLS}
+        done
+        install -m 0644 ${DEPLOY_DIR_IMAGE}/signed_hdmi*.bin ${DEPLOYDIR}/${BOOT_TOOLS}
+
+        install -m 0755 ${S}/${SOC_TARGET}/${TOOLS_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}
+
+        install -m 0755 ${S}/${SOC_TARGET}/mkimage_fit_atf.sh ${DEPLOYDIR}/${BOOT_TOOLS}
+    elif [ "${SOC_TARGET}" = "iMX8QM" ]; then
+        install -m 0644 ${S}/${SOC_TARGET}/${DCD_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}
+
+        install -m 0755 ${S}/${TOOLS_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}
+    else
+        if [ "${MACHINE}" = "imx8qxpa0mek" ]; then
+            install -m 0644 ${S}/${SOC_TARGET}/${DCD_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}
+        fi
+        install -m 0644 ${S}/${SOC_TARGET}/ahab-container.img ${DEPLOYDIR}/${BOOT_TOOLS}
+        install -m 0644 ${S}/${SOC_TARGET}/m40_tcm.bin ${DEPLOYDIR}/${BOOT_TOOLS}
+        install -m 0644 ${S}/${SOC_TARGET}/CM4.bin ${DEPLOYDIR}/${BOOT_TOOLS}
+
+        install -m 0755 ${S}/${TOOLS_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}
+    fi
+
+    # copy tee.bin to deploy path
+    if "${DEPLOY_OPTEE}"; then
+        install -m 0644 ${DEPLOY_DIR_IMAGE}/tee.bin ${DEPLOYDIR}/${BOOT_TOOLS}
+    fi
+
+    # copy makefile (soc.mak) for reference
+    install -m 0644 ${S}/${SOC_TARGET}/soc.mak     ${DEPLOYDIR}/${BOOT_TOOLS}
+
+    # copy the generated boot image to deploy path
+    for target in ${IMXBOOT_TARGETS}; do
+        # Use first "target" as IMAGE_IMXBOOT_TARGET
+        if [ "$IMAGE_IMXBOOT_TARGET" = "" ]; then
+            IMAGE_IMXBOOT_TARGET="$target"
+            echo "Set boot target as $IMAGE_IMXBOOT_TARGET"
+        fi
+        install -m 0644 ${S}/${BOOT_CONFIG_MACHINE}-${target} ${DEPLOYDIR}
+    done
+    cd ${DEPLOYDIR}
+    ln -sf ${BOOT_CONFIG_MACHINE}-${IMAGE_IMXBOOT_TARGET} ${BOOT_CONFIG_MACHINE}
+    cd -
+}
+addtask deploy before do_build after do_compile
+
+FILES_${PN} = "/boot"
+
+COMPATIBLE_MACHINE = "(mx8qm|mx8qxp|mx8mq)"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/recipes-bsp/imx-mkimage/imx-m4-demos_1.0.1.bb b/recipes-bsp/imx-mkimage/imx-m4-demos_1.0.1.bb
new file mode 100644
index 0000000..036cdce
--- /dev/null
+++ b/recipes-bsp/imx-mkimage/imx-m4-demos_1.0.1.bb
@@ -0,0 +1,28 @@
+SUMMARY = "i.MX M4 core Demo images"
+SECTION = "app"
+LICENSE = "Proprietary"
+LIC_FILES_CHKSUM = "file://COPYING;md5=8cf95184c220e247b9917e7244124c5a"
+
+inherit deploy fsl-eula-unpack
+
+M4_SOC ?= "imx7d-sabresd"
+M4_SOC_mx7 = "imx7d-sabresd"
+
+SRC_URI = "${FSL_MIRROR}/${M4_SOC}-m4-freertos-${PV}.bin;fsl-eula=true"
+S = "${WORKDIR}/${M4_SOC}-m4-freertos-${PV}"
+
+SRC_URI[md5sum] = "b05b780ff3916f4953ab58ac95233c38"
+SRC_URI[sha256sum] = "cc00d3b936d49b2794a2a99e10129437e70caba3fd26b8379b8c50dd22f73254"
+
+do_deploy () {
+   # Install the demo binaries
+   install -d ${DEPLOYDIR}
+   cp ${S}/*.bin ${DEPLOYDIR}/
+   ls ${DEPLOYDIR}/
+}
+
+addtask deploy before do_build after do_compile
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(mx7)"
+
diff --git a/recipes-bsp/imx-mkimage/imx-m4-demos_2.3.0.bb b/recipes-bsp/imx-mkimage/imx-m4-demos_2.3.0.bb
new file mode 100644
index 0000000..599a5d5
--- /dev/null
+++ b/recipes-bsp/imx-mkimage/imx-m4-demos_2.3.0.bb
@@ -0,0 +1,42 @@
+# Copyright 2017-2018 NXP
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "i.MX M4 core Demo images"
+SECTION = "app"
+LICENSE = "Proprietary"
+LIC_FILES_CHKSUM = "file://COPYING;md5=08fd295cce89b0a9c74b9b83ed74f671"
+
+inherit deploy fsl-eula-unpack2
+
+SOC ?= "imx8qm"
+SOC_mx7ulp= "imx7ulp"
+SOC_mx8mq= "imx8mq"
+SOC_mx8qm= "imx8qm"
+SOC_mx8qxp= "imx8qx"
+
+IMX_PACKAGE_NAME = "${SOC}-m4-demo-${PV}"
+SRC_URI_NAME = "${SOC}"
+
+SRC_URI[imx7ulp.md5sum] = "601472aa2056c34324ba8b2d8b656d10"
+SRC_URI[imx7ulp.sha256sum] = "6ad1d21356a5bbfdc52e4709348c7bee49e0731ef0a106f599c78817e14d3d12"
+
+SRC_URI[imx8mq.md5sum] = "c2aeda4ca7cc7d1c2916be7dd42b946f"
+SRC_URI[imx8mq.sha256sum] = "fd441e75395b0c6f90626c883ee8a93406b14e7d55adc7925116254394bb7ad8"
+
+SRC_URI[imx8qm.md5sum] = "b75dda504083ac1ee05423974c22bbce"
+SRC_URI[imx8qm.sha256sum] = "fdc486af0a02e3093559b31cb9c982f05c209bfc03da0910062091c406bfb496"
+
+SRC_URI[imx8qx.md5sum] = "b18198150c3aa5b1e01aba2047166728"
+SRC_URI[imx8qx.sha256sum] = "3b3887694b7cfe02d2918b0780f941da3d5c0e867725927b8c8f19fbff106bc9"
+
+SCR = "SCR-${SOC}-m4-demo.txt"
+
+do_deploy () {
+   # Install the demo binaries
+   cp ${D}/* ${DEPLOYDIR}/
+}
+
+addtask deploy before do_build after do_install
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(mx7ulp|mx8mq|mx8qm|mx8qxp)"
diff --git a/recipes-bsp/imx-mkimage/imx-m4-demos_2.3.1.bb b/recipes-bsp/imx-mkimage/imx-m4-demos_2.3.1.bb
new file mode 100644
index 0000000..62ecca9
--- /dev/null
+++ b/recipes-bsp/imx-mkimage/imx-m4-demos_2.3.1.bb
@@ -0,0 +1,33 @@
+# Copyright 2017-2018 NXP
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "i.MX M4 core Demo images"
+SECTION = "app"
+LICENSE = "Proprietary"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ab61cab9599935bfe9f700405ef00f28"
+
+inherit deploy fsl-eula-unpack2
+
+SOC ?= "imx8qm"
+SOC_mx7ulp= "imx7ulp"
+SOC_mx8mq= "imx8mq"
+SOC_mx8qm= "imx8qm"
+SOC_mx8qxp= "imx8qx"
+
+IMX_PACKAGE_NAME = "${SOC}-m4-demo-${PV}"
+SRC_URI_NAME = "${SOC}"
+
+SRC_URI[imx8qx.md5sum] = "e497c9742c0f20fbc429446c8052ade7"
+SRC_URI[imx8qx.sha256sum] = "b46ac529c7c0fab9f99d39b094a9c4d6651616643f5df5ac2a4113bef02411fb"
+
+SCR = "SCR-${SOC}-m4-demo.txt"
+
+do_deploy () {
+   # Install the demo binaries
+   cp ${D}/* ${DEPLOYDIR}/
+}
+
+addtask deploy before do_build after do_install
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(mx8qxp)"
diff --git a/recipes-bsp/imx-mkimage/imx-m4-demos_2.4.0.bb b/recipes-bsp/imx-mkimage/imx-m4-demos_2.4.0.bb
new file mode 100644
index 0000000..30100aa
--- /dev/null
+++ b/recipes-bsp/imx-mkimage/imx-m4-demos_2.4.0.bb
@@ -0,0 +1,33 @@
+# Copyright 2017-2018 NXP
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "i.MX M4 core Demo images"
+SECTION = "app"
+LICENSE = "Proprietary"
+LIC_FILES_CHKSUM = "file://COPYING;md5=75abe2fa1d16ca79f87cde926f05f72d"
+
+inherit deploy fsl-eula-unpack2
+
+SOC ?= "imx8qm"
+SOC_mx7ulp= "imx7ulp"
+SOC_mx8mq= "imx8mq"
+SOC_mx8qm= "imx8qm"
+SOC_mx8qxp= "imx8qx"
+
+IMX_PACKAGE_NAME = "${SOC}-m4-demo-${PV}"
+SRC_URI_NAME = "${SOC}"
+
+SRC_URI[imx7ulp.md5sum] = "cf2c88b91b4f87781365d8b0921d1cf3"
+SRC_URI[imx7ulp.sha256sum] = "f4852a8da27bec0853ef499614d9337d586749805bc2c3d58500a7016ae52bdb"
+
+SCR = "SCR-${SOC}-m4-demo.txt"
+
+do_deploy () {
+   # Install the demo binaries
+   cp ${D}/* ${DEPLOYDIR}/
+}
+
+addtask deploy before do_build after do_install
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(mx7ulp)"
diff --git a/recipes-bsp/imx-mkimage/imx-mkimage_git.bb b/recipes-bsp/imx-mkimage/imx-mkimage_git.bb
new file mode 100644
index 0000000..b0a2719
--- /dev/null
+++ b/recipes-bsp/imx-mkimage/imx-mkimage_git.bb
@@ -0,0 +1,35 @@
+# Copyright (C) 2016 Freescale Semiconductor
+# Copyright 2017-2018 NXP
+
+require imx-mkimage_git.inc
+
+DESCRIPTION = "i.MX make image"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+SECTION = "BSP"
+
+inherit native deploy
+
+CFLAGS = "-O2 -Wall -std=c99 -static -I ${STAGING_INCDIR} -L ${STAGING_LIBDIR}"
+
+do_compile () {
+    cd ${S}
+    oe_runmake clean
+    oe_runmake bin
+    oe_runmake -C iMX8M -f soc.mak mkimage_imx8
+    oe_runmake -C iMX8QM -f soc.mak imx8qm_dcd.cfg.tmp
+    oe_runmake -C iMX8QX -f soc.mak imx8qx_dcd.cfg.tmp
+}
+
+do_install () {
+    cd ${S}
+    install -d ${D}${bindir}
+    install -m 0755 iMX8M/mkimage_imx8 ${D}${bindir}/mkimage_imx8m
+    install -m 0755 mkimage_imx8 ${D}${bindir}/mkimage_imx8
+}
+
+do_deploy () {
+    install -m 0644 ${S}/iMX8QM/imx8qm_dcd.cfg.tmp ${DEPLOYDIR}
+    install -m 0644 ${S}/iMX8QX/imx8qx_dcd.cfg.tmp ${DEPLOYDIR}
+}
+addtask deploy before do_build after do_install
diff --git a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc
new file mode 100644
index 0000000..d4eaead
--- /dev/null
+++ b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc
@@ -0,0 +1,11 @@
+# Copyright 2017-2018 NXP
+
+DEPENDS = "zlib-native openssl-native"
+
+SRCBRANCH = "imx_4.9.88_imx8qxp_beta2"
+SRC_URI = "git://source.codeaurora.org/external/imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH}"
+SRCREV = "5c18f544c460747daed2844714c49685ed6ce897"
+S = "${WORKDIR}/git"
+
+BOOT_TOOLS = "imx-boot-tools"
+SYSROOT_DIRS += "/boot"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 25/43] alsa-state: Fix buffer size issue
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (23 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 24/43] imx-boot: Add recipes for i.MX 8 boot partition packages Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 26/43] alsa-state: Add support for splitting ESAI device Tom Hochstein
                   ` (3 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Fix incorrect buffer size by removing buffer_time from dmix
configuration settings.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-bsp/alsa-state/alsa-state/imx/asound.conf | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
index 7f8eef1..37cb76f 100644
--- a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
+++ b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
@@ -7,7 +7,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 320000
 format S16_LE
 rate 48000
 }
@@ -20,7 +19,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 360000
 format S16_LE
 rate 44100
 }
@@ -33,7 +31,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 360000
 format S16_LE
 rate 32000
 }
@@ -46,7 +43,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 360000
 format S16_LE
 rate 24000
 }
@@ -59,7 +55,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 360000
 format S16_LE
 rate 22050
 }
@@ -72,7 +67,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 360000
 format S16_LE
 rate 16000
 }
@@ -85,7 +79,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 240000
 format S16_LE
 rate 12000
 }
@@ -98,7 +91,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 240000
 format S16_LE
 rate 11025
 }
@@ -111,7 +103,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 360000
 format S16_LE
 rate 8000
 }
@@ -124,7 +115,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 320000
 format S16_LE
 rate 48000
 }
@@ -137,7 +127,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 360000
 format S16_LE
 rate 44100
 }
@@ -150,7 +139,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 360000
 format S16_LE
 rate 32000
 }
@@ -163,7 +151,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 360000
 format S16_LE
 rate 24000
 }
@@ -176,7 +163,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 360000
 format S16_LE
 rate 22050
 }
@@ -189,7 +175,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 360000
 format S16_LE
 rate 16000
 }
@@ -202,7 +187,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 240000
 format S16_LE
 rate 12000
 }
@@ -215,7 +199,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 240000
 format S16_LE
 rate 11025
 }
@@ -228,7 +211,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 40000
-buffer_time 360000
 format S16_LE
 rate 8000
 }
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 26/43] alsa-state: Add support for splitting ESAI device
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (24 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 25/43] alsa-state: Fix buffer size issue Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 27/43] alsa-state: Fix channel swap issues Tom Hochstein
                   ` (2 subsequent siblings)
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Split one ESAI device into two virtual devices, one
6 channel and one 2 channel.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-bsp/alsa-state/alsa-state/imx/asound.conf | 27 +++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
index 37cb76f..0084f4a 100644
--- a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
+++ b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
@@ -242,3 +242,30 @@ ctl.mixer0{
 type hw
 card 0
 }
+
+pcm_slave.esai{
+	pcm "hw:0,0"
+	channels 8
+	rate 48000
+	period_time 40000
+}
+
+pcm.esaich1to6{
+	type dshare
+	ipc_key 5778293
+	slave esai
+	bindings.0 0
+	bindings.1 4
+	bindings.2 1
+	bindings.3 5
+	bindings.4 2
+	bindings.5 6
+}
+
+pcm.esaich78{
+	type dshare
+	ipc_key 5778293
+	slave esai
+	bindings.0 3
+	bindings.1 7
+}
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 27/43] alsa-state: Fix channel swap issues
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (25 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 26/43] alsa-state: Add support for splitting ESAI device Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 28/43] alsa-state: Fix HDMI for i.MX 8M Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 29/43] alsa-state: Add new codecs " Tom Hochstein
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Fix channel swap issues seen for ak4458 and ak5558 codecs on audio board
for i.MX 8MQ. Changes applicable to all platforms.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-bsp/alsa-state/alsa-state/imx/asound.conf | 158 ++++++++++++++++++++++
 1 file changed, 158 insertions(+)

diff --git a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
index 0084f4a..0f9d0c8 100644
--- a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
+++ b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
@@ -269,3 +269,161 @@ pcm.esaich78{
 	bindings.0 3
 	bindings.1 7
 }
+
+pcm_slave.sai5 {
+	pcm "hw:5,0"
+	channels 8
+}
+
+pcm.sai5_ch1to8 {
+	type dsnoop
+	ipc_key 5185558
+	slave sai5
+	bindings.0 0
+	bindings.1 4
+	bindings.2 1
+	bindings.3 5
+	bindings.4 2
+	bindings.5 6
+	bindings.6 3
+	bindings.7 7
+}
+
+pcm.sai5_ch1to6 {
+	type dsnoop
+	ipc_key 5165558
+	slave sai5
+	bindings.0 0
+	bindings.1 4
+	bindings.2 1
+	bindings.3 5
+	bindings.4 2
+	bindings.5 6
+}
+
+pcm.sai5_ch1to4 {
+	type dsnoop
+	ipc_key 5145558
+	slave sai5
+	bindings.0 0
+	bindings.1 4
+	bindings.2 1
+	bindings.3 5
+}
+
+pcm_slave.sai1{
+	pcm "hw:4,0"
+	channels 16
+}
+
+pcm.sai1to16{
+	type dshare
+	slave sai1
+	ipc_key 5144458
+	bindings.0 0
+	bindings.1 8
+	bindings.2 1
+	bindings.3 9
+	bindings.4 2
+	bindings.5 10
+	bindings.6 3
+	bindings.7 11
+	bindings.8 4
+	bindings.9 12
+	bindings.10 5
+	bindings.11 13
+	bindings.12 6
+	bindings.13 14
+	bindings.14 7
+	bindings.15 15
+}
+
+pcm.sai1to14{
+	type dshare
+	slave sai1
+	ipc_key 5144458
+	bindings.0 0
+	bindings.1 8
+	bindings.2 1
+	bindings.3 9
+	bindings.4 2
+	bindings.5 10
+	bindings.6 3
+	bindings.7 11
+	bindings.8 4
+	bindings.9 12
+	bindings.10 5
+	bindings.11 13
+	bindings.12 6
+	bindings.13 14
+}
+
+pcm.sai1to12{
+	type dshare
+	slave sai1
+	ipc_key 5144458
+	bindings.0 0
+	bindings.1 8
+	bindings.2 1
+	bindings.3 9
+	bindings.4 2
+	bindings.5 10
+	bindings.6 3
+	bindings.7 11
+	bindings.8 4
+	bindings.9 12
+	bindings.10 5
+	bindings.11 13
+}
+
+pcm.sai1to10{
+	type dshare
+	slave sai1
+	ipc_key 5144458
+	bindings.0 0
+	bindings.1 8
+	bindings.2 1
+	bindings.3 9
+	bindings.4 2
+	bindings.5 10
+	bindings.6 3
+	bindings.7 11
+	bindings.8 4
+	bindings.9 12
+}
+
+pcm.sai1to8{
+	type dshare
+	slave sai1
+	ipc_key 5144458
+	bindings.0 0
+	bindings.1 8
+	bindings.2 1
+	bindings.3 9
+	bindings.4 2
+	bindings.5 10
+	bindings.6 3
+	bindings.7 11
+}
+
+pcm.sai1to6{
+	type dshare
+	slave sai1
+	ipc_key 5144458
+	bindings.0 0
+	bindings.1 8
+	bindings.2 1
+	bindings.3 9
+	bindings.4 2
+	bindings.5 10
+}
+
+pcm.sai1to4{
+	type dshare
+	slave sai1
+	ipc_key 5144458
+	bindings.0 0
+	bindings.1 8
+	bindings.2 1
+	bindings.3 9
+}
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 28/43] alsa-state: Fix HDMI for i.MX 8M
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (26 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 27/43] alsa-state: Fix channel swap issues Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  2018-08-07 15:42 ` [PATCH v3 29/43] alsa-state: Add new codecs " Tom Hochstein
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Channel mapping on HDMI was incorrect for 4 and 8 channels.
Create a PCM device so alsa-lib will remap in user space.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-bsp/alsa-state/alsa-state/imx/asound.conf | 30 +++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
index 0f9d0c8..c511018 100644
--- a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
+++ b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
@@ -427,3 +427,33 @@ pcm.sai1to4{
 	bindings.2 1
 	bindings.3 9
 }
+
+pcm.cdnhdmi4ch {
+	type dshare
+	slave {
+		pcm "hw:3,0"
+		channels 4
+	}
+	ipc_key 5144458
+	bindings.0 0
+	bindings.1 2
+	bindings.2 1
+	bindings.3 3
+}
+
+pcm.cdnhdmi8ch {
+	type dshare
+	slave {
+		pcm "hw:3,0"
+		channels 8
+	}
+	ipc_key 5144458
+	bindings.0 0
+	bindings.1 4
+	bindings.2 1
+	bindings.3 5
+	bindings.4 2
+	bindings.5 6
+	bindings.6 3
+	bindings.7 7
+}
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* [PATCH v3 29/43] alsa-state: Add new codecs for i.MX 8M
  2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
                   ` (27 preceding siblings ...)
  2018-08-07 15:42 ` [PATCH v3 28/43] alsa-state: Fix HDMI for i.MX 8M Tom Hochstein
@ 2018-08-07 15:42 ` Tom Hochstein
  28 siblings, 0 replies; 38+ messages in thread
From: Tom Hochstein @ 2018-08-07 15:42 UTC (permalink / raw)
  To: meta-freescale

Add support for AK4458, AK5558, and AK4497.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 recipes-bsp/alsa-state/alsa-state/imx/asound.state | 1546 ++++++++++++++++++++
 1 file changed, 1546 insertions(+)

diff --git a/recipes-bsp/alsa-state/alsa-state/imx/asound.state b/recipes-bsp/alsa-state/alsa-state/imx/asound.state
index 4984a56..87f4499 100755
--- a/recipes-bsp/alsa-state/alsa-state/imx/asound.state
+++ b/recipes-bsp/alsa-state/alsa-state/imx/asound.state
@@ -5544,3 +5544,1549 @@ state.sii902xaudio {
 	control {
 	}
 }
+state.ak4458audio {
+	control.1 {
+		iface MIXER
+		name '0 AK4458 L1ch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -9999999
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.2 {
+		iface MIXER
+		name '0 AK4458 R1ch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -9999999
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.3 {
+		iface MIXER
+		name '0 AK4458 L2ch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -9999999
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.4 {
+		iface MIXER
+		name '0 AK4458 R2ch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -9999999
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.5 {
+		iface MIXER
+		name '0 AK4458 L3ch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -9999999
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.6 {
+		iface MIXER
+		name '0 AK4458 R3ch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -9999999
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.7 {
+		iface MIXER
+		name '0 AK4458 L4ch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -9999999
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.8 {
+		iface MIXER
+		name '0 AK4458 R4ch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -9999999
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.9 {
+		iface MIXER
+		name '0 AK4458 De-emphasis Response DAC1'
+		value OFF
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '44.1kHz'
+			item.1 OFF
+			item.2 '48kHz'
+			item.3 '32kHz'
+		}
+	}
+	control.10 {
+		iface MIXER
+		name '0 AK4458 De-emphasis Response DAC2'
+		value OFF
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '44.1kHz'
+			item.1 OFF
+			item.2 '48kHz'
+			item.3 '32kHz'
+		}
+	}
+	control.11 {
+		iface MIXER
+		name '0 AK4458 De-emphasis Response DAC3'
+		value OFF
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '44.1kHz'
+			item.1 OFF
+			item.2 '48kHz'
+			item.3 '32kHz'
+		}
+	}
+	control.12 {
+		iface MIXER
+		name '0 AK4458 De-emphasis Response DAC4'
+		value OFF
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '44.1kHz'
+			item.1 OFF
+			item.2 '48kHz'
+			item.3 '32kHz'
+		}
+	}
+	control.13 {
+		iface MIXER
+		name '0 AK4458 Digital Filter Setting'
+		value 'Sharp Roll-Off Filter'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Sharp Roll-Off Filter'
+			item.1 'Slow Roll-Off Filter'
+			item.2 'Short delay Sharp Roll-Off Filter'
+			item.3 'Short delay Slow Roll-Off Filter'
+			item.4 'Super Slow Roll-Off Filter'
+		}
+	}
+	control.14 {
+		iface MIXER
+		name '0 AK4458 Inverting Enable of DZFB'
+		value H
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 H
+			item.1 L
+		}
+	}
+	control.15 {
+		iface MIXER
+		name '0 AK4458 Sound Mode'
+		value 'Sound Mode 0'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Sound Mode 0'
+			item.1 'Sound Mode 1'
+			item.2 'Sound Mode 2'
+		}
+	}
+	control.16 {
+		iface MIXER
+		name '0 AK4458 SDS Setting'
+		value 'Setting 0'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Setting 0'
+			item.1 'Setting 1'
+			item.2 'Setting 2'
+			item.3 'Setting 3'
+			item.4 'Setting 4'
+			item.5 'Setting 5'
+			item.6 'Setting 6'
+			item.7 'Setting 7'
+		}
+	}
+	control.17 {
+		iface MIXER
+		name '0 AK4458 FIR Filter Mode Setting'
+		value 'Mode 0'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Mode 0'
+			item.1 'Mode 1'
+			item.2 'Mode 2'
+			item.3 'Mode 3'
+			item.4 'Mode 4'
+			item.5 'Mode 5'
+			item.6 'Mode 6'
+			item.7 'Mode 7'
+		}
+	}
+	control.18 {
+		iface MIXER
+		name '0 AK4458 TDM Mode Setting'
+		value 'Normal Mode'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Normal Mode'
+			item.1 'TDM128 Mode'
+			item.2 'TDM256 Mode'
+			item.3 'TDM512 Mode'
+		}
+	}
+	control.19 {
+		iface MIXER
+		name '0 AK4458 DAC1 LRch Setting'
+		value 'Lch In, Rch In'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Lch In, Rch In'
+			item.1 'Lch In, Rch In Invert'
+			item.2 'Lch In Invert, Rch In'
+			item.3 'Lch In Invert, Rch In Invert'
+			item.4 'Rch In, Lch In'
+			item.5 'Rch In, Lch In Invert'
+			item.6 'Rch In Invert, Lch In'
+			item.7 'Rch In Invert, Lch In Invert'
+			item.8 'Lch In, Lch In'
+			item.9 'Lch In, Lch In Invert'
+			item.10 'Lch In Invert, Lch In'
+			item.11 'Lch In Invert, Lch In Invert'
+			item.12 'Rch In, Rch In'
+			item.13 'Rch In, Rch In Invert'
+			item.14 'Rch In Invert, Rch In'
+			item.15 'Rch In Invert, Rch In Invert'
+		}
+	}
+	control.20 {
+		iface MIXER
+		name '0 AK4458 DAC2 LRch Setting'
+		value 'Lch In, Rch In'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Lch In, Rch In'
+			item.1 'Lch In, Rch In Invert'
+			item.2 'Lch In Invert, Rch In'
+			item.3 'Lch In Invert, Rch In Invert'
+			item.4 'Rch In, Lch In'
+			item.5 'Rch In, Lch In Invert'
+			item.6 'Rch In Invert, Lch In'
+			item.7 'Rch In Invert, Lch In Invert'
+			item.8 'Lch In, Lch In'
+			item.9 'Lch In, Lch In Invert'
+			item.10 'Lch In Invert, Lch In'
+			item.11 'Lch In Invert, Lch In Invert'
+			item.12 'Rch In, Rch In'
+			item.13 'Rch In, Rch In Invert'
+			item.14 'Rch In Invert, Rch In'
+			item.15 'Rch In Invert, Rch In Invert'
+		}
+	}
+	control.21 {
+		iface MIXER
+		name '0 AK4458 DAC3 LRch Setting'
+		value 'Lch In, Rch In'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Lch In, Rch In'
+			item.1 'Lch In, Rch In Invert'
+			item.2 'Lch In Invert, Rch In'
+			item.3 'Lch In Invert, Rch In Invert'
+			item.4 'Rch In, Lch In'
+			item.5 'Rch In, Lch In Invert'
+			item.6 'Rch In Invert, Lch In'
+			item.7 'Rch In Invert, Lch In Invert'
+			item.8 'Lch In, Lch In'
+			item.9 'Lch In, Lch In Invert'
+			item.10 'Lch In Invert, Lch In'
+			item.11 'Lch In Invert, Lch In Invert'
+			item.12 'Rch In, Rch In'
+			item.13 'Rch In, Rch In Invert'
+			item.14 'Rch In Invert, Rch In'
+			item.15 'Rch In Invert, Rch In Invert'
+		}
+	}
+	control.22 {
+		iface MIXER
+		name '0 AK4458 DAC4 LRch Setting'
+		value 'Lch In, Rch In'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Lch In, Rch In'
+			item.1 'Lch In, Rch In Invert'
+			item.2 'Lch In Invert, Rch In'
+			item.3 'Lch In Invert, Rch In Invert'
+			item.4 'Rch In, Lch In'
+			item.5 'Rch In, Lch In Invert'
+			item.6 'Rch In Invert, Lch In'
+			item.7 'Rch In Invert, Lch In Invert'
+			item.8 'Lch In, Lch In'
+			item.9 'Lch In, Lch In Invert'
+			item.10 'Lch In Invert, Lch In'
+			item.11 'Lch In Invert, Lch In Invert'
+			item.12 'Rch In, Rch In'
+			item.13 'Rch In, Rch In Invert'
+			item.14 'Rch In Invert, Rch In'
+			item.15 'Rch In Invert, Rch In Invert'
+		}
+	}
+	control.23 {
+		iface MIXER
+		name '0 AK4458 Attenuation transition Time Settin'
+		value '4080/fs'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '4080/fs'
+			item.1 '2040/fs'
+			item.2 '510/fs'
+			item.3 '255/fs'
+		}
+	}
+	control.24 {
+		iface MIXER
+		name '0 AK4458 BICK fs Setting'
+		value '64fs'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '32fs,48fs'
+			item.1 '64fs'
+		}
+	}
+	control.25 {
+		iface MIXER
+		name '1 AK4458 L1ch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -9999999
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.26 {
+		iface MIXER
+		name '1 AK4458 R1ch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -9999999
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.27 {
+		iface MIXER
+		name '1 AK4458 L2ch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -9999999
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.28 {
+		iface MIXER
+		name '1 AK4458 R2ch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -9999999
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.29 {
+		iface MIXER
+		name '1 AK4458 L3ch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -9999999
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.30 {
+		iface MIXER
+		name '1 AK4458 R3ch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -9999999
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.31 {
+		iface MIXER
+		name '1 AK4458 L4ch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -9999999
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.32 {
+		iface MIXER
+		name '1 AK4458 R4ch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -9999999
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.33 {
+		iface MIXER
+		name '1 AK4458 De-emphasis Response DAC1'
+		value OFF
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '44.1kHz'
+			item.1 OFF
+			item.2 '48kHz'
+			item.3 '32kHz'
+		}
+	}
+	control.34 {
+		iface MIXER
+		name '1 AK4458 De-emphasis Response DAC2'
+		value OFF
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '44.1kHz'
+			item.1 OFF
+			item.2 '48kHz'
+			item.3 '32kHz'
+		}
+	}
+	control.35 {
+		iface MIXER
+		name '1 AK4458 De-emphasis Response DAC3'
+		value OFF
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '44.1kHz'
+			item.1 OFF
+			item.2 '48kHz'
+			item.3 '32kHz'
+		}
+	}
+	control.36 {
+		iface MIXER
+		name '1 AK4458 De-emphasis Response DAC4'
+		value OFF
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '44.1kHz'
+			item.1 OFF
+			item.2 '48kHz'
+			item.3 '32kHz'
+		}
+	}
+	control.37 {
+		iface MIXER
+		name '1 AK4458 Digital Filter Setting'
+		value 'Sharp Roll-Off Filter'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Sharp Roll-Off Filter'
+			item.1 'Slow Roll-Off Filter'
+			item.2 'Short delay Sharp Roll-Off Filter'
+			item.3 'Short delay Slow Roll-Off Filter'
+			item.4 'Super Slow Roll-Off Filter'
+		}
+	}
+	control.38 {
+		iface MIXER
+		name '1 AK4458 Inverting Enable of DZFB'
+		value H
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 H
+			item.1 L
+		}
+	}
+	control.39 {
+		iface MIXER
+		name '1 AK4458 Sound Mode'
+		value 'Sound Mode 0'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Sound Mode 0'
+			item.1 'Sound Mode 1'
+			item.2 'Sound Mode 2'
+		}
+	}
+	control.40 {
+		iface MIXER
+		name '1 AK4458 SDS Setting'
+		value 'Setting 0'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Setting 0'
+			item.1 'Setting 1'
+			item.2 'Setting 2'
+			item.3 'Setting 3'
+			item.4 'Setting 4'
+			item.5 'Setting 5'
+			item.6 'Setting 6'
+			item.7 'Setting 7'
+		}
+	}
+	control.41 {
+		iface MIXER
+		name '1 AK4458 FIR Filter Mode Setting'
+		value 'Mode 0'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Mode 0'
+			item.1 'Mode 1'
+			item.2 'Mode 2'
+			item.3 'Mode 3'
+			item.4 'Mode 4'
+			item.5 'Mode 5'
+			item.6 'Mode 6'
+			item.7 'Mode 7'
+		}
+	}
+	control.42 {
+		iface MIXER
+		name '1 AK4458 TDM Mode Setting'
+		value 'Normal Mode'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Normal Mode'
+			item.1 'TDM128 Mode'
+			item.2 'TDM256 Mode'
+			item.3 'TDM512 Mode'
+		}
+	}
+	control.43 {
+		iface MIXER
+		name '1 AK4458 DAC1 LRch Setting'
+		value 'Lch In, Rch In'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Lch In, Rch In'
+			item.1 'Lch In, Rch In Invert'
+			item.2 'Lch In Invert, Rch In'
+			item.3 'Lch In Invert, Rch In Invert'
+			item.4 'Rch In, Lch In'
+			item.5 'Rch In, Lch In Invert'
+			item.6 'Rch In Invert, Lch In'
+			item.7 'Rch In Invert, Lch In Invert'
+			item.8 'Lch In, Lch In'
+			item.9 'Lch In, Lch In Invert'
+			item.10 'Lch In Invert, Lch In'
+			item.11 'Lch In Invert, Lch In Invert'
+			item.12 'Rch In, Rch In'
+			item.13 'Rch In, Rch In Invert'
+			item.14 'Rch In Invert, Rch In'
+			item.15 'Rch In Invert, Rch In Invert'
+		}
+	}
+	control.44 {
+		iface MIXER
+		name '1 AK4458 DAC2 LRch Setting'
+		value 'Lch In, Rch In'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Lch In, Rch In'
+			item.1 'Lch In, Rch In Invert'
+			item.2 'Lch In Invert, Rch In'
+			item.3 'Lch In Invert, Rch In Invert'
+			item.4 'Rch In, Lch In'
+			item.5 'Rch In, Lch In Invert'
+			item.6 'Rch In Invert, Lch In'
+			item.7 'Rch In Invert, Lch In Invert'
+			item.8 'Lch In, Lch In'
+			item.9 'Lch In, Lch In Invert'
+			item.10 'Lch In Invert, Lch In'
+			item.11 'Lch In Invert, Lch In Invert'
+			item.12 'Rch In, Rch In'
+			item.13 'Rch In, Rch In Invert'
+			item.14 'Rch In Invert, Rch In'
+			item.15 'Rch In Invert, Rch In Invert'
+		}
+	}
+	control.45 {
+		iface MIXER
+		name '1 AK4458 DAC3 LRch Setting'
+		value 'Lch In, Rch In'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Lch In, Rch In'
+			item.1 'Lch In, Rch In Invert'
+			item.2 'Lch In Invert, Rch In'
+			item.3 'Lch In Invert, Rch In Invert'
+			item.4 'Rch In, Lch In'
+			item.5 'Rch In, Lch In Invert'
+			item.6 'Rch In Invert, Lch In'
+			item.7 'Rch In Invert, Lch In Invert'
+			item.8 'Lch In, Lch In'
+			item.9 'Lch In, Lch In Invert'
+			item.10 'Lch In Invert, Lch In'
+			item.11 'Lch In Invert, Lch In Invert'
+			item.12 'Rch In, Rch In'
+			item.13 'Rch In, Rch In Invert'
+			item.14 'Rch In Invert, Rch In'
+			item.15 'Rch In Invert, Rch In Invert'
+		}
+	}
+	control.46 {
+		iface MIXER
+		name '1 AK4458 DAC4 LRch Setting'
+		value 'Lch In, Rch In'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Lch In, Rch In'
+			item.1 'Lch In, Rch In Invert'
+			item.2 'Lch In Invert, Rch In'
+			item.3 'Lch In Invert, Rch In Invert'
+			item.4 'Rch In, Lch In'
+			item.5 'Rch In, Lch In Invert'
+			item.6 'Rch In Invert, Lch In'
+			item.7 'Rch In Invert, Lch In Invert'
+			item.8 'Lch In, Lch In'
+			item.9 'Lch In, Lch In Invert'
+			item.10 'Lch In Invert, Lch In'
+			item.11 'Lch In Invert, Lch In Invert'
+			item.12 'Rch In, Rch In'
+			item.13 'Rch In, Rch In Invert'
+			item.14 'Rch In Invert, Rch In'
+			item.15 'Rch In Invert, Rch In Invert'
+		}
+	}
+	control.47 {
+		iface MIXER
+		name '1 AK4458 Attenuation transition Time Settin'
+		value '4080/fs'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '4080/fs'
+			item.1 '2040/fs'
+			item.2 '510/fs'
+			item.3 '255/fs'
+		}
+	}
+	control.48 {
+		iface MIXER
+		name '1 AK4458 BICK fs Setting'
+		value '64fs'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '32fs,48fs'
+			item.1 '64fs'
+		}
+	}
+	control.49 {
+		iface MIXER
+		name '0 DAC1 to AOUTA'
+		value ON
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 OFF
+			item.1 ON
+		}
+	}
+	control.50 {
+		iface MIXER
+		name '0 DAC2 to AOUTB'
+		value ON
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 OFF
+			item.1 ON
+		}
+	}
+	control.51 {
+		iface MIXER
+		name '0 DAC3 to AOUTC'
+		value ON
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 OFF
+			item.1 ON
+		}
+	}
+	control.52 {
+		iface MIXER
+		name '0 DAC4 to AOUTD'
+		value ON
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 OFF
+			item.1 ON
+		}
+	}
+	control.53 {
+		iface MIXER
+		name '1 DAC1 to AOUTA'
+		value ON
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 OFF
+			item.1 ON
+		}
+	}
+	control.54 {
+		iface MIXER
+		name '1 DAC2 to AOUTB'
+		value ON
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 OFF
+			item.1 ON
+		}
+	}
+	control.55 {
+		iface MIXER
+		name '1 DAC3 to AOUTC'
+		value ON
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 OFF
+			item.1 ON
+		}
+	}
+	control.56 {
+		iface MIXER
+		name '1 DAC4 to AOUTD'
+		value ON
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 OFF
+			item.1 ON
+		}
+	}
+}
+state.ak5558audio {
+	control.1 {
+		iface MIXER
+		name 'AK5558 Monaural Mode'
+		value '8 Slot'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '8 Slot'
+			item.1 '2 Slot'
+			item.2 '4 Slot'
+			item.3 '1 Slot'
+		}
+	}
+	control.2 {
+		iface MIXER
+		name 'AK5558 TDM mode'
+		value Off
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 Off
+			item.1 TDM128
+			item.2 TDM256
+			item.3 TDM512
+		}
+	}
+	control.3 {
+		iface MIXER
+		name 'AK5558 Digital Filter'
+		value 'Sharp Roll-Off'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Sharp Roll-Off'
+			item.1 'Show Roll-Off'
+			item.2 'Short Delay Sharp Roll-Off'
+			item.3 'Short Delay Show Roll-Off'
+		}
+	}
+	control.4 {
+		iface MIXER
+		name 'AK5558 DSD Mode'
+		value PCM
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 PCM
+			item.1 DSD
+		}
+	}
+	control.5 {
+		iface MIXER
+		name 'AK5558 Frequency of DCLK'
+		value '64fs'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '64fs'
+			item.1 '128fs'
+			item.2 '256fs'
+		}
+	}
+	control.6 {
+		iface MIXER
+		name 'AK5558 Polarity of DCLK'
+		value Falling
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 Falling
+			item.1 Rising
+		}
+	}
+	control.7 {
+		iface MIXER
+		name 'AK5558 Master Clock Frequency at DSD Mode'
+		value '512fs'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '512fs'
+			item.1 '768fs'
+		}
+	}
+	control.8 {
+		iface MIXER
+		name 'AK5558 DSD Phase Modulation'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.9 {
+		iface MIXER
+		name 'AK5558 Ch1 Enable'
+		value On
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 Off
+			item.1 On
+		}
+	}
+	control.10 {
+		iface MIXER
+		name 'AK5558 Ch2 Enable'
+		value On
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 Off
+			item.1 On
+		}
+	}
+	control.11 {
+		iface MIXER
+		name 'AK5558 Ch3 Enable'
+		value On
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 Off
+			item.1 On
+		}
+	}
+	control.12 {
+		iface MIXER
+		name 'AK5558 Ch4 Enable'
+		value On
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 Off
+			item.1 On
+		}
+	}
+	control.13 {
+		iface MIXER
+		name 'AK5558 Ch5 Enable'
+		value On
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 Off
+			item.1 On
+		}
+	}
+	control.14 {
+		iface MIXER
+		name 'AK5558 Ch6 Enable'
+		value On
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 Off
+			item.1 On
+		}
+	}
+	control.15 {
+		iface MIXER
+		name 'AK5558 Ch7 Enable'
+		value On
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 Off
+			item.1 On
+		}
+	}
+	control.16 {
+		iface MIXER
+		name 'AK5558 Ch8 Enable'
+		value On
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 Off
+			item.1 On
+		}
+	}
+}
+state.ak4497audio {
+	control.1 {
+		iface MIXER
+		name 'AK4497 Lch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -12750
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.2 {
+		iface MIXER
+		name 'AK4497 Rch Digital Volume'
+		value 255
+		comment {
+			access 'read write'
+			type INTEGER
+			count 1
+			range '0 - 255'
+			dbmin -12750
+			dbmax 0
+			dbvalue.0 0
+		}
+	}
+	control.3 {
+		iface MIXER
+		name 'AK4497 EX DF I/F clock'
+		value '768kHz'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '768kHz'
+			item.1 '384kHz'
+		}
+	}
+	control.4 {
+		iface MIXER
+		name 'AK4497 De-emphasis Response'
+		value OFF
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '44.1kHz'
+			item.1 OFF
+			item.2 '48kHz'
+			item.3 '32kHz'
+		}
+	}
+	control.5 {
+		iface MIXER
+		name 'AK4497 Data Zero Detect Mode'
+		value Separated
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 Separated
+			item.1 ANDed
+		}
+	}
+	control.6 {
+		iface MIXER
+		name 'AK4497 Data Selection at Mono Mode'
+		value Rch
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 Rch
+			item.1 Lch
+		}
+	}
+	control.7 {
+		iface MIXER
+		name 'AK4497 Polarity of DCLK'
+		value Falling
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 Falling
+			item.1 Rising
+		}
+	}
+	control.8 {
+		iface MIXER
+		name 'AK4497 DCKL Frequency'
+		value '512fs'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '512fs'
+			item.1 '768fs'
+		}
+	}
+	control.9 {
+		iface MIXER
+		name 'AK4497 DDSD Play Back Path'
+		value Normal
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 Normal
+			item.1 'Volume Bypass'
+		}
+	}
+	control.10 {
+		iface MIXER
+		name 'AK4497 Sound control'
+		value 'Setting 1'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Setting 1'
+			item.1 'Setting 2'
+			item.2 'Setting 3'
+		}
+	}
+	control.11 {
+		iface MIXER
+		name 'AK4497 Cut Off of DSD Filter'
+		value '50kHz'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '50kHz'
+			item.1 '150kHz'
+		}
+	}
+	control.12 {
+		iface MIXER
+		name 'AK4497 DSD Data Stream'
+		value '64fs'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '64fs'
+			item.1 '128fs'
+			item.2 '256fs'
+			item.3 '512fs'
+		}
+	}
+	control.13 {
+		iface MIXER
+		name 'AK4497 BICK Frequency Select'
+		value '64fs'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '48fs'
+			item.1 '64fs'
+		}
+	}
+	control.14 {
+		iface MIXER
+		name 'AK4497 TDM Data Select'
+		value L1R1
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 L1R1
+			item.1 TDM128_L1R1
+			item.2 TDM128_L2R2
+			item.3 TDM256_L1R1
+			item.4 TDM256_L2R2
+			item.5 TDM256_L3R3
+			item.6 TDM256_L4R4
+			item.7 TDM512_L1R1
+			item.8 TDM512_L2R2
+			item.9 TDM512_L3R3
+			item.10 TDM512_L4R4
+			item.11 TDM512_L5R5
+			item.12 TDM512_L6R6
+			item.13 TDM512_L7R7
+			item.14 TDM512_L8R8
+		}
+	}
+	control.15 {
+		iface MIXER
+		name 'AK4497 External Digital Filter'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.16 {
+		iface MIXER
+		name 'AK4497 MCLK Frequency Auto Setting'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.17 {
+		iface MIXER
+		name 'AK4497 MCLK FS Auto Detect'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.18 {
+		iface MIXER
+		name 'AK4497 Soft Mute Control'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.19 {
+		iface MIXER
+		name 'AK4497 Short delay filter'
+		value true
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.20 {
+		iface MIXER
+		name 'AK4497 Data Zero Detect Enable'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.21 {
+		iface MIXER
+		name 'AK4497 Slow Roll-off Filter'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.22 {
+		iface MIXER
+		name 'AK4497 Invering Enable of DZF'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.23 {
+		iface MIXER
+		name 'AK4497 Mono Mode'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.24 {
+		iface MIXER
+		name 'AK4497 Super Slow Roll-off Filter'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.25 {
+		iface MIXER
+		name 'AK4497 AOUTR Phase Inverting'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.26 {
+		iface MIXER
+		name 'AK4497 AOUTL Phase Inverting'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.27 {
+		iface MIXER
+		name 'AK4497 DSD Mute Release'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.28 {
+		iface MIXER
+		name 'AK4497 DSD Mute Control Hold'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.29 {
+		iface MIXER
+		name 'AK4497 DSDR is detected'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.30 {
+		iface MIXER
+		name 'AK4497 DSDL is detected'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.31 {
+		iface MIXER
+		name 'AK4497 DSD Data Mute'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.32 {
+		iface MIXER
+		name 'AK4497 Synchronization Control'
+		value true
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.33 {
+		iface MIXER
+		name 'AK4497 Output Level'
+		value '2.8_2.8Vpp'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '2.8_2.8Vpp'
+			item.1 '2.8_2.5Vpp'
+			item.2 '2.5_2.5Vpp'
+			item.3 '3.75_3.75Vpp'
+			item.4 '3.75_2.5Vpp'
+		}
+	}
+	control.34 {
+		iface MIXER
+		name 'AK4497 High Sonud Quality Mode'
+		value true
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.35 {
+		iface MIXER
+		name 'AK4497 Heavy Load Mode'
+		value true
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.36 {
+		iface MIXER
+		name 'AK4497 DSD Data Input Pin'
+		value '3_4_5pin'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '16_17_19pin'
+			item.1 '3_4_5pin'
+		}
+	}
+	control.37 {
+		iface MIXER
+		name 'AK4497 Daisy Chain'
+		value false
+		comment {
+			access 'read write'
+			type BOOLEAN
+			count 1
+		}
+	}
+	control.38 {
+		iface MIXER
+		name 'AK4497 ATT Transit Time'
+		value '4080/fs'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 '4080/fs'
+			item.1 '2040/fs'
+			item.2 '510/fs'
+			item.3 '255/fs'
+		}
+	}
+	control.39 {
+		iface MIXER
+		name 'AK4497 Read FS Auto Detect Mode'
+		value 'Normal Speed Mode'
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 'Normal Speed Mode'
+			item.1 'Double Speed Mode'
+			item.2 'Quad Speed Mode'
+			item.3 'Quad Speed Mode'
+			item.4 'Oct Speed Mode'
+			item.5 'Hex Speed Mode'
+			item.6 'Oct Speed Mode'
+			item.7 'Hex Speed Mode'
+		}
+	}
+	control.40 {
+		iface MIXER
+		name 'AK4497 DAC Enable'
+		value On
+		comment {
+			access 'read write'
+			type ENUMERATED
+			count 1
+			item.0 Off
+			item.1 On
+		}
+	}
+}
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 38+ messages in thread

* Re: [v3,04/43] weston: Fix non-GPU support
  2018-08-07 15:41 ` [PATCH v3 04/43] weston: Fix non-GPU support Tom Hochstein
@ 2018-09-07  8:05   ` Gary Bisson
  2018-09-07 11:41     ` Tom Hochstein
  0 siblings, 1 reply; 38+ messages in thread
From: Gary Bisson @ 2018-09-07  8:05 UTC (permalink / raw)
  To: Tom Hochstein; +Cc: meta-freescale

Hi Tom,

On Tue, Aug 07, 2018 at 10:41:56AM -0500, Tom Hochstein wrote:
> The desktop failed to start on i.MX parts without GPU. The problem
> is fixed, and now the package must be configured for i.MX GPU
> support.
> 
> Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
> ---
>  recipes-graphics/wayland/weston_4.0.0.imx.bb | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/recipes-graphics/wayland/weston_4.0.0.imx.bb b/recipes-graphics/wayland/weston_4.0.0.imx.bb
> index fc6a65f..7a2aab6 100644
> --- a/recipes-graphics/wayland/weston_4.0.0.imx.bb
> +++ b/recipes-graphics/wayland/weston_4.0.0.imx.bb
> @@ -15,7 +15,7 @@ SRC_URI = "git://source.codeaurora.org/external/imx/weston-imx.git;protocol=http
>             file://xwayland.weston-start \
>             file://0001-weston-launch-Provide-a-default-version-that-doesn-t.patch \
>  "
> -SRCREV = "bf74309dd16d86537ff07eabf8b499cb2d25277d"
> +SRCREV = "642006cbd89e7ae51a7ce672c899614814dc4ef0"

Have you tested this patch only with a non-GPU configuration?

Because this revision simply fails to build currently for configuration
with GPU, giving the following error:
| make: *** No rule to make target 'protocol/alpha-compositing-unstable-v1-protocol.c', needed by 'all'.  Stop.
| ERROR: oe_runmake failed

And indeed the source code seems broken as this patch relies on files
that were not pushed:
https://source.codeaurora.org/external/imx/weston-imx/commit/?id=26172d61

It's missing:
protocol/alpha-compositing-unstable-v1-protocol.c
protocol/alpha-compositing-unstable-v1-client-protocol.h
protocol/alpha-compositing-unstable-v1-server-protocol.h

Please have the Weston team add the missing files or submit a revert
patch to meta-freescale.

Regards,
Gary


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [v3,04/43] weston: Fix non-GPU support
  2018-09-07  8:05   ` [v3,04/43] " Gary Bisson
@ 2018-09-07 11:41     ` Tom Hochstein
  2018-09-07 12:19       ` Gary Bisson
  0 siblings, 1 reply; 38+ messages in thread
From: Tom Hochstein @ 2018-09-07 11:41 UTC (permalink / raw)
  To: Gary Bisson; +Cc: meta-freescale

Hi Gary,

The problem is the upstreaming is incomplete. I am working with Otavio on another set of patches that will fix this.

Tom

-----Original Message-----
From: Gary Bisson <gary.bisson@boundarydevices.com> 
Sent: Friday, September 7, 2018 3:05 AM
To: Tom Hochstein <tom.hochstein@nxp.com>
Cc: meta-freescale@yoctoproject.org
Subject: Re: [v3,04/43] weston: Fix non-GPU support

Hi Tom,

On Tue, Aug 07, 2018 at 10:41:56AM -0500, Tom Hochstein wrote:
> The desktop failed to start on i.MX parts without GPU. The problem is 
> fixed, and now the package must be configured for i.MX GPU support.
> 
> Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
> ---
>  recipes-graphics/wayland/weston_4.0.0.imx.bb | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/recipes-graphics/wayland/weston_4.0.0.imx.bb 
> b/recipes-graphics/wayland/weston_4.0.0.imx.bb
> index fc6a65f..7a2aab6 100644
> --- a/recipes-graphics/wayland/weston_4.0.0.imx.bb
> +++ b/recipes-graphics/wayland/weston_4.0.0.imx.bb
> @@ -15,7 +15,7 @@ SRC_URI = "git://source.codeaurora.org/external/imx/weston-imx.git;protocol=http
>             file://xwayland.weston-start \
>             
> file://0001-weston-launch-Provide-a-default-version-that-doesn-t.patch \  "
> -SRCREV = "bf74309dd16d86537ff07eabf8b499cb2d25277d"
> +SRCREV = "642006cbd89e7ae51a7ce672c899614814dc4ef0"

Have you tested this patch only with a non-GPU configuration?

Because this revision simply fails to build currently for configuration with GPU, giving the following error:
| make: *** No rule to make target 'protocol/alpha-compositing-unstable-v1-protocol.c', needed by 'all'.  Stop.
| ERROR: oe_runmake failed

And indeed the source code seems broken as this patch relies on files that were not pushed:
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Fweston-imx%2Fcommit%2F%3Fid%3D26172d61&amp;data=02%7C01%7Ctom.hochstein%40nxp.com%7Cafaf2673728b4acfb5ba08d61498ad18%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636719043304342156&amp;sdata=iwYl2Cj9qoPmRRnkvt%2FHf%2BQ21P%2F30yQ4%2BqftayA0nKk%3D&amp;reserved=0

It's missing:
protocol/alpha-compositing-unstable-v1-protocol.c
protocol/alpha-compositing-unstable-v1-client-protocol.h
protocol/alpha-compositing-unstable-v1-server-protocol.h

Please have the Weston team add the missing files or submit a revert patch to meta-freescale.

Regards,
Gary


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [v3,04/43] weston: Fix non-GPU support
  2018-09-07 11:41     ` Tom Hochstein
@ 2018-09-07 12:19       ` Gary Bisson
  2018-09-07 13:26         ` Tom Hochstein
  0 siblings, 1 reply; 38+ messages in thread
From: Gary Bisson @ 2018-09-07 12:19 UTC (permalink / raw)
  To: Tom Hochstein; +Cc: meta-freescale

Hi Tom,

On Fri, Sep 07, 2018 at 11:41:35AM +0000, Tom Hochstein wrote:
> Hi Gary,
> 
> The problem is the upstreaming is incomplete.

Which upstreaming are you talking about? weston-imx or meta-freescale?

I understand that not all the components are in meta-freescale yet but
do not understand how can the weston-imx be built when files are
missing. I still believe there's an issue with weston-imx branch as it
is today.

> I am working with Otavio on another set of patches that will fix this.

Ok, do you have an ETA on this? I'm asking because master is currently
the only branch that can be built for i.MX8M platforms.

Right now it cannot builb an image with Weston for i.MX8M/i.MX6x solely
because of this patch...

Regards,
Gary


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [v3,04/43] weston: Fix non-GPU support
  2018-09-07 12:19       ` Gary Bisson
@ 2018-09-07 13:26         ` Tom Hochstein
  2018-09-07 13:47           ` Gary Bisson
  0 siblings, 1 reply; 38+ messages in thread
From: Tom Hochstein @ 2018-09-07 13:26 UTC (permalink / raw)
  To: Gary Bisson; +Cc: meta-freescale



> -----Original Message-----
> From: Gary Bisson <gary.bisson@boundarydevices.com>
> Sent: Friday, September 7, 2018 7:19 AM
> To: Tom Hochstein <tom.hochstein@nxp.com>
> Cc: meta-freescale@yoctoproject.org
> Subject: Re: [v3,04/43] weston: Fix non-GPU support
> 
> Hi Tom,
> 
> On Fri, Sep 07, 2018 at 11:41:35AM +0000, Tom Hochstein wrote:
> > Hi Gary,
> >
> > The problem is the upstreaming is incomplete.
> 
> Which upstreaming are you talking about? weston-imx or meta-freescale?

meta-freescale

> 
> I understand that not all the components are in meta-freescale yet but do
> not understand how can the weston-imx be built when files are missing. I still
> believe there's an issue with weston-imx branch as it is today.

We are patching wayland-protocols, adding HDR10 metadata and alpha compositing protocols. I believe that should fix the build break you see.

> 
> > I am working with Otavio on another set of patches that will fix this.
> 
> Ok, do you have an ETA on this? I'm asking because master is currently the
> only branch that can be built for i.MX8M platforms.

Hopefully today. I need to update my pull request to Otavio, then he will take it from there.

> 
> Right now it cannot builb an image with Weston for i.MX8M/i.MX6x solely
> because of this patch...
> 
> Regards,
> Gary


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [v3,04/43] weston: Fix non-GPU support
  2018-09-07 13:26         ` Tom Hochstein
@ 2018-09-07 13:47           ` Gary Bisson
  0 siblings, 0 replies; 38+ messages in thread
From: Gary Bisson @ 2018-09-07 13:47 UTC (permalink / raw)
  To: Tom Hochstein; +Cc: meta-freescale

Hi Tom,

On Fri, Sep 07, 2018 at 01:26:36PM +0000, Tom Hochstein wrote:
> 
> 
> > -----Original Message-----
> > From: Gary Bisson <gary.bisson@boundarydevices.com>
> > Sent: Friday, September 7, 2018 7:19 AM
> > To: Tom Hochstein <tom.hochstein@nxp.com>
> > Cc: meta-freescale@yoctoproject.org
> > Subject: Re: [v3,04/43] weston: Fix non-GPU support
> > 
> > Hi Tom,
> > 
> > On Fri, Sep 07, 2018 at 11:41:35AM +0000, Tom Hochstein wrote:
> > > Hi Gary,
> > >
> > > The problem is the upstreaming is incomplete.
> > 
> > Which upstreaming are you talking about? weston-imx or meta-freescale?
> 
> meta-freescale
> 
> > 
> > I understand that not all the components are in meta-freescale yet but do
> > not understand how can the weston-imx be built when files are missing. I still
> > believe there's an issue with weston-imx branch as it is today.
> 
> We are patching wayland-protocols, adding HDR10 metadata and alpha compositing protocols. I believe that should fix the build break you see.

Indeed, you're right that should fix it. I could wrap my head around the
fact that weston includes files that aren't there (wasn't aware of the
wayland-protocols).

> > > I am working with Otavio on another set of patches that will fix this.
> > 
> > Ok, do you have an ETA on this? I'm asking because master is currently the
> > only branch that can be built for i.MX8M platforms.
> 
> Hopefully today. I need to update my pull request to Otavio, then he will take it from there.

Awesome, I'll make sure to test your series (worst case on Monday).

Regards,
Gary


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v3 05/43] wayland-protocols: Downgrade to 1.13 for i.MX
  2018-08-07 15:41 ` [PATCH v3 05/43] wayland-protocols: Downgrade to 1.13 for i.MX Tom Hochstein
@ 2018-09-10  8:12   ` Andreas Müller
  2018-09-10 15:13     ` Tom Hochstein
  0 siblings, 1 reply; 38+ messages in thread
From: Andreas Müller @ 2018-09-10  8:12 UTC (permalink / raw)
  To: Tom Hochstein; +Cc: meta-freescale Mailing List

On Tue, Aug 7, 2018 at 5:41 PM, Tom Hochstein <tom.hochstein@nxp.com> wrote:
> Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
> ---
>  conf/machine/include/imx-base.inc                  |  4 ++++
>  recipes-graphics/wayland/wayland-protocols_1.13.bb | 20 ++++++++++++++++++++
>  2 files changed, 24 insertions(+)
>  create mode 100644 recipes-graphics/wayland/wayland-protocols_1.13.bb
>
> diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
> index 84a6ace..15c9d19 100644
> --- a/conf/machine/include/imx-base.inc
> +++ b/conf/machine/include/imx-base.inc
> @@ -226,6 +226,10 @@ PREFERRED_VERSION_weston_mx6 ?= "4.0.0.imx"
>  PREFERRED_VERSION_weston_mx7 ?= "4.0.0.imx"
>  PREFERRED_VERSION_weston_mx8 ?= "4.0.0.imx"
>
> +PREFERRED_VERSION_wayland-protocols_mx6 ?= "1.13"
> +PREFERRED_VERSION_wayland-protocols_mx7 ?= "1.13"
> +PREFERRED_VERSION_wayland-protocols_mx8 ?= "1.13"
> +
>  # Use i.MX libdrm Version
>  PREFERRED_VERSION_libdrm_mx6 ?= "2.4.84.imx"
>  PREFERRED_VERSION_libdrm_mx7 ?= "2.4.84.imx"
> diff --git a/recipes-graphics/wayland/wayland-protocols_1.13.bb b/recipes-graphics/wayland/wayland-protocols_1.13.bb
> new file mode 100644
> index 0000000..1ef1ee1
> --- /dev/null
> +++ b/recipes-graphics/wayland/wayland-protocols_1.13.bb
> @@ -0,0 +1,20 @@
> +SUMMARY = "Collection of additional Wayland protocols"
> +DESCRIPTION = "Wayland protocols that add functionality not \
> +available in the Wayland core protocol. Such protocols either add \
> +completely new functionality, or extend the functionality of some other \
> +protocol either in Wayland core, or some other protocol in \
> +wayland-protocols."
> +HOMEPAGE = "http://wayland.freedesktop.org"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \
> +                    file://stable/presentation-time/presentation-time.xml;endline=26;md5=4646cd7d9edc9fa55db941f2d3a7dc53"
> +
> +SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
> +           "
> +SRC_URI[md5sum] = "29312149dafcd4a0e739ba94995a574d"
> +SRC_URI[sha256sum] = "0758bc8008d5332f431b2a84fea7de64d971ce270ed208206a098ff2ebc68f38"
> +
> +inherit allarch autotools pkgconfig
> +
> +PACKAGES = "${PN}"
> +FILES_${PN} += "${datadir}/pkgconfig/wayland-protocols.pc"
> --
> 2.7.4
>
Just updated to master and it seems this patch breaks build in two ways:

1. It cannot be downloaded for me. Maybe this is  a temporary issue -
sorry I won't follow: am building with use-mainline-bsp  see 2.)
   | ERROR: wayland-protocols-1.13.imx-r0 do_fetch: Fetcher failure
for URL: 'https://wayland.freedesktop.org/releases/wayland-protocols-1.13.imx.tar.xz'.
Unable to fetch URL from any source.
2. It tries to build wayland-protocols-1.13.imx for use-mainline-bsp
set. Think this is due to missing entry in
MACHINE_SOCARCH_FILTER_append_imx - will take care on this one.

Cheers

Andreas


^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v3 05/43] wayland-protocols: Downgrade to 1.13 for i.MX
  2018-09-10  8:12   ` Andreas Müller
@ 2018-09-10 15:13     ` Tom Hochstein
  2018-09-10 17:29       ` Andreas Müller
  0 siblings, 1 reply; 38+ messages in thread
From: Tom Hochstein @ 2018-09-10 15:13 UTC (permalink / raw)
  To: Andreas Müller; +Cc: meta-freescale Mailing List



> -----Original Message-----
> From: Andreas Müller <schnitzeltony@gmail.com>
> Sent: Monday, September 10, 2018 3:13 AM
> To: Tom Hochstein <tom.hochstein@nxp.com>
> Cc: meta-freescale Mailing List <meta-freescale@yoctoproject.org>
> Subject: Re: [meta-freescale] [PATCH v3 05/43] wayland-protocols: Downgrade to 1.13 for i.MX
> 
> On Tue, Aug 7, 2018 at 5:41 PM, Tom Hochstein <tom.hochstein@nxp.com> wrote:
> > Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
> > ---
> >  conf/machine/include/imx-base.inc                  |  4 ++++
> >  recipes-graphics/wayland/wayland-protocols_1.13.bb | 20 ++++++++++++++++++++
> >  2 files changed, 24 insertions(+)
> >  create mode 100644 recipes-graphics/wayland/wayland-protocols_1.13.bb
> >
> > diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
> > index 84a6ace..15c9d19 100644
> > --- a/conf/machine/include/imx-base.inc
> > +++ b/conf/machine/include/imx-base.inc
> > @@ -226,6 +226,10 @@ PREFERRED_VERSION_weston_mx6 ?= "4.0.0.imx"
> >  PREFERRED_VERSION_weston_mx7 ?= "4.0.0.imx"
> >  PREFERRED_VERSION_weston_mx8 ?= "4.0.0.imx"
> >
> > +PREFERRED_VERSION_wayland-protocols_mx6 ?= "1.13"
> > +PREFERRED_VERSION_wayland-protocols_mx7 ?= "1.13"
> > +PREFERRED_VERSION_wayland-protocols_mx8 ?= "1.13"
> > +
> >  # Use i.MX libdrm Version
> >  PREFERRED_VERSION_libdrm_mx6 ?= "2.4.84.imx"
> >  PREFERRED_VERSION_libdrm_mx7 ?= "2.4.84.imx"
> > diff --git a/recipes-graphics/wayland/wayland-protocols_1.13.bb b/recipes-graphics/wayland/wayland-protocols_1.13.bb
> > new file mode 100644
> > index 0000000..1ef1ee1
> > --- /dev/null
> > +++ b/recipes-graphics/wayland/wayland-protocols_1.13.bb
> > @@ -0,0 +1,20 @@
> > +SUMMARY = "Collection of additional Wayland protocols"
> > +DESCRIPTION = "Wayland protocols that add functionality not \
> > +available in the Wayland core protocol. Such protocols either add \
> > +completely new functionality, or extend the functionality of some other \
> > +protocol either in Wayland core, or some other protocol in \
> > +wayland-protocols."
> > +HOMEPAGE =
> "https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwayland.freedesktop.org&amp;data=02%7C01%7Ctom.hoc
> hstein%40nxp.com%7C9326d16e578c4ff9590008d616f52ba4%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6367216395832386
> 82&amp;sdata=JPZWuW7HaGrIZYf8AFse6eEnHXvbjyuYwAwHZxa1QZE%3D&amp;reserved=0"
> > +LICENSE = "MIT"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \
> > +                    file://stable/presentation-time/presentation-time.xml;endline=26;md5=4646cd7d9edc9fa55db941f2d3a7dc53"
> > +
> > +SRC_URI =
> "https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwayland.freedesktop.org%2Freleases%2F%24&amp;data=
> 02%7C01%7Ctom.hochstein%40nxp.com%7C9326d16e578c4ff9590008d616f52ba4%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0
> %7C636721639583238682&amp;sdata=ZfEfMLcgoq4ilgNvB2pHFh5yD5lGJafDZLd7WBnArI4%3D&amp;reserved=0{BPN}-${PV}.tar.xz \
> > +           "
> > +SRC_URI[md5sum] = "29312149dafcd4a0e739ba94995a574d"
> > +SRC_URI[sha256sum] = "0758bc8008d5332f431b2a84fea7de64d971ce270ed208206a098ff2ebc68f38"
> > +
> > +inherit allarch autotools pkgconfig
> > +
> > +PACKAGES = "${PN}"
> > +FILES_${PN} += "${datadir}/pkgconfig/wayland-protocols.pc"
> > --
> > 2.7.4
> >
> Just updated to master and it seems this patch breaks build in two ways:
> 
> 1. It cannot be downloaded for me. Maybe this is  a temporary issue -
> sorry I won't follow: am building with use-mainline-bsp  see 2.)
>    | ERROR: wayland-protocols-1.13.imx-r0 do_fetch: Fetcher failure
> for URL: 'https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwayland.freedesktop.org%2Freleases%2Fwayland-
> protocols-
> 1.13.imx.tar.xz&amp;data=02%7C01%7Ctom.hochstein%40nxp.com%7C9326d16e578c4ff9590008d616f52ba4%7C686ea1d3bc2b4c6fa9
> 2cd99c5c301635%7C0%7C0%7C636721639583238682&amp;sdata=BBEgCfcOivLJU3F1daoY3o01kwlpJtHnuleML782yEM%3D&amp;reserv
> ed=0'.
> Unable to fetch URL from any source.

Sorry, this is my fault. I will submit a patch shortly.

Tom

> 2. It tries to build wayland-protocols-1.13.imx for use-mainline-bsp
> set. Think this is due to missing entry in
> MACHINE_SOCARCH_FILTER_append_imx - will take care on this one.
> 
> Cheers
> 
> Andreas

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: [PATCH v3 05/43] wayland-protocols: Downgrade to 1.13 for i.MX
  2018-09-10 15:13     ` Tom Hochstein
@ 2018-09-10 17:29       ` Andreas Müller
  0 siblings, 0 replies; 38+ messages in thread
From: Andreas Müller @ 2018-09-10 17:29 UTC (permalink / raw)
  To: Tom Hochstein, Otavio Salvador; +Cc: meta-freescale Mailing List

On Mon, Sep 10, 2018 at 5:13 PM, Tom Hochstein <tom.hochstein@nxp.com> wrote:
>
>
>> -----Original Message-----
>> From: Andreas Müller <schnitzeltony@gmail.com>
>> Sent: Monday, September 10, 2018 3:13 AM
>> To: Tom Hochstein <tom.hochstein@nxp.com>
>> Cc: meta-freescale Mailing List <meta-freescale@yoctoproject.org>
>> Subject: Re: [meta-freescale] [PATCH v3 05/43] wayland-protocols: Downgrade to 1.13 for i.MX
>>
>> On Tue, Aug 7, 2018 at 5:41 PM, Tom Hochstein <tom.hochstein@nxp.com> wrote:
>> > Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
>> > ---
>> >  conf/machine/include/imx-base.inc                  |  4 ++++
>> >  recipes-graphics/wayland/wayland-protocols_1.13.bb | 20 ++++++++++++++++++++
>> >  2 files changed, 24 insertions(+)
>> >  create mode 100644 recipes-graphics/wayland/wayland-protocols_1.13.bb
>> >
>> > diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
>> > index 84a6ace..15c9d19 100644
>> > --- a/conf/machine/include/imx-base.inc
>> > +++ b/conf/machine/include/imx-base.inc
>> > @@ -226,6 +226,10 @@ PREFERRED_VERSION_weston_mx6 ?= "4.0.0.imx"
>> >  PREFERRED_VERSION_weston_mx7 ?= "4.0.0.imx"
>> >  PREFERRED_VERSION_weston_mx8 ?= "4.0.0.imx"
>> >
>> > +PREFERRED_VERSION_wayland-protocols_mx6 ?= "1.13"
>> > +PREFERRED_VERSION_wayland-protocols_mx7 ?= "1.13"
>> > +PREFERRED_VERSION_wayland-protocols_mx8 ?= "1.13"
>> > +
>> >  # Use i.MX libdrm Version
>> >  PREFERRED_VERSION_libdrm_mx6 ?= "2.4.84.imx"
>> >  PREFERRED_VERSION_libdrm_mx7 ?= "2.4.84.imx"
>> > diff --git a/recipes-graphics/wayland/wayland-protocols_1.13.bb b/recipes-graphics/wayland/wayland-protocols_1.13.bb
>> > new file mode 100644
>> > index 0000000..1ef1ee1
>> > --- /dev/null
>> > +++ b/recipes-graphics/wayland/wayland-protocols_1.13.bb
>> > @@ -0,0 +1,20 @@
>> > +SUMMARY = "Collection of additional Wayland protocols"
>> > +DESCRIPTION = "Wayland protocols that add functionality not \
>> > +available in the Wayland core protocol. Such protocols either add \
>> > +completely new functionality, or extend the functionality of some other \
>> > +protocol either in Wayland core, or some other protocol in \
>> > +wayland-protocols."
>> > +HOMEPAGE =
>> "https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwayland.freedesktop.org&amp;data=02%7C01%7Ctom.hoc
>> hstein%40nxp.com%7C9326d16e578c4ff9590008d616f52ba4%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6367216395832386
>> 82&amp;sdata=JPZWuW7HaGrIZYf8AFse6eEnHXvbjyuYwAwHZxa1QZE%3D&amp;reserved=0"
>> > +LICENSE = "MIT"
>> > +LIC_FILES_CHKSUM = "file://COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \
>> > +                    file://stable/presentation-time/presentation-time.xml;endline=26;md5=4646cd7d9edc9fa55db941f2d3a7dc53"
>> > +
>> > +SRC_URI =
>> "https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwayland.freedesktop.org%2Freleases%2F%24&amp;data=
>> 02%7C01%7Ctom.hochstein%40nxp.com%7C9326d16e578c4ff9590008d616f52ba4%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0
>> %7C636721639583238682&amp;sdata=ZfEfMLcgoq4ilgNvB2pHFh5yD5lGJafDZLd7WBnArI4%3D&amp;reserved=0{BPN}-${PV}.tar.xz \
>> > +           "
>> > +SRC_URI[md5sum] = "29312149dafcd4a0e739ba94995a574d"
>> > +SRC_URI[sha256sum] = "0758bc8008d5332f431b2a84fea7de64d971ce270ed208206a098ff2ebc68f38"
>> > +
>> > +inherit allarch autotools pkgconfig
>> > +
>> > +PACKAGES = "${PN}"
>> > +FILES_${PN} += "${datadir}/pkgconfig/wayland-protocols.pc"
>> > --
>> > 2.7.4
>> >
>> Just updated to master and it seems this patch breaks build in two ways:
>>
>> 1. It cannot be downloaded for me. Maybe this is  a temporary issue -
>> sorry I won't follow: am building with use-mainline-bsp  see 2.)
>>    | ERROR: wayland-protocols-1.13.imx-r0 do_fetch: Fetcher failure
>> for URL: 'https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwayland.freedesktop.org%2Freleases%2Fwayland-
>> protocols-
>> 1.13.imx.tar.xz&amp;data=02%7C01%7Ctom.hochstein%40nxp.com%7C9326d16e578c4ff9590008d616f52ba4%7C686ea1d3bc2b4c6fa9
>> 2cd99c5c301635%7C0%7C0%7C636721639583238682&amp;sdata=BBEgCfcOivLJU3F1daoY3o01kwlpJtHnuleML782yEM%3D&amp;reserv
>> ed=0'.
>> Unable to fetch URL from any source.
>
> Sorry, this is my fault. I will submit a patch shortly.
Shit happens :)
I think you saw that

* I sent out a revert
* Otavio did not apply - but gave hints how to fix

Thanks

Andreas
>
> Tom
>
>> 2. It tries to build wayland-protocols-1.13.imx for use-mainline-bsp
>> set. Think this is due to missing entry in
>> MACHINE_SOCARCH_FILTER_append_imx - will take care on this one.
>>
>> Cheers
>>
>> Andreas


^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2018-09-10 19:49 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
2018-08-07 15:41 ` [PATCH v3 01/43] xserver-xorg: Update OpenGL configuration Tom Hochstein
2018-08-07 15:41 ` [PATCH v3 02/43] imx-gpu-g2d: Improve COMPATIBLE_MACHINE Tom Hochstein
2018-08-07 15:41 ` [PATCH v3 03/43] waffle: Configure for i.MX GPU Tom Hochstein
2018-08-07 15:41 ` [PATCH v3 04/43] weston: Fix non-GPU support Tom Hochstein
2018-09-07  8:05   ` [v3,04/43] " Gary Bisson
2018-09-07 11:41     ` Tom Hochstein
2018-09-07 12:19       ` Gary Bisson
2018-09-07 13:26         ` Tom Hochstein
2018-09-07 13:47           ` Gary Bisson
2018-08-07 15:41 ` [PATCH v3 05/43] wayland-protocols: Downgrade to 1.13 for i.MX Tom Hochstein
2018-09-10  8:12   ` Andreas Müller
2018-09-10 15:13     ` Tom Hochstein
2018-09-10 17:29       ` Andreas Müller
2018-08-07 15:41 ` [PATCH v3 06/43] wayland-protocols: Add HDR10 metadata and alpha compositing protocols Tom Hochstein
2018-08-07 15:41 ` [PATCH v3 07/43] EULA: Update to v24 Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 08/43] linux-imx: Add i.MX 8 support Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 09/43] u-boot-imx: Add support for i.MX 8QM, 8MQ, and 8QXP Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 10/43] machine: " Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 11/43] imx-dpu-g2d: Use machine override for compatibility Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 12/43] kernel-module-imx-gpu-viv: Update to 6.2.4.p1.6 Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 13/43] imx-gpu-viv: " Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 14/43] imx-gpu-g2d: " Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 15/43] imx-dpu-g2d: Update to 1.4.6 Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 16/43] xf86-video-imx-vivante: Update to 6.2.4.p1.6 Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 17/43] imx-gpu-viv: Remove wayland-egl files Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 18/43] imx-gpu-viv: Add support for i.MX 8 and 8X families Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 19/43] imx-gpu-viv: Add support for OpenCL and OpenVX Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 20/43] fsl-eula: Extend EULA-based archive support Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 21/43] u-boot-imx: Deploy tools on boot partition for i.MX 8MQ Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 22/43] imx-atf: Add new package ARM Trusted Firmware Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 23/43] imx-sc-firmware: Add new package System Controller Firmware Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 24/43] imx-boot: Add recipes for i.MX 8 boot partition packages Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 25/43] alsa-state: Fix buffer size issue Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 26/43] alsa-state: Add support for splitting ESAI device Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 27/43] alsa-state: Fix channel swap issues Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 28/43] alsa-state: Fix HDMI for i.MX 8M Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 29/43] alsa-state: Add new codecs " Tom Hochstein

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.