Re: [meta-freescale] imx-m4-demos made comeback in Thud

2019-02-28 Thread Tom Hochstein
Seems that the commits to remove imx-m4-demos is on master only.

Otavio, can you update thud?

Tom

-Original Message-
From: meta-freescale-boun...@yoctoproject.org 
 On Behalf Of Teemu K
Sent: Tuesday, February 26, 2019 5:21 AM
To: meta-freescale 
Subject: [meta-freescale] imx-m4-demos made comeback in Thud

Hi,

I've been using meta-freescale hash
a589464469cfbe7049ec6fb47cf662047044e6e3 and it's been working quite
fine.

Now I updated to latest hash 85561882cc455ccf45ddb16039fa3811cf7baa8b
and imx-m4-demos have made comeback and build fails on an error:

ERROR: Nothing PROVIDES 'imx-m4-demos'

I was looking old messages and there was patch to remove it late
January and then comment that it's not the right way. So how should
the imx-m4-demos to be dealt with? Atm. latest meta-freescale is
non-buildable at least for imx8qxp.

-Teemu K.
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescale&data=02%7C01%7Ctom.hochstein%40nxp.com%7Ce02b068c8b1842113db308d69bdca817%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636867769449673321&sdata=lF7KSTvPG4Ic0IZ4HN63ABXLFEfgG0kbsC9u0XyIw5k%3D&reserved=0
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [PATCH 0/2] Fix Hantro/Gstreamer build issues

2018-10-03 Thread Tom Hochstein



> -Original Message-
> From: Otavio Salvador 
> Sent: Wednesday, October 3, 2018 1:44 PM
> 
> On Wed, Oct 3, 2018 at 3:29 PM Tom Hochstein  wrote:
> > Related to this, I am working on a dedicated linux-imx-headers recipe with 
> > Otavio. With such a recipe, do you see a problem with
> copying ion.h from drivers/staging/android to /usr/include/linux?
> 
> 
> /usr/include/imx/linux

For new headers, is there a reason why we can't just install to 
/usr/include/linux? Will be much nicer than having to modify source code.

Tom
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [PATCH 0/2] Fix Hantro/Gstreamer build issues

2018-10-03 Thread Tom Hochstein
Hi Gary,

Thanks for this fix and for letting us know about the ownership mistake.

Related to this, I am working on a dedicated linux-imx-headers recipe with 
Otavio. With such a recipe, do you see a problem with copying ion.h from 
drivers/staging/android to /usr/include/linux?

Tom

-Original Message-
From: Gary Bisson  
Sent: Wednesday, October 3, 2018 5:25 AM
To: meta-freescale@yoctoproject.org
Cc: Carol Zhu ; Tom Hochstein ; Gary 
Bisson 
Subject: [PATCH 0/2] Fix Hantro/Gstreamer build issues

Hi Otavio/Tom/Carol,

Please consider this series to fix the build of the latest multimedia
components without having to change the libc-headers version.

The issue currently is that the code relies on LINUX_VERSION_CODE but it
uses the toolchain headers by default. So use the kernel builddir
verion.h instead.

If you accept this approach, please leave the ownership of the
imx-vpu-hantro patch as-is as it wasn't very "open-sourcy" of you to
keep my previous patch/title/log but remove my SOB/ownership...

This has been tested on Nitrogen8M:
- Using a 720p MIPI display (eLCDIF output)
- Decoding SKYFALL trailer [1] gives 16fps only
  - Seems that some conf is missing to achieve 30fps like before
  - Here is the command used to test it:
# gst-launch-1.0 filesrc location=/home/root/SKYFALL-4K.mp4 ! \
  parsebin ! vpudec ! glimagesink

Regards,
Gary

[1] 
https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdownloads.4ksamples.com%2Fdownloads%2FSKYFALL%25204K%2520(Ultra%2520HD)%2520(4ksamples.com).mp4&data=02%7C01%7Ctom.hochstein%40nxp.com%7Cc54265765b4e4b97180f08d6291a7454%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636741590950601307&sdata=qjiQfDBmYvRBZgQ1bHnNRi5qbhV%2F2RaPl%2FKLuitmxME%3D&reserved=0

Gary Bisson (2):
  imx-vpu-hantro: fix build issue
  gstreamer1.0-plugins-base: fix build issue

 ...clusion-to-be-from-kernel-build-fold.patch | 44 +++
 .../imx-vpu-hantro/imx-vpu-hantro_1.8.0.bb|  5 ++-
 .../gstreamer1.0-plugins-base_1.14.imx.bb |  1 +
 3 files changed, 49 insertions(+), 1 deletion(-)
 create mode 100644 
recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0002-Fix-version.h-inclusion-to-be-from-kernel-build-fold.patch

-- 
2.19.0

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 1/2] wayland-protocols: Fix fetcher error

2018-09-10 Thread Tom Hochstein
The i.MX-specific recipe is using a standard archive, so the i.MX-specific
recipe version cannot be used in the archive URL.

Signed-off-by: Tom Hochstein 
---
 recipes-graphics/wayland/wayland-protocols_1.13.imx.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/recipes-graphics/wayland/wayland-protocols_1.13.imx.bb 
b/recipes-graphics/wayland/wayland-protocols_1.13.imx.bb
index ef8fd73..c2ea68e 100644
--- a/recipes-graphics/wayland/wayland-protocols_1.13.imx.bb
+++ b/recipes-graphics/wayland/wayland-protocols_1.13.imx.bb
@@ -9,11 +9,13 @@ 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 \
+ARCHIVE_NAME = "${BPN}-1.13"
+SRC_URI = "https://wayland.freedesktop.org/releases/${ARCHIVE_NAME}.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"
+S = "${WORKDIR}/${ARCHIVE_NAME}"
 
 inherit allarch autotools pkgconfig
 
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 2/2] wayland-protocols: Fix PACKAGE_ARCH for i.MX-specific version

2018-09-10 Thread Tom Hochstein
Fix the PACKAGE_ARCH so that our i.MX-specific version does not
override the standard allarch version.

Signed-off-by: Tom Hochstein 
---
 recipes-graphics/wayland/wayland-protocols_1.13.imx.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/recipes-graphics/wayland/wayland-protocols_1.13.imx.bb 
b/recipes-graphics/wayland/wayland-protocols_1.13.imx.bb
index c2ea68e..c722371 100644
--- a/recipes-graphics/wayland/wayland-protocols_1.13.imx.bb
+++ b/recipes-graphics/wayland/wayland-protocols_1.13.imx.bb
@@ -17,7 +17,9 @@ SRC_URI[md5sum] = "29312149dafcd4a0e739ba94995a574d"
 SRC_URI[sha256sum] = 
"0758bc8008d5332f431b2a84fea7de64d971ce270ed208206a098ff2ebc68f38"
 S = "${WORKDIR}/${ARCHIVE_NAME}"
 
-inherit allarch autotools pkgconfig
+inherit autotools pkgconfig
 
 PACKAGES = "${PN}"
 FILES_${PN} += "${datadir}/pkgconfig/wayland-protocols.pc"
+
+PACKAGE_ARCH = "${MACHINE_SOCARCH}"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [PATCH v3 05/43] wayland-protocols: Downgrade to 1.13 for i.MX

2018-09-10 Thread Tom Hochstein


> -Original Message-
> From: Andreas Müller 
> Sent: Monday, September 10, 2018 3:13 AM
> To: Tom Hochstein 
> Cc: meta-freescale Mailing List 
> 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  wrote:
> > Signed-off-by: Tom Hochstein 
> > ---
> >  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 000..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&data=02%7C01%7Ctom.hoc
> hstein%40nxp.com%7C9326d16e578c4ff9590008d616f52ba4%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6367216395832386
> 82&sdata=JPZWuW7HaGrIZYf8AFse6eEnHXvbjyuYwAwHZxa1QZE%3D&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&data=
> 02%7C01%7Ctom.hochstein%40nxp.com%7C9326d16e578c4ff9590008d616f52ba4%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0
> %7C636721639583238682&sdata=ZfEfMLcgoq4ilgNvB2pHFh5yD5lGJafDZLd7WBnArI4%3D&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&data=02%7C01%7Ctom.hochstein%40nxp.com%7C9326d16e578c4ff9590008d616f52ba4%7C686ea1d3bc2b4c6fa9
> 2cd99c5c301635%7C0%7C0%7C636721639583238682&sdata=BBEgCfcOivLJU3F1daoY3o01kwlpJtHnuleML782yEM%3D&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
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH] wayland-protocols: Fix fetcher error

2018-09-10 Thread Tom Hochstein
The i.MX-specific recipe is using a standard archive, so the i.MX-specific
recipe version cannot be used in the archive URL.

Signed-off-by: Tom Hochstein 
---
 recipes-graphics/wayland/wayland-protocols_1.13.imx.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-graphics/wayland/wayland-protocols_1.13.imx.bb 
b/recipes-graphics/wayland/wayland-protocols_1.13.imx.bb
index ef8fd73..b5171c0 100644
--- a/recipes-graphics/wayland/wayland-protocols_1.13.imx.bb
+++ b/recipes-graphics/wayland/wayland-protocols_1.13.imx.bb
@@ -9,7 +9,7 @@ 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 = "https://wayland.freedesktop.org/releases/${BPN}-1.13.tar.xz \
file://0001-unstable-Add-alpha-compositing-protocol.patch \
file://0002-unstable-Add-hdr10-metadata-protocol.patch"
 SRC_URI[md5sum] = "29312149dafcd4a0e739ba94995a574d"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [v3,04/43] weston: Fix non-GPU support

2018-09-07 Thread Tom Hochstein
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  
Sent: Friday, September 7, 2018 3:05 AM
To: Tom Hochstein 
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 
> ---
>  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&data=02%7C01%7Ctom.hochstein%40nxp.com%7Cafaf2673728b4acfb5ba08d61498ad18%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636719043304342156&sdata=iwYl2Cj9qoPmRRnkvt%2FHf%2BQ21P%2F30yQ4%2BqftayA0nKk%3D&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
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [v3,04/43] weston: Fix non-GPU support

2018-09-07 Thread Tom Hochstein



> -Original Message-
> From: Gary Bisson 
> Sent: Friday, September 7, 2018 7:19 AM
> To: Tom Hochstein 
> 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 +, 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
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [PATCH 4/4] Fix menuconfig for our kernels

2018-08-31 Thread Tom Hochstein


> -Original Message-
> From: Otavio Salvador 
> Sent: Friday, August 31, 2018 9:03 AM
> To: Andreas Müller ; Tom Hochstein
> 
> Cc: meta-freescale Mailing List 
> Subject: Re: [meta-freescale] [PATCH 4/4] Fix menuconfig for our kernels
> 
> On Fri, Aug 31, 2018 at 3:35 AM Andreas Müller 
> wrote:
> > On Fri, Aug 31, 2018 at 3:18 AM, Otavio Salvador
> >  wrote:
> > > On Tue, Aug 28, 2018 at 4:45 AM Andreas Müller
>  wrote:
> > >>
> > >> * See discussion at [1]
> > >> * Tested for linux-fslc
> > >>
> > >> [1]
> > >>
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fl
> > >> ists.openembedded.org%2Fpipermail%2Fopenembedded-
> core%2F2018-April%
> > >>
> 2F149912.html&data=02%7C01%7Ctom.hochstein%40nxp.com%7C4bdd
> ccba
> > >>
> 9e5c4d96e35108d60f4a853f%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7
> C0
> > >>
> %7C636713210074793698&sdata=B1En4vl%2FrT2RbCNlTu9u%2Fr4Ajcbe
> Bfs
> > >> lDRIjMVNaVxY%3D&reserved=0
> > >>
> > >> Signed-off-by: Andreas Müller 
> > >
> > > It is possible to include this in our Linux fork? it avoids the need
> > > of applying it on multiple kernels as patch.
> > >
> > > What do you think?
> > >
> > Yes - that might help for the derived kernels in
> > meta-freescale-3rdparty in the long term. Can you give me hints where
> > to send the patch for both kernels fslc/frrescale?
> 
> Send it as a PR to our linux-fslc fork against the desired branch.
> 
> Tom, could you ask for this patch to be applied in the internal tree?

Will do.

Tom
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [PATCH 50/52] imx-vpu-hantro: Update to 1.7.0

2018-08-24 Thread Tom Hochstein



> -Original Message-
> From: Tom Hochstein
> Sent: Tuesday, July 31, 2018 2:44 PM


> > -Original Message-
> > From: Gary Bisson [mailto:gary.bis...@boundarydevices.com]
> > Sent: Tuesday, July 31, 2018 1:54 AM


> > > 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%)
> >
> > Thanks for porting the patch over. Any chance to get it in the
> > upstream repo in the future?
> 
> Thanks for pointing this out. I will get the process started now.

I have misgivings about this patch. The problem is we have packages that use 
ion.h that are applicable to both Android and Linux. Having ion.h live in two 
different locations means we have to complicate the packages.

Isn't it better to just adopt the Android model and install 
/usr/include/linux/ion.h in our linux-imx kernel?

Tom
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 17/43] imx-gpu-viv: Remove wayland-egl files

2018-08-07 Thread Tom Hochstein
Remove wayland-egl files since this support is now provided by Wayland
itself.

Signed-off-by: Tom Hochstein 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [PATCH v2 43/43] imx-vpu: Clarify compatibility for Chips&Media VPU

2018-08-07 Thread Tom Hochstein
Thanks, Gary, I think it's a good idea. Will add it to our plans.

Tom

-Original Message-
From: Gary Bisson [mailto:gary.bis...@boundarydevices.com] 
Sent: Tuesday, August 7, 2018 3:21 AM
To: Tom Hochstein 
Cc: meta-freescale Mailing List 
Subject: Re: [meta-freescale] [PATCH v2 43/43] imx-vpu: Clarify compatibility 
for Chips&Media VPU

Hi Tom,

Is there any plan to rename that package to match what is done for hantro?
imx-vpu-

Wouldn't it be clearer to people to have virtual/imxvpu being backed by either 
imx-vpu-hantro or imx-vpu-cnm (or chipsnmedia)?

Regards,
Gary Bisson
Boundary Devices, LLC
https://emea01.safelinks.protection.outlook.com/?url=www.boundarydevices.com&data=02%7C01%7Ctom.hochstein%40nxp.com%7C70403fc32b8d4e6b642908d5fc3ebac6%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636692268708685584&sdata=qYlN5tHO8tmNc%2BLMvFj3C59s1%2BOqqyWI3afcNL%2BFdMs%3D&reserved=0


On Mon, Aug 6, 2018 at 10:05 PM, Tom Hochstein  wrote:
> Signed-off-by: Tom Hochstein 
> ---
>  recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb 
> b/recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb
> index f0c9d5a..d886e30 100644
> --- a/recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb
> +++ b/recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb
> @@ -1,8 +1,8 @@
>  # Copyright (C) 2013-2018 O.S. Systems Software LTDA.
>  # Copyright (C) 2013-2016 Freescale Semiconductor -# Copyright 2017 
> NXP
> +# Copyright 2017-2018 NXP
>
> -DESCRIPTION = "Freescale VPU library"
> +DESCRIPTION = "Freescale Chips&Media VPU library"
>  LICENSE = "Proprietary"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=75abe2fa1d16ca79f87cde926f05f72d"
>
> @@ -32,4 +32,4 @@ do_install () {
>  }
>
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
> -COMPATIBLE_MACHINE = "(mx6)"
> +COMPATIBLE_MACHINE = "(mx6q|mx6dl)"
> --
> 2.7.4
>
> --
> ___
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flis
> ts.yoctoproject.org%2Flistinfo%2Fmeta-freescale&data=02%7C01%7Ctom
> .hochstein%40nxp.com%7C70403fc32b8d4e6b642908d5fc3ebac6%7C686ea1d3bc2b
> 4c6fa92cd99c5c301635%7C0%7C0%7C636692268708685584&sdata=TN2qT5AtwL
> L4ddaR3s6mG3KPUUbuEGsEz6ldbWSfX04%3D&reserved=0
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 10/43] machine: Add support for i.MX 8QM, 8MQ, and 8QXP

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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 000..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 
+
+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 000..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 
+
+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 = "6553

Re: [meta-freescale] [PATCH v3 41/43] imx-test: Add i.MX 8 support

2018-08-07 Thread Tom Hochstein
This fails to build. I'm working on it.

ERROR: imx-test-1_7.0+AUTOINC+3a87347ae4-r0 do_package_qa: QA Issue: imx-test: 
The compile log indicates that host include and/or library paths were used.

-Original Message-
From: Tom Hochstein 
Sent: Tuesday, August 7, 2018 10:44 AM
To: meta-freescale@yoctoproject.org
Cc: Tom Hochstein 
Subject: [meta-freescale][PATCH v3 41/43] imx-test: Add i.MX 8 support

Signed-off-by: Tom Hochstein 
---
 recipes-bsp/imx-test/imx-test/memtool_profile |  1 +
 recipes-bsp/imx-test/imx-test_git.bb  | 30 ++-
 2 files changed, 17 insertions(+), 14 deletions(-)  create mode 100644 
recipes-bsp/imx-test/imx-test/memtool_profile

diff --git a/recipes-bsp/imx-test/imx-test/memtool_profile 
b/recipes-bsp/imx-test/imx-test/memtool_profile
new file mode 100644
index 000..97d6f61
--- /dev/null
+++ b/recipes-bsp/imx-test/imx-test/memtool_profile
@@ -0,0 +1 @@
+complete -o nospace -C /unit_tests/memtool memtool
diff --git a/recipes-bsp/imx-test/imx-test_git.bb 
b/recipes-bsp/imx-test/imx-test_git.bb
index 0932d41..df3bdd1 100644
--- a/recipes-bsp/imx-test/imx-test_git.bb
+++ b/recipes-bsp/imx-test/imx-test_git.bb
@@ -8,34 +8,34 @@ SECTION = "base"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
 
-DEPENDS  = "virtual/kernel imx-lib alsa-lib"
+DEPENDS = "virtual/kernel imx-lib alsa-lib libdrm"
 
 PE = "1"
 PV = "7.0+${SRCPV}"
 
-SRCBRANCH = "imx_4.9.88_2.0.0_ga"
-SRCREV = "1f7da41b3a8d5dff8329d7b01b10d4d71144b43e"
+SRCBRANCH = "imx_4.9.88_imx8qxp_beta2"
 SRC_URI = " \
 
git://source.codeaurora.org/external/imx/imx-test.git;protocol=https;branch=${SRCBRANCH}
 \
 file://0001-test-Makefile-Add-include-path-to-CC-command.patch \
+file://memtool_profile \
 "
-
+SRCREV = "3a87347ae408ef0234314a279ee74d9b015f06be"
 S = "${WORKDIR}/git"
 
-
 inherit module-base
 
 INHIBIT_PACKAGE_STRIP = "1"
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 
-PLATFORM_mx6q  = "IMX6Q"
-PLATFORM_mx6dl = "IMX6Q"
-PLATFORM_mx6sl = "IMX6SL"
+PLATFORM_mx6q   = "IMX6Q"
+PLATFORM_mx6dl  = "IMX6Q"
+PLATFORM_mx6sl  = "IMX6SL"
 PLATFORM_mx6sll = "IMX6SL"
-PLATFORM_mx6sx = "IMX6SX"
-PLATFORM_mx6ul = "IMX6UL"
-PLATFORM_mx7d  = "IMX7D"
-PLATFORM_mx7ulp  = "IMX7D"
+PLATFORM_mx6sx  = "IMX6SX"
+PLATFORM_mx6ul  = "IMX6UL"
+PLATFORM_mx7d   = "IMX7D"
+PLATFORM_mx7ulp = "IMX7D"
+PLATFORM_mx8= "IMX8"
 
 PARALLEL_MAKE = "-j 1"
 EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}"
@@ -73,10 +73,12 @@ do_install() {
 if [ -e ${WORKDIR}/clocks.sh ]; then
 install -m 755 ${WORKDIR}/clocks.sh ${D}/unit_tests/clocks.sh
 fi
+install -d -m 0755 ${D}/home/root/
+install -m 0644 ${WORKDIR}/memtool_profile ${D}/home/root/.profile
 }
 
-FILES_${PN} += "/unit_tests"
+FILES_${PN} += "/unit_tests /home/root/.profile"
 RDEPENDS_${PN} = "bash"
 
 FILES_${PN}-dbg += "/unit_tests/.debug"
-COMPATIBLE_MACHINE = "(mx6|mx7)"
+COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
--
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 13/43] imx-gpu-viv: Update to 6.2.4.p1.6

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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..000
--- 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 000..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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 12/43] kernel-module-imx-gpu-viv: Update to 6.2.4.p1.6

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 ...-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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 14/43] imx-gpu-g2d: Update to 6.2.4.p1.6

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 .../{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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 03/43] waffle: Configure for i.MX GPU

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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 000..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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 16/43] xf86-video-imx-vivante: Update to 6.2.4.p1.6

2018-08-07 Thread Tom Hochstein
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 
---
 ...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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 20/43] fsl-eula: Extend EULA-based archive support

2018-08-07 Thread Tom Hochstein
Define a common naming scheme and a common unpacking scheme.

Signed-off-by: Tom Hochstein 
---
 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 000..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 000..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 000..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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics

2018-08-07 Thread Tom Hochstein
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 

[meta-freescale] [PATCH v3 04/43] weston: Fix non-GPU support

2018-08-07 Thread Tom Hochstein
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 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 18/43] imx-gpu-viv: Add support for i.MX 8 and 8X families

2018-08-07 Thread Tom Hochstein
- 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 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 02/43] imx-gpu-g2d: Improve COMPATIBLE_MACHINE

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 11/43] imx-dpu-g2d: Use machine override for compatibility

2018-08-07 Thread Tom Hochstein
Use imxdpu override for machine compatibility.

Signed-off-by: Tom Hochstein 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 09/43] u-boot-imx: Add support for i.MX 8QM, 8MQ, and 8QXP

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 15/43] imx-dpu-g2d: Update to 1.4.6

2018-08-07 Thread Tom Hochstein
Includes support for i.MX 8 and 8X families.

Signed-off-by: Tom Hochstein 
---
 .../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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 08/43] linux-imx: Add i.MX 8 support

2018-08-07 Thread Tom Hochstein
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 
---
 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 000..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_

[meta-freescale] [PATCH v3 06/43] wayland-protocols: Add HDR10 metadata and alpha compositing protocols

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 ...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 000..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 
+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 
+---
+ 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 000..d874156
+--- /dev/null
 b/unstable/alpha-compositing/README
+@@ -0,0 +1,6 @@
++Alpha compositing protocol
++
++Maintainers:
++David Reveman 
++Alexandros Frantzis 
++Jared Hu 
+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 000..0844b3f
+--- /dev/null
 b/unstable/alpha-compositing/alpha-compositing-unstable-v1.xml
+@@ -0,0 +1,136 @@
++
++
++
++  
++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.
++  
++
++  
++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 v

[meta-freescale] [PATCH v3 21/43] u-boot-imx: Deploy tools on boot partition for i.MX 8MQ

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 05/43] wayland-protocols: Downgrade to 1.13 for i.MX

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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 000..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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 19/43] imx-gpu-viv: Add support for OpenCL and OpenVX

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 07/43] EULA: Update to v24

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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 sof

[meta-freescale] [PATCH v3 01/43] xserver-xorg: Update OpenGL configuration

2018-08-07 Thread Tom Hochstein
Build now with the default OpenGL configuration except
no glamor for i.MX 6 or 7 with GPU.

Signed-off-by: Tom Hochstein 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 29/43] alsa-state: Add new codecs for i.MX 8M

2018-08-07 Thread Tom Hochstein
Add support for AK4458, AK5558, and AK4497.

Signed-off-by: Tom Hochstein 
---
 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 -999
+   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 -999
+   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 -999
+   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 -999
+   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 -999
+   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 -999
+   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 -999
+   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 -999
+   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'
+   valu

[meta-freescale] [PATCH v3 22/43] imx-atf: Add new package ARM Trusted Firmware

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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 000..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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 37/43] kernel-module-qca9377: Add support for QCA9377 on i.MX 7ULP

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 .../kernel-modules/kernel-module-qca9377_2.0.bb|5 +
 .../kernel-modules/kernel-module-qcacld-lea.inc|   53 +
 ...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 ++
 20 files changed, 2794 insertions(+)
 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

diff --git a/recipes-kernel/kernel-modules/kernel-module-qca9377_2.0.bb 
b/recipes-kernel/kernel-modules/kernel-module-qca9377_2.0.bb
new file mode 100644
index 000..1b4f313
--- /dev/null
+++ b/recipes-kernel/kernel-modules/kernel-module-qca9377_2.0.bb
@@ -0,0 +1,5 @@
+require kernel-module-qcacld-lea.inc
+
+SUMMARY = "Qualcomm WiFi driver for QCA module 9377"
+
+EXTRA_OEMAKE += "${EXTRA_OEMAKE_QCA9377}"
diff --git a/recipes-kernel/kernel-modules/kernel-module-qcacld-lea.inc 
b/recipes-kernel/kernel-modules/kernel-module-qcacld-lea.inc
new file mode 100644
index 000..1284f24
--- /dev/null
+++ b/recipes-kernel/kernel-modules/kernel-module-qcacld-lea.inc
@@ -0,0 +1,53 @@
+# Copyright 2018 NXP
+
+SUMMARY = "Qualcomm WiFi driver for QCA module 9377"
+LICENSE = "BSD & GPLv2"
+LIC_FILES_CHKSUM = 
"file://CORE/HDD/src/wlan_hdd_main.c;beginline=1;endline=20;md5=ec8d62116b13db773825ebf7cf91be1d;"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/kernel-module-qcacld-lea:"
+SRC_URI = " \
+
git://source.codeaurora.org/external/wlan/qcacld-2.0;protocol=https;branch=C

[meta-freescale] [PATCH v3 43/43] imx-vpu-hantro: Update to 1.7.0

2018-08-07 Thread Tom Hochstein
- Vp9: rectify the consumed length for error return
- MJPEG: bug fixing in trickmode
- H264: bug fixing for special clip containing invalid syntax value
- RV: limit the HW read pointer in valid range
- Common: Export setinfo() API in codec.h

Signed-off-by: Tom Hochstein 
---
 ...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 
 3 files changed, 52 insertions(+), 53 deletions(-)
 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

diff --git 
a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-1.6.0/0001-Fix-ion.h-header-inclusion-to-be-standard.patch
 
b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch
similarity index 71%
rename from 
recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-1.6.0/0001-Fix-ion.h-header-inclusion-to-be-standard.patch
rename to 
recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch
index 951ead9..e7b23f7 100644
--- 
a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-1.6.0/0001-Fix-ion.h-header-inclusion-to-be-standard.patch
+++ 
b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch
@@ -13,23 +13,10 @@ Signed-off-by: Gary Bisson 
  decoder_sw/software/linux/dwl/dwl_linux.c | 2 +-
  2 files changed, 3 insertions(+), 1 deletion(-)
 
-diff --git a/Makefile b/Makefile
-index b74e23a..a5ce22b 100755
 a/Makefile
-+++ b/Makefile
-@@ -11,6 +11,8 @@ INCLUDE_HEADERS = -I./decoder_sw -I$(SOURCE_ROOT)/source/inc 
-I$(SOURCE_ROOT)/so
- INCLUDE_HEADERS += -I$(SOURCE_ROOT)/linux/memalloc
- #INCLUDE_HEADERS += -I$(SOURCE_ROOT)/linux/ldriver
- INCLUDE_HEADERS += -I$(LINUX_KERNEL_ROOT)/include/uapi 
-I$(LINUX_KERNEL_ROOT)/include
-+# ION header location
-+INCLUDE_HEADERS += -I$(LINUX_KERNEL_ROOT)/drivers/staging/android/uapi
- 
- CFLAGS += -DDEC_MODULE_PATH=\"/dev/mxc_hantro\" -DUSE_FAKE_RFC_TABLE 
-DFIFO_DATATYPE=void* -DNDEBUG -DDOWN_SCALER \
--DUSE_EXTERNAL_BUFFER -DUSE_FAST_EC -DUSE_VP9_EC 
-DGET_FREE_BUFFER_NON_BLOCK \
-diff --git a/decoder_sw/software/linux/dwl/dwl_linux.c 
b/decoder_sw/software/linux/dwl/dwl_linux.c
-index 8183660..ed37d86 100644
 a/decoder_sw/software/linux/dwl/dwl_linux.c
-+++ b/decoder_sw/software/linux/dwl/dwl_linux.c
+Index: imx-vpu-hantro-1.7.0/decoder_sw/software/linux/dwl/dwl_linux.c
+===
+--- imx-vpu-hantro-1.7.0.orig/decoder_sw/software/linux/dwl/dwl_linux.c
 imx-vpu-hantro-1.7.0/decoder_sw/software/linux/dwl/dwl_linux.c
 @@ -41,7 +41,7 @@
  #include "dwl.h"
  #include 
@@ -39,6 +26,16 @@ index 8183660..ed37d86 100644
  #ifdef ANDROID
  #include 
  #endif
--- 
-2.18.0
-
+Index: imx-vpu-hantro-1.7.0/Makefile_G1G2
+===
+--- imx-vpu-hantro-1.7.0.orig/Makefile_G1G2
 imx-vpu-hantro-1.7.0/Makefile_G1G2
+@@ -11,6 +11,8 @@ INCLUDE_HEADERS = -I./decoder_sw -I$(SOU
+ INCLUDE_HEADERS += -I$(SOURCE_ROOT)/linux/memalloc
+ #INCLUDE_HEADERS += -I$(SOURCE_ROOT)/linux/ldriver
+ INCLUDE_HEADERS += -I$(LINUX_KERNEL_ROOT)/include/uapi 
-I$(LINUX_KERNEL_ROOT)/include
++# ION header location
++INCLUDE_HEADERS += -I$(LINUX_KERNEL_ROOT)/drivers/staging/android/uapi
+ 
+ CFLAGS += -DDEC_MODULE_PATH=\"/dev/mxc_hantro\" -DUSE_FAKE_RFC_TABLE 
-DFIFO_DATATYPE=void* -DNDEBUG -DDOWN_SCALER \
+-DUSE_EXTERNAL_BUFFER -DUSE_FAST_EC -DUSE_VP9_EC 
-DGET_FREE_BUFFER_NON_BLOCK \
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.6.0.bb 
b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.6.0.bb
deleted file mode 100644
index 609d692..000
--- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.6.0.bb
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 2017 NXP
-
-DESCRIPTION = "i.MX Hantro VPU library"
-LICENSE = "Proprietary"
-LIC_FILES_CHKSUM = "file://COPYING;md5=08fd295cce89b0a9c74b9b83ed74f671"
-
-DEPENDS = "virtual/kernel"
-
-PROVIDES = "virtual/imxvpu"
-
-SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \
-   file://0001-Fix-ion.h-header-inclusion-to-be-standard.patch \
-"
-
-SRC_URI[md5sum] = "09ec833586afb5f194ce0202da925ed6"
-SRC_URI[sha256sum] = 
"cbc648e41f005aad209f74c9e5dd346138dca12efeb7b27e471de7474c4da302"
-
-inherit fsl-eula-unpack
-
-PARALLEL_MAKE="-j 1"
-
-do_compile () {
-oe_runmake CROSS_COMPILE="${HOST_PREFIX}" 
LINUX_KERNEL_ROOT="${STAGING_KERNEL_DIR}" 
SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" all
-}
-
-do_install () {
-oe_runmake DEST_DIR="${

[meta-freescale] [PATCH v3 42/43] imx-vpu: Clarify compatibility for Chips&Media VPU

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb 
b/recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb
index f0c9d5a..d886e30 100644
--- a/recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb
+++ b/recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb
@@ -1,8 +1,8 @@
 # Copyright (C) 2013-2018 O.S. Systems Software LTDA.
 # Copyright (C) 2013-2016 Freescale Semiconductor
-# Copyright 2017 NXP
+# Copyright 2017-2018 NXP
 
-DESCRIPTION = "Freescale VPU library"
+DESCRIPTION = "Freescale Chips&Media VPU library"
 LICENSE = "Proprietary"
 LIC_FILES_CHKSUM = "file://COPYING;md5=75abe2fa1d16ca79f87cde926f05f72d"
 
@@ -32,4 +32,4 @@ do_install () {
 }
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "(mx6)"
+COMPATIBLE_MACHINE = "(mx6q|mx6dl)"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 41/43] imx-test: Add i.MX 8 support

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 recipes-bsp/imx-test/imx-test/memtool_profile |  1 +
 recipes-bsp/imx-test/imx-test_git.bb  | 30 ++-
 2 files changed, 17 insertions(+), 14 deletions(-)
 create mode 100644 recipes-bsp/imx-test/imx-test/memtool_profile

diff --git a/recipes-bsp/imx-test/imx-test/memtool_profile 
b/recipes-bsp/imx-test/imx-test/memtool_profile
new file mode 100644
index 000..97d6f61
--- /dev/null
+++ b/recipes-bsp/imx-test/imx-test/memtool_profile
@@ -0,0 +1 @@
+complete -o nospace -C /unit_tests/memtool memtool
diff --git a/recipes-bsp/imx-test/imx-test_git.bb 
b/recipes-bsp/imx-test/imx-test_git.bb
index 0932d41..df3bdd1 100644
--- a/recipes-bsp/imx-test/imx-test_git.bb
+++ b/recipes-bsp/imx-test/imx-test_git.bb
@@ -8,34 +8,34 @@ SECTION = "base"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
 
-DEPENDS  = "virtual/kernel imx-lib alsa-lib"
+DEPENDS = "virtual/kernel imx-lib alsa-lib libdrm"
 
 PE = "1"
 PV = "7.0+${SRCPV}"
 
-SRCBRANCH = "imx_4.9.88_2.0.0_ga"
-SRCREV = "1f7da41b3a8d5dff8329d7b01b10d4d71144b43e"
+SRCBRANCH = "imx_4.9.88_imx8qxp_beta2"
 SRC_URI = " \
 
git://source.codeaurora.org/external/imx/imx-test.git;protocol=https;branch=${SRCBRANCH}
 \
 file://0001-test-Makefile-Add-include-path-to-CC-command.patch \
+file://memtool_profile \
 "
-
+SRCREV = "3a87347ae408ef0234314a279ee74d9b015f06be"
 S = "${WORKDIR}/git"
 
-
 inherit module-base
 
 INHIBIT_PACKAGE_STRIP = "1"
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 
-PLATFORM_mx6q  = "IMX6Q"
-PLATFORM_mx6dl = "IMX6Q"
-PLATFORM_mx6sl = "IMX6SL"
+PLATFORM_mx6q   = "IMX6Q"
+PLATFORM_mx6dl  = "IMX6Q"
+PLATFORM_mx6sl  = "IMX6SL"
 PLATFORM_mx6sll = "IMX6SL"
-PLATFORM_mx6sx = "IMX6SX"
-PLATFORM_mx6ul = "IMX6UL"
-PLATFORM_mx7d  = "IMX7D"
-PLATFORM_mx7ulp  = "IMX7D"
+PLATFORM_mx6sx  = "IMX6SX"
+PLATFORM_mx6ul  = "IMX6UL"
+PLATFORM_mx7d   = "IMX7D"
+PLATFORM_mx7ulp = "IMX7D"
+PLATFORM_mx8= "IMX8"
 
 PARALLEL_MAKE = "-j 1"
 EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}"
@@ -73,10 +73,12 @@ do_install() {
 if [ -e ${WORKDIR}/clocks.sh ]; then
 install -m 755 ${WORKDIR}/clocks.sh ${D}/unit_tests/clocks.sh
 fi
+install -d -m 0755 ${D}/home/root/
+install -m 0644 ${WORKDIR}/memtool_profile ${D}/home/root/.profile
 }
 
-FILES_${PN} += "/unit_tests"
+FILES_${PN} += "/unit_tests /home/root/.profile"
 RDEPENDS_${PN} = "bash"
 
 FILES_${PN}-dbg += "/unit_tests/.debug"
-COMPATIBLE_MACHINE = "(mx6|mx7)"
+COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 40/43] imx-kobs: Add i.MX 8 support

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 recipes-bsp/imx-kobs/imx-kobs_git.bb | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/recipes-bsp/imx-kobs/imx-kobs_git.bb 
b/recipes-bsp/imx-kobs/imx-kobs_git.bb
index 4bd7726..864cbe5 100644
--- a/recipes-bsp/imx-kobs/imx-kobs_git.bb
+++ b/recipes-bsp/imx-kobs/imx-kobs_git.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.
 
 SUMMARY = "Nand boot write source"
@@ -8,12 +8,10 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
 
 PV = "5.5+git${SRCPV}"
-SRCREV = "c70685de47cfb67c5e16e1631b7033023ca3e97c"
-
 SRC_URI = "git://github.com/NXPmicro/imx-kobs.git;protocal=https \
file://0001-Add-missing-includes-as-pointed-out-by-musl.patch \
 "
-
+SRCREV = "a0e9adce2fb7fcd57e794d7f9a5deba0f94f521b"
 S = "${WORKDIR}/git"
 
 inherit autotools pkgconfig
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 39/43] formfactor: Add machconfig for 6SLL and 7ULP

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 recipes-bsp/formfactor/formfactor/mx6sll/machconfig | 11 +++
 recipes-bsp/formfactor/formfactor/mx7ulp/machconfig | 11 +++
 recipes-bsp/formfactor/formfactor_%.bbappend|  2 +-
 3 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 recipes-bsp/formfactor/formfactor/mx6sll/machconfig
 create mode 100644 recipes-bsp/formfactor/formfactor/mx7ulp/machconfig

diff --git a/recipes-bsp/formfactor/formfactor/mx6sll/machconfig 
b/recipes-bsp/formfactor/formfactor/mx6sll/machconfig
new file mode 100644
index 000..e3b99b7
--- /dev/null
+++ b/recipes-bsp/formfactor/formfactor/mx6sll/machconfig
@@ -0,0 +1,11 @@
+# Display options
+HAVE_TOUCHSCREEN=1
+HAVE_KEYBOARD=0
+
+#DISPLAY_CAN_ROTATE=0
+#DISPLAY_ORIENTATION=0
+#DISPLAY_WIDTH_PIXELS=1024
+#DISPLAY_HEIGHT_PIXELS=720
+#DISPLAY_BPP=16
+#DISPLAY_DPI=150
+#DISPLAY_SUBPIXEL_ORDER=vrgb
diff --git a/recipes-bsp/formfactor/formfactor/mx7ulp/machconfig 
b/recipes-bsp/formfactor/formfactor/mx7ulp/machconfig
new file mode 100644
index 000..25b18f2
--- /dev/null
+++ b/recipes-bsp/formfactor/formfactor/mx7ulp/machconfig
@@ -0,0 +1,11 @@
+# Display options
+HAVE_TOUCHSCREEN=0
+HAVE_KEYBOARD=0
+
+#DISPLAY_CAN_ROTATE=0
+#DISPLAY_ORIENTATION=0
+#DISPLAY_WIDTH_PIXELS=1024
+#DISPLAY_HEIGHT_PIXELS=720
+#DISPLAY_BPP=16
+#DISPLAY_DPI=150
+#DISPLAY_SUBPIXEL_ORDER=vrgb
diff --git a/recipes-bsp/formfactor/formfactor_%.bbappend 
b/recipes-bsp/formfactor/formfactor_%.bbappend
index 8c77b8d..96551f3 100644
--- a/recipes-bsp/formfactor/formfactor_%.bbappend
+++ b/recipes-bsp/formfactor/formfactor_%.bbappend
@@ -1,2 +1,2 @@
-# Append path for freescale to include costom matchconfig
+# Append path for i.MX custom machconfig
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 38/43] kernel-module-qca6174: Add support for QCA6174 on i.MX 8 Series

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 recipes-kernel/kernel-modules/kernel-module-qca6174_2.0.bb | 5 +
 recipes-kernel/kernel-modules/kernel-module-qcacld-lea.inc | 9 -
 2 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qca6174_2.0.bb

diff --git a/recipes-kernel/kernel-modules/kernel-module-qca6174_2.0.bb 
b/recipes-kernel/kernel-modules/kernel-module-qca6174_2.0.bb
new file mode 100644
index 000..8f94938
--- /dev/null
+++ b/recipes-kernel/kernel-modules/kernel-module-qca6174_2.0.bb
@@ -0,0 +1,5 @@
+require kernel-module-qcacld-lea.inc
+
+SUMMARY = "Qualcomm WiFi driver for QCA module 6174"
+
+EXTRA_OEMAKE += "${EXTRA_OEMAKE_QCA6174}"
diff --git a/recipes-kernel/kernel-modules/kernel-module-qcacld-lea.inc 
b/recipes-kernel/kernel-modules/kernel-module-qcacld-lea.inc
index 1284f24..2b439f8 100644
--- a/recipes-kernel/kernel-modules/kernel-module-qcacld-lea.inc
+++ b/recipes-kernel/kernel-modules/kernel-module-qcacld-lea.inc
@@ -1,6 +1,6 @@
 # Copyright 2018 NXP
 
-SUMMARY = "Qualcomm WiFi driver for QCA module 9377"
+SUMMARY = "Qualcomm WiFi driver for QCA module 9377 and 6174"
 LICENSE = "BSD & GPLv2"
 LIC_FILES_CHKSUM = 
"file://CORE/HDD/src/wlan_hdd_main.c;beginline=1;endline=20;md5=ec8d62116b13db773825ebf7cf91be1d;"
 
@@ -43,6 +43,13 @@ EXTRA_OEMAKE_QCA9377 += " \
 MODNAME=qca9377 \
 SAP_AUTH_OFFLOAD=1 \
 "
+EXTRA_OEMAKE_QCA6174 = " \
+CONFIG_ROME_IF=pci \
+CONFIG_WLAN_FEATURE_11W=y \
+CONFIG_WLAN_FEATURE_FILS=y \
+CONFIG_WLAN_WAPI_MODE_11AC_DISABLE=y \
+MODNAME=qca6174 \
+"
 EXTRA_OEMAKE += " \
 CONFIG_CFG80211_INTERNAL_REGDB=y \
 CONFIG_HDD_WLAN_WAIT_TIME=1 \
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 35/43] firmware-qca6174: Add support for QCA6174 on i.MX 8 Series

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 conf/machine/include/imx-base.inc|  1 +
 recipes-bsp/firmware-qca/firmware-qca6174_2.0.bb | 27 
 2 files changed, 28 insertions(+)
 create mode 100644 recipes-bsp/firmware-qca/firmware-qca6174_2.0.bb

diff --git a/conf/machine/include/imx-base.inc 
b/conf/machine/include/imx-base.inc
index 0e85143..4eadf50 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -204,6 +204,7 @@ MACHINE_EXTRA_RRECOMMENDS_append_mx7d = " 
${@bb.utils.contains('DISTRO_FEATURES'
 MACHINE_EXTRA_RRECOMMENDS_append_mx7ulp = " 
${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}"
 
 # Extra QCA Wi-Fi & BTE driver and firmware
+MACHINE_EXTRA_RRECOMMENDS_append = " ${@bb.utils.contains('MACHINE_FEATURES', 
'qca6174', 'firmware-qca6174 kernel-module-qca6174 qca-tools', '', d)}"
 MACHINE_EXTRA_RRECOMMENDS_append = " ${@bb.utils.contains('MACHINE_FEATURES', 
'qca9377', 'firmware-qca9377 kernel-module-qca9377 qca-tools', '', d)}"
 
 # Extra udev rules
diff --git a/recipes-bsp/firmware-qca/firmware-qca6174_2.0.bb 
b/recipes-bsp/firmware-qca/firmware-qca6174_2.0.bb
new file mode 100644
index 000..462bf2e
--- /dev/null
+++ b/recipes-bsp/firmware-qca/firmware-qca6174_2.0.bb
@@ -0,0 +1,27 @@
+# Copyright 2018 NXP
+
+require firmware-qca.inc
+
+SUMMARY = "Qualcomm Wi-Fi and Bluetooth firmware"
+DESCRIPTION = "Qualcomm Wi-Fi and Bluetooth firmware for modules such as 
QCA6174A"
+SECTION = "base"
+LICENSE = "Proprietary"
+
+inherit allarch
+
+do_install () {
+# Install firmware.conf for QCA modules
+install -d ${D}${sysconfdir}/bluetooth
+install -m 644 ${S}/1CQ_QCA6174A_LEA_2.0/etc/bluetooth/firmware.conf 
${D}${sysconfdir}/bluetooth
+
+# Install firmware files
+install -d ${D}${base_libdir}
+cp -r ${S}/1CQ_QCA6174A_LEA_2.0/lib/firmware ${D}${base_libdir}
+}
+
+FILES_${PN} = " \
+${sysconfdir}/bluetooth/firmware.conf \
+${base_libdir}/firmware/qca6174 \
+${base_libdir}/firmware/wlan \
+${base_libdir}/firmware/* \
+"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 36/43] qca-tools: Add fcc_tools

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 recipes-bsp/firmware-qca/qca-tools_2.0.bb | 22 ++
 1 file changed, 22 insertions(+)
 create mode 100644 recipes-bsp/firmware-qca/qca-tools_2.0.bb

diff --git a/recipes-bsp/firmware-qca/qca-tools_2.0.bb 
b/recipes-bsp/firmware-qca/qca-tools_2.0.bb
new file mode 100644
index 000..0fdb2ca
--- /dev/null
+++ b/recipes-bsp/firmware-qca/qca-tools_2.0.bb
@@ -0,0 +1,22 @@
+# Copyright 2018 NXP
+
+require firmware-qca.inc
+
+SUMMARY = "Qualcomm Wi-Fi and Bluetooth tools"
+DESCRIPTION = "Qualcomm Wi-Fi and Bluetooth tools for modules such as QCA6174A 
and QCA9377"
+LICENSE = "Proprietary"
+
+DEPENDS = "libnl zlib"
+
+FCC_TOOLS_FOLDER ?= "qca9377_qca6174_arm32"
+FCC_TOOLS_FOLDER_aarch64 = "qca9377_qca6174_arm64"
+
+do_install () {
+install -d ${D}${sbindir}/fcc_tools
+cp -r ${S}/fcc_tools/${FCC_TOOLS_FOLDER} ${D}${sbindir}/fcc_tools
+chmod 644 ${D}${sbindir}/fcc_tools/*
+}
+
+FILES_${PN} = " \
+${sbindir}/* \
+"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 34/43] firmware-qca9377: Add support for QCA9377 on i.MX 7ULP

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 conf/machine/imx7ulpevk.conf |  2 +-
 conf/machine/include/imx-base.inc|  3 +++
 recipes-bsp/firmware-qca/firmware-qca.inc| 15 +
 recipes-bsp/firmware-qca/firmware-qca9377_2.0.bb | 27 
 4 files changed, 46 insertions(+), 1 deletion(-)
 create mode 100644 recipes-bsp/firmware-qca/firmware-qca.inc
 create mode 100644 recipes-bsp/firmware-qca/firmware-qca9377_2.0.bb

diff --git a/conf/machine/imx7ulpevk.conf b/conf/machine/imx7ulpevk.conf
index d077de7..6fa9098 100644
--- a/conf/machine/imx7ulpevk.conf
+++ b/conf/machine/imx7ulpevk.conf
@@ -7,7 +7,7 @@
 require conf/machine/include/imx-base.inc
 require conf/machine/include/tune-cortexa7.inc
 
-MACHINE_FEATURES += " pci wifi bluetooth"
+MACHINE_FEATURES += " pci wifi bluetooth qca9377"
 
 MACHINEOVERRIDES =. "mx7:mx7ulp:"
 
diff --git a/conf/machine/include/imx-base.inc 
b/conf/machine/include/imx-base.inc
index 70ec39a..0e85143 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -203,6 +203,9 @@ MACHINE_EXTRA_RRECOMMENDS_append_mx6ull = " 
${@bb.utils.contains('DISTRO_FEATURE
 MACHINE_EXTRA_RRECOMMENDS_append_mx7d = " 
${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}"
 MACHINE_EXTRA_RRECOMMENDS_append_mx7ulp = " 
${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}"
 
+# Extra QCA Wi-Fi & BTE driver and firmware
+MACHINE_EXTRA_RRECOMMENDS_append = " ${@bb.utils.contains('MACHINE_FEATURES', 
'qca9377', 'firmware-qca9377 kernel-module-qca9377 qca-tools', '', d)}"
+
 # Extra udev rules
 MACHINE_EXTRA_RRECOMMENDS += "udev-rules-imx"
 
diff --git a/recipes-bsp/firmware-qca/firmware-qca.inc 
b/recipes-bsp/firmware-qca/firmware-qca.inc
new file mode 100644
index 000..20d1fa5
--- /dev/null
+++ b/recipes-bsp/firmware-qca/firmware-qca.inc
@@ -0,0 +1,15 @@
+# Copyright 2018 NXP
+
+SUMMARY = "Qualcomm Wi-Fi and Bluetooth firmware"
+SECTION = "base"
+LICENSE = "Proprietary"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ab61cab9599935bfe9f700405ef00f28 \
+
file://QUALCOMM_ATHEROS_LICENSE_AGREEMENT.pdf;md5=e629669cf17f6a2a6872e067582986e3
 \
+"
+
+SRC_URI = " ${FSL_MIRROR}/firmware-qca-${PV}.bin;fsl-eula=true"
+SRC_URI[md5sum] = "d2b7766a0919c2084ba7c911b7ddc1d0"
+SRC_URI[sha256sum] = 
"001eaaf7008d1354daeb7dbfbc86de1269cc4d6e5b49fa7f811eb82035602a42"
+S = "${WORKDIR}/firmware-qca-${PV}"
+
+inherit fsl-eula-unpack
diff --git a/recipes-bsp/firmware-qca/firmware-qca9377_2.0.bb 
b/recipes-bsp/firmware-qca/firmware-qca9377_2.0.bb
new file mode 100644
index 000..5bee32d
--- /dev/null
+++ b/recipes-bsp/firmware-qca/firmware-qca9377_2.0.bb
@@ -0,0 +1,27 @@
+# Copyright 2018 NXP
+
+require firmware-qca.inc
+
+SUMMARY = "Qualcomm Wi-Fi and Bluetooth firmware"
+DESCRIPTION = "Qualcomm Wi-Fi and Bluetooth firmware for modules such as 
QCA9377-3"
+SECTION = "base"
+LICENSE = "Proprietary"
+
+inherit allarch
+
+do_install () {
+# Install firmware.conf for QCA modules
+install -d ${D}${sysconfdir}/bluetooth
+install -m 644 ${S}/1PJ_QCA9377-3_LEA_2.0/etc/bluetooth/firmware.conf 
${D}${sysconfdir}/bluetooth
+
+# Install firmware files
+install -d ${D}${base_libdir}
+cp -r ${S}/1PJ_QCA9377-3_LEA_2.0/lib/firmware ${D}${base_libdir}
+}
+
+FILES_${PN} = " \
+${sysconfdir}/bluetooth/firmware.conf \
+${base_libdir}/firmware/qca \
+${base_libdir}/firmware/qca9377 \
+${base_libdir}/firmware/wlan \
+"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 33/43] firmware-imx: Add i.MX 8 support

2018-08-07 Thread Tom Hochstein
- Add DDR for 8MQ
- Add HDMI for 8QM
- Add SECO for 8QXP

Signed-off-by: Tom Hochstein 
---
 recipes-bsp/firmware-imx/firmware-imx_7.6.bb | 23 ++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/recipes-bsp/firmware-imx/firmware-imx_7.6.bb 
b/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
index 6c5f73c..85229cf 100644
--- a/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
+++ b/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
@@ -19,7 +19,7 @@ SRCREV = "8ce9046f5058fdd2c5271f86ccfc61bc5a248ae3"
 SRC_URI[md5sum] = "3f6a00c3dfc0693c050bf39824865d28"
 SRC_URI[sha256sum] = 
"6c1e4d4f33b216f69eb46a6dff7a3e10d722afb694acd412c5398ccc270f8a9c"
 
-inherit fsl-eula-unpack allarch
+inherit fsl-eula-unpack allarch deploy
 
 do_install() {
 install -d ${D}${base_libdir}/firmware/imx
@@ -76,6 +76,27 @@ do_install() {
 find ${D}${base_libdir}/firmware/ -name '*.mk' -exec rm '{}' ';'
 }
 
+do_deploy() {
+}
+do_deploy_append_mx8mq() {
+# Synopsys DDR
+for ddr_firmware in ${DDR_FIRMWARE_NAME}; do
+install -m 0644 ${S}/firmware/ddr/synopsys/${ddr_firmware} ${DEPLOYDIR}
+done
+install -m 0644 ${S}/firmware/hdmi/cadence/signed_hdmi_imx8m.bin 
${DEPLOYDIR}
+}
+do_deploy_append_mx8qm() {
+# Cadence HDMI
+install -m 0644 ${S}/firmware/hdmi/cadence/hdmitxfw.bin ${DEPLOYDIR}
+install -m 0644 ${S}/firmware/hdmi/cadence/hdmirxfw.bin ${DEPLOYDIR}
+install -m 0644 ${S}/firmware/hdmi/cadence/dpfw.bin ${DEPLOYDIR}
+}
+do_deploy_append_mx8qxp() {
+# SECO
+install -m 0644 ${S}/firmware/seco/ahab-container.img ${DEPLOYDIR}
+}
+addtask deploy before do_build after do_install
+
 python populate_packages_prepend() {
 vpudir = bb.data.expand('${base_libdir}/firmware/vpu', d)
 do_split_packages(d, vpudir, '^vpu_fw_([^_]*).*\.bin',
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 32/43] firmware-imx: Add support for BCM4356 and BCM89359

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 recipes-bsp/firmware-imx/firmware-imx_7.6.bb | 9 +
 1 file changed, 9 insertions(+)

diff --git a/recipes-bsp/firmware-imx/firmware-imx_7.6.bb 
b/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
index 4f75ac0..6c5f73c 100644
--- a/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
+++ b/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
@@ -39,12 +39,21 @@ do_install() {
 cp -rfv git/brcm/1BW_BCM43340/*.cal 
${D}${base_libdir}/firmware/bcm/1BW_BCM43340
 cp -rfv git/brcm/1BW_BCM43340/*.hcd ${D}${sysconfdir}/firmware/
 
+#1CX_BCM4356
+install -d ${D}${base_libdir}/firmware/bcm/1CX_BCM4356
+cp -rfv git/brcm/1CX_BCM4356/fw_bcmdhd.bin 
${D}${base_libdir}/firmware/bcm/1CX_BCM4356
+
 #1DX_BCM4343W
 install -d ${D}${base_libdir}/firmware/bcm/1DX_BCM4343W
 cp -rfv git/brcm/1DX_BCM4343W/*.bin 
${D}${base_libdir}/firmware/bcm/1DX_BCM4343W
 cp -rfv git/brcm/1DX_BCM4343W/*.cal 
${D}${base_libdir}/firmware/bcm/1DX_BCM4343W
 cp -rfv git/brcm/1DX_BCM4343W/*.hcd ${D}${sysconfdir}/firmware/
 
+#1FD_BCM89359
+install -d ${D}${base_libdir}/firmware/bcm/1FD_BCM89359
+cp -rfv git/brcm/1FD_BCM89359/*.bin 
${D}${base_libdir}/firmware/bcm/1FD_BCM89359
+cp -rfv git/brcm/1FD_BCM89359/*.hcd ${D}${sysconfdir}/firmware/
+
 #SN8000_BCM43362
 install -d ${D}${base_libdir}/firmware/bcm/SN8000_BCM43362
 cp -rfv git/brcm/SN8000_BCM43362/*.bin 
${D}${base_libdir}/firmware/bcm/SN8000_BCM43362
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 31/43] firmware-imx: Update to 7.6

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 .../firmware-imx/{firmware-imx_7.5.bb => firmware-imx_7.6.bb}  | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)
 rename recipes-bsp/firmware-imx/{firmware-imx_7.5.bb => firmware-imx_7.6.bb} 
(93%)

diff --git a/recipes-bsp/firmware-imx/firmware-imx_7.5.bb 
b/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
similarity index 93%
rename from recipes-bsp/firmware-imx/firmware-imx_7.5.bb
rename to recipes-bsp/firmware-imx/firmware-imx_7.6.bb
index 3bebe5b..4f75ac0 100644
--- a/recipes-bsp/firmware-imx/firmware-imx_7.5.bb
+++ b/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
@@ -1,10 +1,11 @@
 # Copyright (C) 2012-2016 Freescale Semiconductor
+# Copyright 2017-2018 NXP
 # Copyright (C) 2018 O.S. Systems Software LTDA.
 SUMMARY = "Freescale IMX firmware"
 DESCRIPTION = "Freescale IMX firmware such as for the VPU"
 SECTION = "base"
 LICENSE = "Proprietary"
-LIC_FILES_CHKSUM = "file://COPYING;md5=75abe2fa1d16ca79f87cde926f05f72d"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ab61cab9599935bfe9f700405ef00f28"
 
 PE = "1"
 
@@ -15,8 +16,8 @@ SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true 
\
 #BRCM firmware git
 SRCREV = "8ce9046f5058fdd2c5271f86ccfc61bc5a248ae3"
 
-SRC_URI[md5sum] = "3851bb89ff262e9322a631755215f538"
-SRC_URI[sha256sum] = 
"a8f099bdf786b2da1e8b43094950c033ccdbf93f1b8a93caffb912e1500cd735"
+SRC_URI[md5sum] = "3f6a00c3dfc0693c050bf39824865d28"
+SRC_URI[sha256sum] = 
"6c1e4d4f33b216f69eb46a6dff7a3e10d722afb694acd412c5398ccc270f8a9c"
 
 inherit fsl-eula-unpack allarch
 
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 30/43] alsa-state: Add i.MX 8 series support

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 recipes-bsp/alsa-state/alsa-state.bbappend | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-bsp/alsa-state/alsa-state.bbappend 
b/recipes-bsp/alsa-state/alsa-state.bbappend
index 08e4859..3a398b2 100644
--- a/recipes-bsp/alsa-state/alsa-state.bbappend
+++ b/recipes-bsp/alsa-state/alsa-state.bbappend
@@ -1,8 +1,10 @@
 # Append path for freescale layer to include alsa-state asound.conf
 FILESEXTRAPATHS_prepend_mx6 := "${THISDIR}/${PN}/imx:"
 FILESEXTRAPATHS_prepend_mx7 := "${THISDIR}/${PN}/imx:"
+FILESEXTRAPATHS_prepend_mx8 := "${THISDIR}/${PN}/imx:"
 FILESEXTRAPATHS_prepend_use-mainline-bsp := "${THISDIR}/${PN}/imx:"
 
 PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}"
 PACKAGE_ARCH_mx7 = "${MACHINE_ARCH}"
+PACKAGE_ARCH_mx8 = "${MACHINE_ARCH}"
 PACKAGE_ARCH_use-mainline-bsp = "${MACHINE_ARCH}"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 28/43] alsa-state: Fix HDMI for i.MX 8M

2018-08-07 Thread Tom Hochstein
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 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 27/43] alsa-state: Fix channel swap issues

2018-08-07 Thread Tom Hochstein
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 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 24/43] imx-boot: Add recipes for i.MX 8 boot partition packages.

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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 000..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', \
+   

[meta-freescale] [PATCH v3 26/43] alsa-state: Add support for splitting ESAI device

2018-08-07 Thread Tom Hochstein
Split one ESAI device into two virtual devices, one
6 channel and one 2 channel.

Signed-off-by: Tom Hochstein 
---
 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 4
+}
+
+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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 25/43] alsa-state: Fix buffer size issue

2018-08-07 Thread Tom Hochstein
Fix incorrect buffer size by removing buffer_time from dmix
configuration settings.

Signed-off-by: Tom Hochstein 
---
 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 4
-buffer_time 32
 format S16_LE
 rate 48000
 }
@@ -20,7 +19,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 44100
 }
@@ -33,7 +31,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 32000
 }
@@ -46,7 +43,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 24000
 }
@@ -59,7 +55,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 22050
 }
@@ -72,7 +67,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 16000
 }
@@ -85,7 +79,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 24
 format S16_LE
 rate 12000
 }
@@ -98,7 +91,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 24
 format S16_LE
 rate 11025
 }
@@ -111,7 +103,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 8000
 }
@@ -124,7 +115,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 32
 format S16_LE
 rate 48000
 }
@@ -137,7 +127,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 44100
 }
@@ -150,7 +139,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 32000
 }
@@ -163,7 +151,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 24000
 }
@@ -176,7 +163,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 22050
 }
@@ -189,7 +175,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 16000
 }
@@ -202,7 +187,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 24
 format S16_LE
 rate 12000
 }
@@ -215,7 +199,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 24
 format S16_LE
 rate 11025
 }
@@ -228,7 +211,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 8000
 }
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v3 23/43] imx-sc-firmware: Add new package System Controller Firmware

2018-08-07 Thread Tom Hochstein
Add System Controller firmware package for i.MX 8 and 8X families.

Signed-off-by: Tom Hochstein 
---
 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 000..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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [PATCH v2 01/43] xserver-xf86-config: Add support for i.MX 8MQ

2018-08-07 Thread Tom Hochstein
Thanks, Gary, my mistake. That file should not have been submitted.

Tom

> -Original Message-
> From: Gary Bisson [mailto:gary.bis...@boundarydevices.com]
> Sent: Tuesday, August 7, 2018 4:10 AM
> To: Tom Hochstein 
> Cc: meta-freescale Mailing List 
> Subject: Re: [meta-freescale] [PATCH v2 01/43] xserver-xf86-config: Add
> support for i.MX 8MQ
> 
> Hi Tom,
> 
> Have you tested this patch on an actual i.MX8MQ platform?
> 
> Isn't the "vivante" driver mentioned in xorg.conf referring to xf86-video-imx-
> vivante which cannot be built for i.MX8MQ since it requires libg2d?
> 
> Moreover since imx-gpu-viv has no x11 backend for i.MX8 I'm curious about
> how this actually works.
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fco
> mmunity.nxp.com%2Fthread%2F473905%23comment-
> 1005537&data=02%7C01%7Ctom.hochstein%40nxp.com%7Cc0f54ac2b1
> 1d42139aab08d5fc457d5e%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0
> %7C636692297741068895&sdata=Gq4sSOu6STlWuss%2BpN%2FwIvbPV
> RjKu5LFtKUn431jgxA%3D&reserved=0
> 
> Regards,
> Gary Bisson
> Boundary Devices, LLC
> https://emea01.safelinks.protection.outlook.com/?url=www.boundarydevic
> es.com&data=02%7C01%7Ctom.hochstein%40nxp.com%7Cc0f54ac2b11
> d42139aab08d5fc457d5e%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0
> %7C636692297741068895&sdata=28q9wbF2g3g4We%2F%2FO6WS8zOqI
> cBM0w0UgilkuIboTKM%3D&reserved=0
> 
> 
> On Mon, Aug 6, 2018 at 10:03 PM, Tom Hochstein
>  wrote:
> > Add DRM driver.
> >
> > Signed-off-by: Tom Hochstein 
> > ---
> >  .../xorg-xserver/xserver-xf86-config/imxdrm/xorg.conf | 15
> +++
> >  1 file changed, 15 insertions(+)
> >  create mode 100644
> > recipes-graphics/xorg-xserver/xserver-xf86-config/imxdrm/xorg.conf
> >
> > diff --git
> > a/recipes-graphics/xorg-xserver/xserver-xf86-config/imxdrm/xorg.conf
> > b/recipes-graphics/xorg-xserver/xserver-xf86-config/imxdrm/xorg.conf
> > new file mode 100644
> > index 000..ec12ed9
> > --- /dev/null
> > +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/imxdrm/xorg.co
> > +++ nf
> > @@ -0,0 +1,15 @@
> > +Section "Device"
> > +Identifier  "i.MX Accelerated DRM Device"
> > +Driver  "vivante"
> > +Option  "kmsdev" "/dev/dri/card0"
> > +EndSection
> > +
> > +Section "ServerFlags"
> > +Option "BlankTime"  "0"
> > +Option "StandbyTime"  "0"
> > +Option "SuspendTime"  "0"
> > +Option "OffTime"  "0"
> > +Option "Xinerama"  "off"
> > +Option "Clone"  "on"
> > +Option "SWcursor"  "true"
> > +EndSection
> > --
> > 2.7.4
> >
> > --
> > ___
> > meta-freescale mailing list
> > meta-freescale@yoctoproject.org
> >
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flis
> > ts.yoctoproject.org%2Flistinfo%2Fmeta-
> freescale&data=02%7C01%7Ctom
> >
> .hochstein%40nxp.com%7Cc0f54ac2b11d42139aab08d5fc457d5e%7C686ea1d
> 3bc2b
> >
> 4c6fa92cd99c5c301635%7C0%7C0%7C636692297741068895&sdata=cKk4
> hW2IQR
> > HWheo075%2Fpl8jKRPLj59ZqtAmm8HdFHBg%3D&reserved=0
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 03/43] imx-gpu-g2d: Improve COMPATIBLE_MACHINE

2018-08-07 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 34/43] firmware-imx: Add i.MX 8 support

2018-08-06 Thread Tom Hochstein
- Add DDR for 8MQ
- Add HDMI for 8QM
- Add SECO for 8QXP

Signed-off-by: Tom Hochstein 
---
 recipes-bsp/firmware-imx/firmware-imx_7.6.bb | 23 ++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/recipes-bsp/firmware-imx/firmware-imx_7.6.bb 
b/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
index 6c5f73c..85229cf 100644
--- a/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
+++ b/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
@@ -19,7 +19,7 @@ SRCREV = "8ce9046f5058fdd2c5271f86ccfc61bc5a248ae3"
 SRC_URI[md5sum] = "3f6a00c3dfc0693c050bf39824865d28"
 SRC_URI[sha256sum] = 
"6c1e4d4f33b216f69eb46a6dff7a3e10d722afb694acd412c5398ccc270f8a9c"
 
-inherit fsl-eula-unpack allarch
+inherit fsl-eula-unpack allarch deploy
 
 do_install() {
 install -d ${D}${base_libdir}/firmware/imx
@@ -76,6 +76,27 @@ do_install() {
 find ${D}${base_libdir}/firmware/ -name '*.mk' -exec rm '{}' ';'
 }
 
+do_deploy() {
+}
+do_deploy_append_mx8mq() {
+# Synopsys DDR
+for ddr_firmware in ${DDR_FIRMWARE_NAME}; do
+install -m 0644 ${S}/firmware/ddr/synopsys/${ddr_firmware} ${DEPLOYDIR}
+done
+install -m 0644 ${S}/firmware/hdmi/cadence/signed_hdmi_imx8m.bin 
${DEPLOYDIR}
+}
+do_deploy_append_mx8qm() {
+# Cadence HDMI
+install -m 0644 ${S}/firmware/hdmi/cadence/hdmitxfw.bin ${DEPLOYDIR}
+install -m 0644 ${S}/firmware/hdmi/cadence/hdmirxfw.bin ${DEPLOYDIR}
+install -m 0644 ${S}/firmware/hdmi/cadence/dpfw.bin ${DEPLOYDIR}
+}
+do_deploy_append_mx8qxp() {
+# SECO
+install -m 0644 ${S}/firmware/seco/ahab-container.img ${DEPLOYDIR}
+}
+addtask deploy before do_build after do_install
+
 python populate_packages_prepend() {
 vpudir = bb.data.expand('${base_libdir}/firmware/vpu', d)
 do_split_packages(d, vpudir, '^vpu_fw_([^_]*).*\.bin',
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 35/43] firmware-qca9377: Add support for QCA9377 on i.MX 7ULP

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 conf/machine/imx7ulpevk.conf |  2 +-
 conf/machine/include/imx-base.inc|  3 +++
 recipes-bsp/firmware-qca/firmware-qca.inc| 15 +
 recipes-bsp/firmware-qca/firmware-qca9377_2.0.bb | 27 
 4 files changed, 46 insertions(+), 1 deletion(-)
 create mode 100644 recipes-bsp/firmware-qca/firmware-qca.inc
 create mode 100644 recipes-bsp/firmware-qca/firmware-qca9377_2.0.bb

diff --git a/conf/machine/imx7ulpevk.conf b/conf/machine/imx7ulpevk.conf
index d077de7..6fa9098 100644
--- a/conf/machine/imx7ulpevk.conf
+++ b/conf/machine/imx7ulpevk.conf
@@ -7,7 +7,7 @@
 require conf/machine/include/imx-base.inc
 require conf/machine/include/tune-cortexa7.inc
 
-MACHINE_FEATURES += " pci wifi bluetooth"
+MACHINE_FEATURES += " pci wifi bluetooth qca9377"
 
 MACHINEOVERRIDES =. "mx7:mx7ulp:"
 
diff --git a/conf/machine/include/imx-base.inc 
b/conf/machine/include/imx-base.inc
index 70ec39a..0e85143 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -203,6 +203,9 @@ MACHINE_EXTRA_RRECOMMENDS_append_mx6ull = " 
${@bb.utils.contains('DISTRO_FEATURE
 MACHINE_EXTRA_RRECOMMENDS_append_mx7d = " 
${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}"
 MACHINE_EXTRA_RRECOMMENDS_append_mx7ulp = " 
${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}"
 
+# Extra QCA Wi-Fi & BTE driver and firmware
+MACHINE_EXTRA_RRECOMMENDS_append = " ${@bb.utils.contains('MACHINE_FEATURES', 
'qca9377', 'firmware-qca9377 kernel-module-qca9377 qca-tools', '', d)}"
+
 # Extra udev rules
 MACHINE_EXTRA_RRECOMMENDS += "udev-rules-imx"
 
diff --git a/recipes-bsp/firmware-qca/firmware-qca.inc 
b/recipes-bsp/firmware-qca/firmware-qca.inc
new file mode 100644
index 000..20d1fa5
--- /dev/null
+++ b/recipes-bsp/firmware-qca/firmware-qca.inc
@@ -0,0 +1,15 @@
+# Copyright 2018 NXP
+
+SUMMARY = "Qualcomm Wi-Fi and Bluetooth firmware"
+SECTION = "base"
+LICENSE = "Proprietary"
+LIC_FILES_CHKSUM = "file://COPYING;md5=ab61cab9599935bfe9f700405ef00f28 \
+
file://QUALCOMM_ATHEROS_LICENSE_AGREEMENT.pdf;md5=e629669cf17f6a2a6872e067582986e3
 \
+"
+
+SRC_URI = " ${FSL_MIRROR}/firmware-qca-${PV}.bin;fsl-eula=true"
+SRC_URI[md5sum] = "d2b7766a0919c2084ba7c911b7ddc1d0"
+SRC_URI[sha256sum] = 
"001eaaf7008d1354daeb7dbfbc86de1269cc4d6e5b49fa7f811eb82035602a42"
+S = "${WORKDIR}/firmware-qca-${PV}"
+
+inherit fsl-eula-unpack
diff --git a/recipes-bsp/firmware-qca/firmware-qca9377_2.0.bb 
b/recipes-bsp/firmware-qca/firmware-qca9377_2.0.bb
new file mode 100644
index 000..5bee32d
--- /dev/null
+++ b/recipes-bsp/firmware-qca/firmware-qca9377_2.0.bb
@@ -0,0 +1,27 @@
+# Copyright 2018 NXP
+
+require firmware-qca.inc
+
+SUMMARY = "Qualcomm Wi-Fi and Bluetooth firmware"
+DESCRIPTION = "Qualcomm Wi-Fi and Bluetooth firmware for modules such as 
QCA9377-3"
+SECTION = "base"
+LICENSE = "Proprietary"
+
+inherit allarch
+
+do_install () {
+# Install firmware.conf for QCA modules
+install -d ${D}${sysconfdir}/bluetooth
+install -m 644 ${S}/1PJ_QCA9377-3_LEA_2.0/etc/bluetooth/firmware.conf 
${D}${sysconfdir}/bluetooth
+
+# Install firmware files
+install -d ${D}${base_libdir}
+cp -r ${S}/1PJ_QCA9377-3_LEA_2.0/lib/firmware ${D}${base_libdir}
+}
+
+FILES_${PN} = " \
+${sysconfdir}/bluetooth/firmware.conf \
+${base_libdir}/firmware/qca \
+${base_libdir}/firmware/qca9377 \
+${base_libdir}/firmware/wlan \
+"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 13/43] kernel-module-imx-gpu-viv: Update to 6.2.4.p1.6

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 ...-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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 16/43] imx-dpu-g2d: Update to 1.4.6

2018-08-06 Thread Tom Hochstein
Includes support for i.MX 8 and 8X families.

Signed-off-by: Tom Hochstein 
---
 .../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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 12/43] imx-dpu-g2d: Use machine override for compatibility

2018-08-06 Thread Tom Hochstein
Use imxdpu override for machine compatibility.

Signed-off-by: Tom Hochstein 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 19/43] imx-gpu-viv: Add support for i.MX 8 and 8X families

2018-08-06 Thread Tom Hochstein
- 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 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 07/43] wayland-protocols: Add HDR10 metadata and alpha compositing protocols

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 ...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 000..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 
+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 
+---
+ 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 000..d874156
+--- /dev/null
 b/unstable/alpha-compositing/README
+@@ -0,0 +1,6 @@
++Alpha compositing protocol
++
++Maintainers:
++David Reveman 
++Alexandros Frantzis 
++Jared Hu 
+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 000..0844b3f
+--- /dev/null
 b/unstable/alpha-compositing/alpha-compositing-unstable-v1.xml
+@@ -0,0 +1,136 @@
++
++
++
++  
++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.
++  
++
++  
++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 v

[meta-freescale] [PATCH v2 29/43] alsa-state: Fix HDMI for i.MX 8M

2018-08-06 Thread Tom Hochstein
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 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 08/43] EULA: Update to v24

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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 sof

[meta-freescale] [PATCH v2 27/43] alsa-state: Add support for splitting ESAI device

2018-08-06 Thread Tom Hochstein
Split one ESAI device into two virtual devices, one
6 channel and one 2 channel.

Signed-off-by: Tom Hochstein 
---
 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 4
+}
+
+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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 01/43] xserver-xf86-config: Add support for i.MX 8MQ

2018-08-06 Thread Tom Hochstein
Add DRM driver.

Signed-off-by: Tom Hochstein 
---
 .../xorg-xserver/xserver-xf86-config/imxdrm/xorg.conf | 15 +++
 1 file changed, 15 insertions(+)
 create mode 100644 
recipes-graphics/xorg-xserver/xserver-xf86-config/imxdrm/xorg.conf

diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/imxdrm/xorg.conf 
b/recipes-graphics/xorg-xserver/xserver-xf86-config/imxdrm/xorg.conf
new file mode 100644
index 000..ec12ed9
--- /dev/null
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/imxdrm/xorg.conf
@@ -0,0 +1,15 @@
+Section "Device"
+Identifier  "i.MX Accelerated DRM Device"
+Driver  "vivante"
+Option  "kmsdev" "/dev/dri/card0"
+EndSection
+
+Section "ServerFlags"
+Option "BlankTime"  "0"
+Option "StandbyTime"  "0"
+Option "SuspendTime"  "0"
+Option "OffTime"  "0"
+Option "Xinerama"  "off"
+Option "Clone"  "on"
+Option "SWcursor"  "true"
+EndSection
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics

2018-08-06 Thread Tom Hochstein
Extending i.MX 8 Series support to 8QM and 8QXP

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-xf86-config: Add support for i.MX 8MQ
  xserver-xorg: Fix build issues for i.MX 8MQ
  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

 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 +-
 recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb  |6 +-
 recipes-bsp/u-boot/u-boot-imx_2017.03.bb   |   32 +-
 .../{

[meta-freescale] [PATCH v2 06/43] wayland-protocols: Downgrade to 1.13 for i.MX

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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 000..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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 25/43] imx-boot: Add recipes for i.MX 8 boot partition packages.

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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 000..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', \
+   

[meta-freescale] [PATCH v2 18/43] imx-gpu-viv: Remove wayland-egl files

2018-08-06 Thread Tom Hochstein
Remove wayland-egl files since this support is now provided by Wayland
itself.

Signed-off-by: Tom Hochstein 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 21/43] fsl-eula: Extend EULA-based archive support

2018-08-06 Thread Tom Hochstein
Define a common naming scheme and a common unpacking scheme.

Signed-off-by: Tom Hochstein 
---
 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 000..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 000..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 000..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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 09/43] linux-imx: Add i.MX 8 support

2018-08-06 Thread Tom Hochstein
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 
---
 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 000..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_

[meta-freescale] [PATCH v2 28/43] alsa-state: Fix channel swap issues

2018-08-06 Thread Tom Hochstein
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 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 15/43] imx-gpu-g2d: Update to 6.2.4.p1.6

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 .../{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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 10/43] u-boot-imx: Add support for i.MX 8QM, 8MQ, and 8QXP

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 23/43] imx-atf: Add new package ARM Trusted Firmware

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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 000..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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 04/43] waffle: Configure for i.MX GPU

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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 000..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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 20/43] imx-gpu-viv: Add support for OpenCL and OpenVX

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 14/43] imx-gpu-viv: Update to 6.2.4.p1.6

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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..000
--- 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 000..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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 11/43] machine: Add support for i.MX 8QM, 8MQ, and 8QXP

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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 000..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 
+
+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 000..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 
+
+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 = "6553

[meta-freescale] [PATCH v2 24/43] imx-sc-firmware: Add new package System Controller Firmware

2018-08-06 Thread Tom Hochstein
Add System Controller firmware package for i.MX 8 and 8X families.

Signed-off-by: Tom Hochstein 
---
 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 000..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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 05/43] weston: Fix non-GPU support

2018-08-06 Thread Tom Hochstein
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 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 17/43] xf86-video-imx-vivante: Update to 6.2.4.p1.6

2018-08-06 Thread Tom Hochstein
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 
---
 ...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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 22/43] u-boot-imx: Deploy tools on boot partition for i.MX 8MQ

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 26/43] alsa-state: Fix buffer size issue

2018-08-06 Thread Tom Hochstein
Fix incorrect buffer size by removing buffer_time from dmix
configuration settings.

Signed-off-by: Tom Hochstein 
---
 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 4
-buffer_time 32
 format S16_LE
 rate 48000
 }
@@ -20,7 +19,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 44100
 }
@@ -33,7 +31,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 32000
 }
@@ -46,7 +43,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 24000
 }
@@ -59,7 +55,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 22050
 }
@@ -72,7 +67,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 16000
 }
@@ -85,7 +79,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 24
 format S16_LE
 rate 12000
 }
@@ -98,7 +91,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 24
 format S16_LE
 rate 11025
 }
@@ -111,7 +103,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 8000
 }
@@ -124,7 +115,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 32
 format S16_LE
 rate 48000
 }
@@ -137,7 +127,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 44100
 }
@@ -150,7 +139,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 32000
 }
@@ -163,7 +151,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 24000
 }
@@ -176,7 +163,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 22050
 }
@@ -189,7 +175,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 16000
 }
@@ -202,7 +187,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 24
 format S16_LE
 rate 12000
 }
@@ -215,7 +199,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 24
 format S16_LE
 rate 11025
 }
@@ -228,7 +211,6 @@ ipc_key_add_uid yes
 slave{
 pcm "hw:0,0"
 period_time 4
-buffer_time 36
 format S16_LE
 rate 8000
 }
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 02/43] xserver-xorg: Fix build issues for i.MX 8MQ

2018-08-06 Thread Tom Hochstein
Build now with the default OpenGL configuration except
no glamor for i.MX 6 or 7 with GPU.

Signed-off-by: Tom Hochstein 
---
 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

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 38/43] kernel-module-qca9377: Add support for QCA9377 on i.MX 7ULP

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 .../kernel-modules/kernel-module-qca9377_2.0.bb|5 +
 .../kernel-modules/kernel-module-qcacld-lea.inc|   53 +
 ...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 ++
 20 files changed, 2794 insertions(+)
 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

diff --git a/recipes-kernel/kernel-modules/kernel-module-qca9377_2.0.bb 
b/recipes-kernel/kernel-modules/kernel-module-qca9377_2.0.bb
new file mode 100644
index 000..1b4f313
--- /dev/null
+++ b/recipes-kernel/kernel-modules/kernel-module-qca9377_2.0.bb
@@ -0,0 +1,5 @@
+require kernel-module-qcacld-lea.inc
+
+SUMMARY = "Qualcomm WiFi driver for QCA module 9377"
+
+EXTRA_OEMAKE += "${EXTRA_OEMAKE_QCA9377}"
diff --git a/recipes-kernel/kernel-modules/kernel-module-qcacld-lea.inc 
b/recipes-kernel/kernel-modules/kernel-module-qcacld-lea.inc
new file mode 100644
index 000..1284f24
--- /dev/null
+++ b/recipes-kernel/kernel-modules/kernel-module-qcacld-lea.inc
@@ -0,0 +1,53 @@
+# Copyright 2018 NXP
+
+SUMMARY = "Qualcomm WiFi driver for QCA module 9377"
+LICENSE = "BSD & GPLv2"
+LIC_FILES_CHKSUM = 
"file://CORE/HDD/src/wlan_hdd_main.c;beginline=1;endline=20;md5=ec8d62116b13db773825ebf7cf91be1d;"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/kernel-module-qcacld-lea:"
+SRC_URI = " \
+
git://source.codeaurora.org/external/wlan/qcacld-2.0;protocol=https;branch=C

[meta-freescale] [PATCH v2 43/43] imx-vpu: Clarify compatibility for Chips&Media VPU

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb 
b/recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb
index f0c9d5a..d886e30 100644
--- a/recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb
+++ b/recipes-bsp/imx-vpu/imx-vpu_5.4.38.bb
@@ -1,8 +1,8 @@
 # Copyright (C) 2013-2018 O.S. Systems Software LTDA.
 # Copyright (C) 2013-2016 Freescale Semiconductor
-# Copyright 2017 NXP
+# Copyright 2017-2018 NXP
 
-DESCRIPTION = "Freescale VPU library"
+DESCRIPTION = "Freescale Chips&Media VPU library"
 LICENSE = "Proprietary"
 LIC_FILES_CHKSUM = "file://COPYING;md5=75abe2fa1d16ca79f87cde926f05f72d"
 
@@ -32,4 +32,4 @@ do_install () {
 }
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_MACHINE = "(mx6)"
+COMPATIBLE_MACHINE = "(mx6q|mx6dl)"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 42/43] imx-test: Add i.MX 8 support

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 recipes-bsp/imx-test/imx-test/memtool_profile |  1 +
 recipes-bsp/imx-test/imx-test_git.bb  | 30 ++-
 2 files changed, 17 insertions(+), 14 deletions(-)
 create mode 100644 recipes-bsp/imx-test/imx-test/memtool_profile

diff --git a/recipes-bsp/imx-test/imx-test/memtool_profile 
b/recipes-bsp/imx-test/imx-test/memtool_profile
new file mode 100644
index 000..97d6f61
--- /dev/null
+++ b/recipes-bsp/imx-test/imx-test/memtool_profile
@@ -0,0 +1 @@
+complete -o nospace -C /unit_tests/memtool memtool
diff --git a/recipes-bsp/imx-test/imx-test_git.bb 
b/recipes-bsp/imx-test/imx-test_git.bb
index 0932d41..df3bdd1 100644
--- a/recipes-bsp/imx-test/imx-test_git.bb
+++ b/recipes-bsp/imx-test/imx-test_git.bb
@@ -8,34 +8,34 @@ SECTION = "base"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = 
"file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
 
-DEPENDS  = "virtual/kernel imx-lib alsa-lib"
+DEPENDS = "virtual/kernel imx-lib alsa-lib libdrm"
 
 PE = "1"
 PV = "7.0+${SRCPV}"
 
-SRCBRANCH = "imx_4.9.88_2.0.0_ga"
-SRCREV = "1f7da41b3a8d5dff8329d7b01b10d4d71144b43e"
+SRCBRANCH = "imx_4.9.88_imx8qxp_beta2"
 SRC_URI = " \
 
git://source.codeaurora.org/external/imx/imx-test.git;protocol=https;branch=${SRCBRANCH}
 \
 file://0001-test-Makefile-Add-include-path-to-CC-command.patch \
+file://memtool_profile \
 "
-
+SRCREV = "3a87347ae408ef0234314a279ee74d9b015f06be"
 S = "${WORKDIR}/git"
 
-
 inherit module-base
 
 INHIBIT_PACKAGE_STRIP = "1"
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
 
-PLATFORM_mx6q  = "IMX6Q"
-PLATFORM_mx6dl = "IMX6Q"
-PLATFORM_mx6sl = "IMX6SL"
+PLATFORM_mx6q   = "IMX6Q"
+PLATFORM_mx6dl  = "IMX6Q"
+PLATFORM_mx6sl  = "IMX6SL"
 PLATFORM_mx6sll = "IMX6SL"
-PLATFORM_mx6sx = "IMX6SX"
-PLATFORM_mx6ul = "IMX6UL"
-PLATFORM_mx7d  = "IMX7D"
-PLATFORM_mx7ulp  = "IMX7D"
+PLATFORM_mx6sx  = "IMX6SX"
+PLATFORM_mx6ul  = "IMX6UL"
+PLATFORM_mx7d   = "IMX7D"
+PLATFORM_mx7ulp = "IMX7D"
+PLATFORM_mx8= "IMX8"
 
 PARALLEL_MAKE = "-j 1"
 EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}"
@@ -73,10 +73,12 @@ do_install() {
 if [ -e ${WORKDIR}/clocks.sh ]; then
 install -m 755 ${WORKDIR}/clocks.sh ${D}/unit_tests/clocks.sh
 fi
+install -d -m 0755 ${D}/home/root/
+install -m 0644 ${WORKDIR}/memtool_profile ${D}/home/root/.profile
 }
 
-FILES_${PN} += "/unit_tests"
+FILES_${PN} += "/unit_tests /home/root/.profile"
 RDEPENDS_${PN} = "bash"
 
 FILES_${PN}-dbg += "/unit_tests/.debug"
-COMPATIBLE_MACHINE = "(mx6|mx7)"
+COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 41/43] imx-kobs: Add i.MX 8 support

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 recipes-bsp/imx-kobs/imx-kobs_git.bb | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/recipes-bsp/imx-kobs/imx-kobs_git.bb 
b/recipes-bsp/imx-kobs/imx-kobs_git.bb
index 4bd7726..864cbe5 100644
--- a/recipes-bsp/imx-kobs/imx-kobs_git.bb
+++ b/recipes-bsp/imx-kobs/imx-kobs_git.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.
 
 SUMMARY = "Nand boot write source"
@@ -8,12 +8,10 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
 
 PV = "5.5+git${SRCPV}"
-SRCREV = "c70685de47cfb67c5e16e1631b7033023ca3e97c"
-
 SRC_URI = "git://github.com/NXPmicro/imx-kobs.git;protocal=https \
file://0001-Add-missing-includes-as-pointed-out-by-musl.patch \
 "
-
+SRCREV = "a0e9adce2fb7fcd57e794d7f9a5deba0f94f521b"
 S = "${WORKDIR}/git"
 
 inherit autotools pkgconfig
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 40/43] formfactor: Add machconfig for 6SLL and 7ULP

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 recipes-bsp/formfactor/formfactor/mx6sll/machconfig | 11 +++
 recipes-bsp/formfactor/formfactor/mx7ulp/machconfig | 11 +++
 recipes-bsp/formfactor/formfactor_%.bbappend|  2 +-
 3 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 recipes-bsp/formfactor/formfactor/mx6sll/machconfig
 create mode 100644 recipes-bsp/formfactor/formfactor/mx7ulp/machconfig

diff --git a/recipes-bsp/formfactor/formfactor/mx6sll/machconfig 
b/recipes-bsp/formfactor/formfactor/mx6sll/machconfig
new file mode 100644
index 000..e3b99b7
--- /dev/null
+++ b/recipes-bsp/formfactor/formfactor/mx6sll/machconfig
@@ -0,0 +1,11 @@
+# Display options
+HAVE_TOUCHSCREEN=1
+HAVE_KEYBOARD=0
+
+#DISPLAY_CAN_ROTATE=0
+#DISPLAY_ORIENTATION=0
+#DISPLAY_WIDTH_PIXELS=1024
+#DISPLAY_HEIGHT_PIXELS=720
+#DISPLAY_BPP=16
+#DISPLAY_DPI=150
+#DISPLAY_SUBPIXEL_ORDER=vrgb
diff --git a/recipes-bsp/formfactor/formfactor/mx7ulp/machconfig 
b/recipes-bsp/formfactor/formfactor/mx7ulp/machconfig
new file mode 100644
index 000..25b18f2
--- /dev/null
+++ b/recipes-bsp/formfactor/formfactor/mx7ulp/machconfig
@@ -0,0 +1,11 @@
+# Display options
+HAVE_TOUCHSCREEN=0
+HAVE_KEYBOARD=0
+
+#DISPLAY_CAN_ROTATE=0
+#DISPLAY_ORIENTATION=0
+#DISPLAY_WIDTH_PIXELS=1024
+#DISPLAY_HEIGHT_PIXELS=720
+#DISPLAY_BPP=16
+#DISPLAY_DPI=150
+#DISPLAY_SUBPIXEL_ORDER=vrgb
diff --git a/recipes-bsp/formfactor/formfactor_%.bbappend 
b/recipes-bsp/formfactor/formfactor_%.bbappend
index 8c77b8d..96551f3 100644
--- a/recipes-bsp/formfactor/formfactor_%.bbappend
+++ b/recipes-bsp/formfactor/formfactor_%.bbappend
@@ -1,2 +1,2 @@
-# Append path for freescale to include costom matchconfig
+# Append path for i.MX custom machconfig
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 39/43] kernel-module-qca6174: Add support for QCA6174 on i.MX 8 Series

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 recipes-kernel/kernel-modules/kernel-module-qca6174_2.0.bb | 5 +
 recipes-kernel/kernel-modules/kernel-module-qcacld-lea.inc | 9 -
 2 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-qca6174_2.0.bb

diff --git a/recipes-kernel/kernel-modules/kernel-module-qca6174_2.0.bb 
b/recipes-kernel/kernel-modules/kernel-module-qca6174_2.0.bb
new file mode 100644
index 000..8f94938
--- /dev/null
+++ b/recipes-kernel/kernel-modules/kernel-module-qca6174_2.0.bb
@@ -0,0 +1,5 @@
+require kernel-module-qcacld-lea.inc
+
+SUMMARY = "Qualcomm WiFi driver for QCA module 6174"
+
+EXTRA_OEMAKE += "${EXTRA_OEMAKE_QCA6174}"
diff --git a/recipes-kernel/kernel-modules/kernel-module-qcacld-lea.inc 
b/recipes-kernel/kernel-modules/kernel-module-qcacld-lea.inc
index 1284f24..2b439f8 100644
--- a/recipes-kernel/kernel-modules/kernel-module-qcacld-lea.inc
+++ b/recipes-kernel/kernel-modules/kernel-module-qcacld-lea.inc
@@ -1,6 +1,6 @@
 # Copyright 2018 NXP
 
-SUMMARY = "Qualcomm WiFi driver for QCA module 9377"
+SUMMARY = "Qualcomm WiFi driver for QCA module 9377 and 6174"
 LICENSE = "BSD & GPLv2"
 LIC_FILES_CHKSUM = 
"file://CORE/HDD/src/wlan_hdd_main.c;beginline=1;endline=20;md5=ec8d62116b13db773825ebf7cf91be1d;"
 
@@ -43,6 +43,13 @@ EXTRA_OEMAKE_QCA9377 += " \
 MODNAME=qca9377 \
 SAP_AUTH_OFFLOAD=1 \
 "
+EXTRA_OEMAKE_QCA6174 = " \
+CONFIG_ROME_IF=pci \
+CONFIG_WLAN_FEATURE_11W=y \
+CONFIG_WLAN_FEATURE_FILS=y \
+CONFIG_WLAN_WAPI_MODE_11AC_DISABLE=y \
+MODNAME=qca6174 \
+"
 EXTRA_OEMAKE += " \
 CONFIG_CFG80211_INTERNAL_REGDB=y \
 CONFIG_HDD_WLAN_WAIT_TIME=1 \
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 37/43] qca-tools: Add fcc_tools

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 recipes-bsp/firmware-qca/qca-tools_2.0.bb | 22 ++
 1 file changed, 22 insertions(+)
 create mode 100644 recipes-bsp/firmware-qca/qca-tools_2.0.bb

diff --git a/recipes-bsp/firmware-qca/qca-tools_2.0.bb 
b/recipes-bsp/firmware-qca/qca-tools_2.0.bb
new file mode 100644
index 000..0fdb2ca
--- /dev/null
+++ b/recipes-bsp/firmware-qca/qca-tools_2.0.bb
@@ -0,0 +1,22 @@
+# Copyright 2018 NXP
+
+require firmware-qca.inc
+
+SUMMARY = "Qualcomm Wi-Fi and Bluetooth tools"
+DESCRIPTION = "Qualcomm Wi-Fi and Bluetooth tools for modules such as QCA6174A 
and QCA9377"
+LICENSE = "Proprietary"
+
+DEPENDS = "libnl zlib"
+
+FCC_TOOLS_FOLDER ?= "qca9377_qca6174_arm32"
+FCC_TOOLS_FOLDER_aarch64 = "qca9377_qca6174_arm64"
+
+do_install () {
+install -d ${D}${sbindir}/fcc_tools
+cp -r ${S}/fcc_tools/${FCC_TOOLS_FOLDER} ${D}${sbindir}/fcc_tools
+chmod 644 ${D}${sbindir}/fcc_tools/*
+}
+
+FILES_${PN} = " \
+${sbindir}/* \
+"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 36/43] firmware-qca6174: Add support for QCA6174 on i.MX 8 Series

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 conf/machine/include/imx-base.inc|  1 +
 recipes-bsp/firmware-qca/firmware-qca6174_2.0.bb | 27 
 2 files changed, 28 insertions(+)
 create mode 100644 recipes-bsp/firmware-qca/firmware-qca6174_2.0.bb

diff --git a/conf/machine/include/imx-base.inc 
b/conf/machine/include/imx-base.inc
index 0e85143..4eadf50 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -204,6 +204,7 @@ MACHINE_EXTRA_RRECOMMENDS_append_mx7d = " 
${@bb.utils.contains('DISTRO_FEATURES'
 MACHINE_EXTRA_RRECOMMENDS_append_mx7ulp = " 
${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}"
 
 # Extra QCA Wi-Fi & BTE driver and firmware
+MACHINE_EXTRA_RRECOMMENDS_append = " ${@bb.utils.contains('MACHINE_FEATURES', 
'qca6174', 'firmware-qca6174 kernel-module-qca6174 qca-tools', '', d)}"
 MACHINE_EXTRA_RRECOMMENDS_append = " ${@bb.utils.contains('MACHINE_FEATURES', 
'qca9377', 'firmware-qca9377 kernel-module-qca9377 qca-tools', '', d)}"
 
 # Extra udev rules
diff --git a/recipes-bsp/firmware-qca/firmware-qca6174_2.0.bb 
b/recipes-bsp/firmware-qca/firmware-qca6174_2.0.bb
new file mode 100644
index 000..462bf2e
--- /dev/null
+++ b/recipes-bsp/firmware-qca/firmware-qca6174_2.0.bb
@@ -0,0 +1,27 @@
+# Copyright 2018 NXP
+
+require firmware-qca.inc
+
+SUMMARY = "Qualcomm Wi-Fi and Bluetooth firmware"
+DESCRIPTION = "Qualcomm Wi-Fi and Bluetooth firmware for modules such as 
QCA6174A"
+SECTION = "base"
+LICENSE = "Proprietary"
+
+inherit allarch
+
+do_install () {
+# Install firmware.conf for QCA modules
+install -d ${D}${sysconfdir}/bluetooth
+install -m 644 ${S}/1CQ_QCA6174A_LEA_2.0/etc/bluetooth/firmware.conf 
${D}${sysconfdir}/bluetooth
+
+# Install firmware files
+install -d ${D}${base_libdir}
+cp -r ${S}/1CQ_QCA6174A_LEA_2.0/lib/firmware ${D}${base_libdir}
+}
+
+FILES_${PN} = " \
+${sysconfdir}/bluetooth/firmware.conf \
+${base_libdir}/firmware/qca6174 \
+${base_libdir}/firmware/wlan \
+${base_libdir}/firmware/* \
+"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH v2 30/43] alsa-state: Add new codecs for i.MX 8M

2018-08-06 Thread Tom Hochstein
Add support for AK4458, AK5558, and AK4497.

Signed-off-by: Tom Hochstein 
---
 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 -999
+   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 -999
+   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 -999
+   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 -999
+   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 -999
+   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 -999
+   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 -999
+   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 -999
+   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'
+   valu

[meta-freescale] [PATCH v2 33/43] firmware-imx: Add support for BCM4356 and BCM89359

2018-08-06 Thread Tom Hochstein
Signed-off-by: Tom Hochstein 
---
 recipes-bsp/firmware-imx/firmware-imx_7.6.bb | 9 +
 1 file changed, 9 insertions(+)

diff --git a/recipes-bsp/firmware-imx/firmware-imx_7.6.bb 
b/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
index 4f75ac0..6c5f73c 100644
--- a/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
+++ b/recipes-bsp/firmware-imx/firmware-imx_7.6.bb
@@ -39,12 +39,21 @@ do_install() {
 cp -rfv git/brcm/1BW_BCM43340/*.cal 
${D}${base_libdir}/firmware/bcm/1BW_BCM43340
 cp -rfv git/brcm/1BW_BCM43340/*.hcd ${D}${sysconfdir}/firmware/
 
+#1CX_BCM4356
+install -d ${D}${base_libdir}/firmware/bcm/1CX_BCM4356
+cp -rfv git/brcm/1CX_BCM4356/fw_bcmdhd.bin 
${D}${base_libdir}/firmware/bcm/1CX_BCM4356
+
 #1DX_BCM4343W
 install -d ${D}${base_libdir}/firmware/bcm/1DX_BCM4343W
 cp -rfv git/brcm/1DX_BCM4343W/*.bin 
${D}${base_libdir}/firmware/bcm/1DX_BCM4343W
 cp -rfv git/brcm/1DX_BCM4343W/*.cal 
${D}${base_libdir}/firmware/bcm/1DX_BCM4343W
 cp -rfv git/brcm/1DX_BCM4343W/*.hcd ${D}${sysconfdir}/firmware/
 
+#1FD_BCM89359
+install -d ${D}${base_libdir}/firmware/bcm/1FD_BCM89359
+cp -rfv git/brcm/1FD_BCM89359/*.bin 
${D}${base_libdir}/firmware/bcm/1FD_BCM89359
+cp -rfv git/brcm/1FD_BCM89359/*.hcd ${D}${sysconfdir}/firmware/
+
 #SN8000_BCM43362
 install -d ${D}${base_libdir}/firmware/bcm/SN8000_BCM43362
 cp -rfv git/brcm/SN8000_BCM43362/*.bin 
${D}${base_libdir}/firmware/bcm/SN8000_BCM43362
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


  1   2   3   4   5   >