]> code.ossystems Code Review - meta-freescale.git/log
meta-freescale.git
7 years agoMerge remote-tracking branch 'yocto/morty' into morty+ossystems morty+ossystems
Otavio Salvador [Thu, 9 Nov 2017 12:36:41 +0000 (10:36 -0200)]
Merge remote-tracking branch 'yocto/morty' into morty+ossystems

* yocto/morty:
  Remove $COREBASE/LICENSE from LIC_FILES_CHKSUM
  imx-uuc: Bump revision to 1de598e7
  image_types_fsl: fix for dtb filenames containing multiple dots

7 years agoRemove $COREBASE/LICENSE from LIC_FILES_CHKSUM
Chunrong Guo [Mon, 4 Sep 2017 05:32:45 +0000 (13:32 +0800)]
Remove $COREBASE/LICENSE from LIC_FILES_CHKSUM

Several recipes reference the LICENSE file in their LIC_FILES_CHKSUM variable as ${COREBASE}/LICENSE.
This forces distribution providers to keep this file verbatim or to overload the affected recipes.
The section "Moving to the Yocto Project 1.6 Release" in the Yocto manual suggests removing the LICENSE file where possible.

Remove LICENSE in cases where COPYING.MIT is also given and replace LICENSE with COPYING.MIT if the former was the only entry.
All modified recipes specify LICENSE = "MIT" and none of the in-tree files specify a different license either.

As the packages do not change (the license files are not contained in them), do not increase PR.

(From OE-Core rev: 0059e0661826c857a07c862bcb46162671e0e330)

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
7 years agoimx-uuc: Bump revision to 1de598e7
Otavio Salvador [Wed, 30 Aug 2017 19:34:26 +0000 (16:34 -0300)]
imx-uuc: Bump revision to 1de598e7

This includes following changes:

1de598e Merge pull request #5 from lijunone/master
a5a05da Update linuxrc
61a1449 Merge pull request #4 from mhei/fixes
af76f6a uuc: fix format nitpick
f8d0c75 uu.c: fix compiler warnings for unused variables
625c36e Merge pull request #2 from mhei/fixes
e6304a7 Merge pull request #3 from lijunone/master
c342fb0 linuxrc: add utp mass storage setup via configfs
f9a8e97 uuc: fix some compiler warnings
65d8bf7 sdimage: use fsync before closing the device
a977121 Add travis hint
03d64cf Small Makefile improvements
9a8c844 sdimage: no need to open image file R/W
592fdb6 sdimage: fix partition size check
3d4b3fa Add a .gitignore with the binaries sdimage and uuc
86e0a1b sdimage: move BCB header to 4 sector offset
2fa75b4 uuc: fix format warnings
f64baff Honour CFLAGS
85a0b23 sdimage: add includes to prevent warnings

Change-Id: I7e81dd0d4666d00b76be3d78982ef2b1bd039b53
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
7 years agoimage_types_fsl: fix for dtb filenames containing multiple dots
Max Krummenacher [Sun, 27 Aug 2017 10:22:43 +0000 (12:22 +0200)]
image_types_fsl: fix for dtb filenames containing multiple dots

In _generate_boot_image(), if a dtb file has more than one dot the
current logic fails. e.g. 'device.tree.dtb' will be truncated at the
first dot to 'device' while it should be 'device.tree'.

Fix by removing awk in favour of letting basename also remove
the .dtb extension.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
7 years agogstreamer: Add new uploader and GBM GL backend for video playback via GL 28/15828/1
Carlos Rafael Giani [Mon, 12 Jun 2017 22:27:20 +0000 (00:27 +0200)]
gstreamer: Add new uploader and GBM GL backend for video playback via GL

Change-Id: I711bf82193279070d922ce6e2427268ce8989aac
Signed-off-by: Carlos Rafael Giani <dv7777@gmail.com>
7 years agoMerge remote-tracking branch 'yocto/morty' into morty+ossystems
Otavio Salvador [Tue, 23 May 2017 01:28:57 +0000 (22:28 -0300)]
Merge remote-tracking branch 'yocto/morty' into morty+ossystems

* yocto/morty:
  imx-kobs: Fix a typo
  mesa: fix configuration rewrite
  imx-kobs: Fix build with musl
  imx-kobs: Pick up new commit as fix-compile patch is merged
  classes/image_types_fsl: Fix mxsboot image generation
  imx-base: Fix uboot.mxsboot-sdcard IMAGE_FSTYPES name
  fsl-kernel-localversion: Add preconfigure dependency on do_unpack

7 years agoimx-kobs: Fix a typo
Khem Raj [Fri, 19 May 2017 17:17:26 +0000 (10:17 -0700)]
imx-kobs: Fix a typo

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
7 years agomesa: fix configuration rewrite
Matt Madison [Tue, 16 May 2017 15:15:10 +0000 (08:15 -0700)]
mesa: fix configuration rewrite

to change just the PACKAGECONFIG[x11] setting (without
expansion), instead of overwriting EXTRA_OECONF (with
expansion).

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
7 years agoimx-kobs: Fix build with musl
Khem Raj [Thu, 11 May 2017 16:57:46 +0000 (09:57 -0700)]
imx-kobs: Fix build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
7 years agoimx-kobs: Pick up new commit as fix-compile patch is merged
Jun Zhu [Wed, 10 May 2017 08:24:07 +0000 (16:24 +0800)]
imx-kobs: Pick up new commit as fix-compile patch is merged

The patch is merged to the new version of imx-kobs. So pick up
the new version and remove the patch file.

Signed-off-by: Jun Zhu <junzhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
7 years agoclasses/image_types_fsl: Fix mxsboot image generation
Fabio Berton [Fri, 28 Apr 2017 12:16:54 +0000 (09:16 -0300)]
classes/image_types_fsl: Fix mxsboot image generation

>From OE-Core commit 8a9f249a9166347cc0468191ce130003e3d306e1:

    If image type "foo" depends on image type "bar.xz", then dependencies
    should be collected from the base image type (ie "IMAGE_DEPENDS_bar")
    not from "IMAGE_DEPENDS_bar.xz".

IMAGE_DEPENDS_uboot.mxsboot-sdcard has uboot as base image type and
IMAGE_DEPENDS_uboot.mxsboot-sdcard = "foo" never will run.
Changing IMAGE_FSYPES to uboot-mxsboot-sdcard fix this issue and base
base will be uboot-mxsboot-sdcard.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
7 years agoimx-base: Fix uboot.mxsboot-sdcard IMAGE_FSTYPES name
Fabio Berton [Fri, 28 Apr 2017 12:16:53 +0000 (09:16 -0300)]
imx-base: Fix uboot.mxsboot-sdcard IMAGE_FSTYPES name

>From OE-Core commit 8a9f249a9166347cc0468191ce130003e3d306e1:

    If image type "foo" depends on image type "bar.xz", then dependencies
    should be collected from the base image type (ie "IMAGE_DEPENDS_bar")
    not from "IMAGE_DEPENDS_bar.xz".

IMAGE_DEPENDS_uboot.mxsboot-sdcard has uboot as base image type and
IMAGE_DEPENDS_uboot.mxsboot-sdcard = "foo" never will run.
Changing IMAGE_FSYPES to uboot-mxsboot-sdcard fix this issue and base
base will be uboot-mxsboot-sdcard.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
7 years agofsl-kernel-localversion: Add preconfigure dependency on do_unpack
Mats Karrman [Wed, 26 Apr 2017 22:23:18 +0000 (00:23 +0200)]
fsl-kernel-localversion: Add preconfigure dependency on do_unpack

Even if 'externalsrc' is used, SRC_URI may specify a 'defconfig'.
However as the use of 'externalsrc' will do away with the do_patch
task, do_preconfigure is in risk of being run before the defconfig
is copied to the build directory. This patch adds a second dependency
on 'do_unpack' that makes sure this does not happen.

Signed-off-by: Mats Karrman <mats.dev.list@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoMerge remote-tracking branch 'yocto/morty' into morty+ossystems
Otavio Salvador [Tue, 25 Apr 2017 13:44:33 +0000 (10:44 -0300)]
Merge remote-tracking branch 'yocto/morty' into morty+ossystems

* yocto/morty:
  linux-fslc: Bump revision to b69ecd63c123

8 years agolinux-fslc: Bump revision to b69ecd63c123
Fabio Berton [Tue, 11 Apr 2017 21:29:57 +0000 (18:29 -0300)]
linux-fslc: Bump revision to b69ecd63c123

This commit merge tag v4.9.21 into 4.9.x+fslc and add the
following change on top:

  - b69ecd63c123 dt-bindings: Add a binding for Video Data Order Adapter

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agomesa: Update to version 17.0.4 04/14704/2
Fabio Berton [Thu, 20 Apr 2017 19:47:41 +0000 (16:47 -0300)]
mesa: Update to version 17.0.4

This commit apply bug fixes found in both mesa 17.0.2 and mesa 17.0.3
releases.

  - Mesa 17.0.4 is a bug fix release which fixes the following bugs
    found since the 17.0.3 release:

      Bug 99515  - SIGSEGV MAPERR on Android nougat-x86 with mesa 17.0.0rc
      Bug 100391 - SachaWillems deferredmultisampling asserts
      Bug 100452 - push_constants host memory leak when resetting command buffer
      Bug 100582 - [GEN8+] piglit.spec.arb_stencil_texturing.glblitframebuffer
                   corrupts state.gl_texture* assertions

  - Mesa 17.0.3 is a bug fix release which fixes the following bugs
    found since the 17.0.2 release:

      Bug 96743  - [BYT, HSW, SKL, BXT, KBL] GPU hangs with GfxBench 4.0 CarChase
      Bug 99246  - [d3dadapter+radeonsi & bisect] EVE-Online : hang on wormhole sight
      Bug 100061 - LODQ instruction generated with invalid dst mask
      Bug 100182 - Flickering in The Talos Principle on Sky Lake GT4.
      Bug 100201 - Windows scons build with MSVC toolchain and LLVM 4.0 fails

Change-Id: Id48bd553e8f0d15ed798fcbbdcd0eeaf2337f108
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
8 years agokmscube: Add patches for better GStreamer support and for YUY2 support
Carlos Rafael Giani [Tue, 11 Apr 2017 07:33:04 +0000 (09:33 +0200)]
kmscube: Add patches for better GStreamer support and for YUY2 support

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agokmscube: add recipe
Carlos Rafael Giani [Mon, 10 Apr 2017 19:41:33 +0000 (21:41 +0200)]
kmscube: add recipe

This is a useful tool to test KMS and GBM-based EGL & OpenGL ES drawing

Change-Id: I23d276759c5bc1bec017956070da4ced6352d9eb
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agomesa: Add patches for RGBA support, YUV, and for resource_changed
Carlos Rafael Giani [Mon, 10 Apr 2017 18:53:42 +0000 (20:53 +0200)]
mesa: Add patches for RGBA support, YUV, and for resource_changed

Patches 1-14 add support for RGBA-swapped formats and were ported from
https://github.com/austriancoder/mesa/commits/shader-variants

Patch 15 is an experimental patch to enable MESA_ycbcr support. Might not
be needed later on.

Patches 16-19 are needed to make sure new video frames are streamed into
the GPU when using DMABUF FDs.

WIP-st-dri-Allow-YUYV-import is an experimental patch to make use of the
Vivante GPU's hardwired YUV->RGB converter. A clean implementation of this
feature might require MESA_ycbcr or a derivative of that, but for now, this
patch works.

etnaviv-increment-the-resource-seqno-in-resource_changed.patch is a patch
for non-external textures recommended by Philipp Zabel. Does not affect
external EGLimage textures.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoBackport recipes required for Etnaviv use
Otavio Salvador [Thu, 9 Mar 2017 17:50:47 +0000 (14:50 -0300)]
Backport recipes required for Etnaviv use

This does the backport of recipes required for Etnaviv to work. The
backported recipes are:

 - libdrm 2.4.75
 - mesa 17.0.1

Change-Id: I1f131f115c92fb767d1ddf2fd136bdc80ca15fee
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc: Bump revision to b69ecd63c123
Fabio Berton [Tue, 11 Apr 2017 21:29:57 +0000 (18:29 -0300)]
linux-fslc: Bump revision to b69ecd63c123

This commit merge tag v4.9.21 into 4.9.x+fslc and add the
following change on top:

  - b69ecd63c123 dt-bindings: Add a binding for Video Data Order Adapter

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc: Bump recipe to 4a2e3a368083 revision
Otavio Salvador [Thu, 23 Mar 2017 17:12:54 +0000 (14:12 -0300)]
linux-fslc: Bump recipe to 4a2e3a368083 revision

This backports many changes, the included commits are:

4a2e3a368083 coda: enable with COMPILE_TEST
e8dd8f5bb0d6 coda: restore original firmware locations
d17404963398 coda: disable reordering for baseline profile h.264 streams
0425550b2cc4 coda: pad first h.264 buffer to 512 bytes
30a25c7a1c11 coda: keep queued buffers on a temporary list during start_streaming
6aedf08faa46 coda: Use && instead of & for non-bitfield conditions
8c303b8eb07f coda: disable BWB for all codecs on CODA 960
7c0c3cacae5a coda: implement encoder stop command
c2f021d1762f [media] coda/imx-vdoa: constify structs
571d9a3398f4 [media] coda: add Freescale firmware compatibility location
2ab09ed38709 Revert "[media] coda/imx-vdoa: constify structs"
f3f7ca7ea33e [media] coda: support YUYV output if VDOA is used
de26a60384a7 [media] coda: use VDOA for un-tiling custom macroblock format
9c020c7889cc [media] coda: fix frame index to returned error
9b69cb0e9b5f [media] coda: add debug output about tiling
c2943da78e15 [media] coda: correctly set capture compose rectangle
fa1cbc7881eb [media] coda/imx-vdoa: constify structs
feb6ccfa4db7 [media] coda: add i.MX6 VDOA driver
eae25c1e912a [media] coda: fix the error path in coda_probe()
40e83b4ae508 [media] coda: add missing header dependencies
62c95d073f57 ARM: dts: imx6qdl-nitrogen6x: add missing USB PHY reset control
719b9f294d76 ARM: dts: imx6qdl-sabrelite: add missing USB PHY reset control
4ffcf8c7c60c drm/panel: simple: Add support for Tianma TM070JDHG30
7790c716544c of: Add vendor prefix for Tianma Micro-electronics
2c9fabdd9ba8 ARM: dts: imx6qdl-nitrogen6_som2: fix sgtl5000 pinctrl init
537158e11b5b ARM: dts: imx6qdl-nitrogen6x: remove duplicate iomux entry
ca9533a30121 ARM: dts: boundary: remove hardcoded LVDS bus format
6fa5cb82aa9e pinctrl: imx: use radix trees for groups and functions
39c6395a5116 pinctrl: imx: remove const qualifier of imx_pinctrl_soc_info
f0906c3e92ed ARM: dts: imx6qdl-nitrogen6_max: use hyphens for nodes name
e88dc9d21208 ARM: dts: imx6qdl-nit6xlite: use hyphens for nodes name
0056c5e39d01 ARM: dts: imx6qdl-nitrogen6x: use hyphens for nodes name
470019dea0da ARM: dts: imx6qdl-sabrelite: use hyphens for nodes name
404a65b0f5ff ARM: dts: imx: add Boundary Devices Nitrogen6_SOM2 support
8ed001e651a4 drm/etnaviv: always flush MMU TLBs on map/unmap
eda85482ab61 drm/etnaviv: constify etnaviv_iommu_ops structures
c4a322ce176e drm/etnaviv: set up initial PULSE_EATER register
e7147fcbe4b0 drm/etnaviv: add new GC3000 sensitive states
224462a9ba20 drm/etnaviv: Remove etnaviv_debugfs_cleanup()
3b6d4ad2e259 drm/etnaviv: Use drm_dev_unref, not drm_put_dev
c095eb593edd drm/etnaviv: trick drm_mm into giving out a low IOVA
7d872907c0f0 drm/etnaviv: move linear window on MC1.0 parts if necessary
619586d45f05 drm/etnaviv: don't invoke OOM killer from dump code
201064234ea0 drm/etnaviv: fix gem_prime_get_sg_table to return new SG table
089369cb1167 drm/etnaviv: Allow DRAW_INSTANCED commands
df310c458873 drm/etnaviv: implement dma-buf mmap
11325b1e8736 drm/etnaviv: Remove manual call to reservation_object_test_signaled_rcu before wait

Change-Id: I25fbf56e982ea71d7ab87650c6f5d91fd0505bd9
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoqtbase: Add 'use-mainline-bsp' support
Otavio Salvador [Tue, 14 Mar 2017 20:01:45 +0000 (17:01 -0300)]
qtbase: Add 'use-mainline-bsp' support

This configures the Qt to use the OpenGL ES2 and KMS backend for the
'use-mainline-bsp' case. It also includes a fix for the font rendering
issue found when using Etnaviv which were used for Android-based
platforms but now being enabled for all EGL based systems.

Change-Id: Icdfd2a01836a90bcedbe1665ab3a0733ed505eff
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agomesa: Enable Etnaviv support when using 'use-mainline-bsp' override
Otavio Salvador [Thu, 9 Mar 2017 19:50:02 +0000 (16:50 -0300)]
mesa: Enable Etnaviv support when using 'use-mainline-bsp' override

This enables the Gallium backend and its Etnaviv driver.

Change-Id: I8557932299f54d77d10015ea125cd26322c7c07b
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimx-base.inc: Add 'use-mainline-bsp' override support
Otavio Salvador [Thu, 23 Mar 2017 14:57:59 +0000 (11:57 -0300)]
imx-base.inc: Add 'use-mainline-bsp' override support

The 'use-mainline-bsp' makes use of
MAACHINEOVERRIDES_EXTENDER_FILTER_OUT variable and currently filters
out the i.MX 6 and i.MX 7 overrides, ensuring we use the pristine
support for all metadata.

This commit does most changes related to initial mainline support for
Etnaviv and Video4Linux VPU support using CODA.

Change-Id: Idcb3e4f9c3bc46d4c066dea3c0388f821ab2d3ec
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agomachine-overrides-extender.bbclass: Add filter out support
Otavio Salvador [Thu, 23 Mar 2017 14:54:46 +0000 (11:54 -0300)]
machine-overrides-extender.bbclass: Add filter out support

The allow easier enablement of mainline BSP support, we need to allow
for specific overrides to be filtered out, before and during the
extending process.

The new MACHINEOVERRIDES_EXTENDER_FILTER_OUT variable does exactly
this and will be used in a subsequent commit to enable the
'use-mainline-bsp' override.

Change-Id: Ieaec9d5eb27ccc73b7b0097cb365c519978bd080
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc: bump longterm branch 4.4.x to 4.4.56
Oliver Graute [Wed, 29 Mar 2017 16:17:07 +0000 (18:17 +0200)]
linux-fslc: bump longterm branch 4.4.x to 4.4.56

This is the Longterm supported Linux kernel branch 4.4.x

this bump linux-fslc 4.4.x to 4.4.56

Signed-off-by: Oliver Graute <oliver.graute@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc: Bump to c3825da143fc revision
Otavio Salvador [Fri, 10 Mar 2017 19:44:23 +0000 (16:44 -0300)]
linux-fslc: Bump to c3825da143fc revision

This merges the 4.9.17 stable release and syncs the defconfig with
current version.

Change-Id: Ie2da831ef26817f6339e458860d1f64950f17e98
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agofirmware-imx: Change recipe for allarch
Otavio Salvador [Tue, 14 Mar 2017 19:58:34 +0000 (16:58 -0300)]
firmware-imx: Change recipe for allarch

The recipe content does not vary from one board to another so there is
no reason to use SoC arch or machine arch as package architecture.

The recipe generates multiple binary packages which makes it easy for
users to choose what to install.

Change-Id: Ia5f87f9f19e734607275fb2e9020c8b3096de0ad
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoudev: remove eudev_%.bbappend and associated patch since it's no longer required
Bob Cochran [Wed, 15 Mar 2017 20:15:32 +0000 (16:15 -0400)]
udev: remove eudev_%.bbappend and associated patch since it's no longer required

Commit d2313434 already exists in eudev to prevent udev from managing
an MMC Replay-protected memory block (RPMB)

Testing of an LS1021A-TWR & eMMC 4.51 with master branches of poky and
meta-freescale minus the patch to 60-persistent-storage.rules
confirmed that udev ignores mmcblk0rpmb on boot.

referenced upstream patch:

https://github.com/gentoo/eudev/commit/d2313434acc1cf5387637e72f76c2ebe36d523e1

Change-Id: Ib91aed741d18a87081e82e7c71e36363bb8b3939
Signed-off-by: Bob Cochran <yocto@mindchasers.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoopenssl: use linux-aarch64 target for aarch64
Mircea Pop [Tue, 14 Mar 2017 09:32:03 +0000 (17:32 +0800)]
openssl: use linux-aarch64 target for aarch64

Update is required in order to exploit the ARM-CE primitives available on
ARMv8 platfom. Performance goes from 6 Gbps to 60Gbps for 8K frame length

Signed-off-by: Mircea Pop <mircea.pop@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoinit-ifupdown: use consistent interfaces for qoriq
Ting Liu [Tue, 14 Mar 2017 09:32:02 +0000 (17:32 +0800)]
init-ifupdown: use consistent interfaces for qoriq

Let all qoriq boards share the same interfaces file, no difference
between qoriq-ppc and qoriq-arm.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimx-usb-loader_git: add pkgconfig to inherit
Max Krummenacher [Mon, 13 Mar 2017 22:38:08 +0000 (23:38 +0100)]
imx-usb-loader_git: add pkgconfig to inherit

imx-usb-loader_git uses pkg-config in its Makefile.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agomxsldr_git: add pkgconfig to inherit
Max Krummenacher [Mon, 13 Mar 2017 22:38:07 +0000 (23:38 +0100)]
mxsldr_git: add pkgconfig to inherit

mxsldr_git uses pkg-config in its Makefile.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc-imx-rt: Update checksums for realtime patch
Dominic Sacré [Mon, 13 Mar 2017 17:55:29 +0000 (18:55 +0100)]
linux-fslc-imx-rt: Update checksums for realtime patch

The gzip-compressed patch on the server has again been replaced by a
file with the same contents, but different checksums.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc: Update to 4.9-based fork
Fabio Berton [Thu, 9 Mar 2017 20:38:57 +0000 (17:38 -0300)]
linux-fslc: Update to 4.9-based fork

This upgrades the Linux kernel to the 4.9.13 release.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimx-gpu-viv: Fix build break for missing gl headers
Tom Hochstein [Tue, 7 Mar 2017 01:19:42 +0000 (19:19 -0600)]
imx-gpu-viv: Fix build break for missing gl headers

For x11 graphics and Wayland graphics with XWayland support, a build
break is possible due to missing headers. This is because imx-gpu-viv
does not provide everything it needs to for virtual/libgl and depends
on mesa to fill in what is missing. Adding a dependency on mesa
fixes the build break.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoxf86-video-imxfb-vivante: cleanup
Max Krummenacher [Tue, 7 Mar 2017 00:26:16 +0000 (01:26 +0100)]
xf86-video-imxfb-vivante: cleanup

The build starts since commit meta-fsl-arm da0581341a58dfe393a829b3c402330c73589963
with the make file in ${S} which is actually named Makefile, thus there is no
need to override base.do_compile or pass the directory and name of the
make file in EXTRA_OEMAKE.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoxorg-driver: remove the local copies of xorg-driver-*.inc
Max Krummenacher [Tue, 7 Mar 2017 00:26:15 +0000 (01:26 +0100)]
xorg-driver: remove the local copies of xorg-driver-*.inc

recipes-graphics/xorg-driver/xorg-driver-common.inc is identical to the copy
in openembedded-core.
xorg-driver-video.inc lacks the automatic addition of xorg-driver-abi-<ABI>
to RDEPENDS. (and constructs DEPENDS differently but with the same effect)

xf86-video-fbdev must now provide the full relative path for its include file.

fixes:
WARNING: xf86-video-imxfb-vivante-3_5.0.11.p8.6-r0 do_package_qa: QA Issue:
  Package xf86-video-imxfb-vivante contains Xorg driver (vivante_drv.so)
  but no xorg-abi- dependencies [xorg-driver-abi]

and likely but not tested fixes the same warning for xf86-video-fbdev used
for PPC devices.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agogstreamer1.0-plugins-imx: add pkgconfig to inherit
Max Krummenacher [Fri, 3 Mar 2017 19:48:44 +0000 (20:48 +0100)]
gstreamer1.0-plugins-imx: add pkgconfig to inherit

The wscript file uses conf.check_cfg which in turn uses pkg-config.
Fixes configure error triggered now with recipe specific sysroot.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc: bump to linux-fslc 4.4.48
Oliver Graute [Fri, 24 Feb 2017 16:50:14 +0000 (17:50 +0100)]
linux-fslc: bump to linux-fslc 4.4.48

this bump linux-fslc 4.4.x to 4.4.48

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agochange-file-endianess: Rework recipe completely
Otavio Salvador [Thu, 9 Mar 2017 14:34:11 +0000 (11:34 -0300)]
change-file-endianess: Rework recipe completely

The recipe was mixing different concepts. It is intended to provide a
TCL script to change the endianess of files and the recipe was
conceptually wrong.

The use of the deploy class is wrong as it is not an artifact that is
going to be used to install a board but a tool required for
development (so the need of native and nativesdk variants).

Change-Id: I5ebb063fa1c57a8c7c307314ac6322abfa88d33c
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoppa: Add dtc-native on DEPENDS
chunrong.guo@nxp.com [Fri, 17 Feb 2017 06:53:33 +0000 (14:53 +0800)]
ppa: Add dtc-native on DEPENDS

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc-imx-rt: Update realtime patch to 4.1.38-rt45
Dominic Sacré [Wed, 15 Feb 2017 14:58:01 +0000 (15:58 +0100)]
linux-fslc-imx-rt: Update realtime patch to 4.1.38-rt45

This fixes another build issue, because the md5/sha256 checksums of the
previous version of the realtime patch had changed on the server again.

This issue was a side-effect of the way the RT patches are published on
kernel.org, and should be resolved now.

Switch to using KERNELORG_MIRROR.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agokernel-module-imx-gpu-viv: Bump revision to a05d9b2
Fabio Berton [Tue, 14 Feb 2017 11:31:48 +0000 (09:31 -0200)]
kernel-module-imx-gpu-viv: Bump revision to a05d9b2

This includes following changes:

  - a05d9b2 Merge pull request #6 from aridet/patch-1
  - 6a01dfb fix for memory leak in gc_hal_kernel_os.c

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoweston: Fix patch for no input device handling 2.2
Tom Hochstein [Wed, 8 Feb 2017 17:07:27 +0000 (11:07 -0600)]
weston: Fix patch for no input device handling

The previous patch had a logic error. The upstream submission
was correct, so this just synchronizes the patch.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc-imx-rt: Bump revision to ee67fc7e072d
Dominic Sacré [Tue, 7 Feb 2017 23:26:54 +0000 (00:26 +0100)]
linux-fslc-imx-rt: Bump revision to ee67fc7e072d

Align version with linux-fslc-imx recipe, and update RT patch to
4.1.37-rt43.

This also fixes a build failure, because the checksum of the previous
version of the compressed RT patch had changed on the server.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoUpdate machine description fields
Daiane Angolini [Thu, 2 Feb 2017 12:44:19 +0000 (10:44 -0200)]
Update machine description fields

Change description fields from Freescale to NXP in machine files to align to
2016 corporate transfer to NXP.

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agochange-file-endianess: update do_deploy_class-native so it finds byte_swap.tcl
Bob Cochran [Sun, 5 Feb 2017 03:36:00 +0000 (22:36 -0500)]
change-file-endianess: update do_deploy_class-native so it finds byte_swap.tcl

Modify do_deply_class-native task to copy byte_swap.tcl from top of working directory ${S} rather than ${STAGING_BINDIR_NATIVE} since file isn’t found at current location and this causes a “No such file or directory” error.

Signed-off-by: Bob Cochran <yocto@mindchasers.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoRevert "qoriq-base, imx-base: Allow DISTRO and local.conf override of IMAGE_FSTYPES" morty-next
Otavio Salvador [Wed, 1 Feb 2017 13:02:06 +0000 (11:02 -0200)]
Revert "qoriq-base, imx-base: Allow DISTRO and local.conf override of IMAGE_FSTYPES"

The IMAGE_FSTYPES is set in bitbake.conf as ?= so we cannot use the
weak assingment here. This brings back the image generation using the
standard set for the BSP but we will need to investigate a solution
for the distro overriding issue.

Change-Id: I57cda5eb894330ad857b0bca44a8a987dc06afb2
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agomachine: Change maintainer email to nxp.com for Daiane Angolini
Daiane Angolini [Wed, 25 Jan 2017 16:03:50 +0000 (14:03 -0200)]
machine: Change maintainer email to nxp.com for Daiane Angolini

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimx6ulevk: Add mx6 in the MACHINEOVERRIDES set
Otavio Salvador [Tue, 24 Jan 2017 12:46:50 +0000 (10:46 -0200)]
imx6ulevk: Add mx6 in the MACHINEOVERRIDES set

The i.MX 6UL was dealt in a specific way due the metadata not being
fully ported still to the feature overrides set; now that most
metadata has been converted it is the right time to add the mx6 SoC
family here as well.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimx-parser: Remove i.MX 6UL specific metadata
Fabio Berton [Wed, 25 Jan 2017 15:57:46 +0000 (13:57 -0200)]
imx-parser: Remove i.MX 6UL specific metadata

The SoC is now dealt as a i.MX6 SoC so there is no need for the
specific metadata.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimx-codec: Remove i.MX 6UL specific metadata
Fabio Berton [Wed, 25 Jan 2017 13:44:59 +0000 (11:44 -0200)]
imx-codec: Remove i.MX 6UL specific metadata

The SoC is now dealt as a i.MX6 SoC so there is no need for the
specific metadata.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-imx: Remove i.MX 6UL specific metadata
Fabio Berton [Wed, 25 Jan 2017 13:44:35 +0000 (11:44 -0200)]
linux-imx: Remove i.MX 6UL specific metadata

The SoC is now dealt as a i.MX6 SoC so there is no need for the
specific metadata.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agou-boot-imx: Remove i.MX 6UL specific metadata
Fabio Berton [Wed, 25 Jan 2017 13:44:01 +0000 (11:44 -0200)]
u-boot-imx: Remove i.MX 6UL specific metadata

The SoC is now dealt as a i.MX6 SoC so there is no need for the
specific metadata.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agou-boot-fslc: Remove i.MX 6UL specific metadata
Fabio Berton [Wed, 25 Jan 2017 13:43:26 +0000 (11:43 -0200)]
u-boot-fslc: Remove i.MX 6UL specific metadata

The SoC is now dealt as a i.MX6 SoC so there is no need for the
specific metadata.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimx-test: Remove i.MX 6UL specific metadata
Fabio Berton [Wed, 25 Jan 2017 13:42:53 +0000 (11:42 -0200)]
imx-test: Remove i.MX 6UL specific metadata

The SoC is now dealt as a i.MX6 SoC so there is no need for the
specific metadata.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimx-lib: Remove i.MX 6UL specific metadata
Fabio Berton [Wed, 25 Jan 2017 13:42:18 +0000 (11:42 -0200)]
imx-lib: Remove i.MX 6UL specific metadata

The SoC is now dealt as a i.MX6 SoC so there is no need for the
specific metadata.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agofirmware-imx: Remove i.MX 6UL specific metadata
Fabio Berton [Wed, 25 Jan 2017 13:41:08 +0000 (11:41 -0200)]
firmware-imx: Remove i.MX 6UL specific metadata

The SoC is now dealt as a i.MX6 SoC so there is no need for the
specific metadata.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimx-base.inc: SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS can be always appended
Otavio Salvador [Tue, 24 Jan 2017 12:42:30 +0000 (10:42 -0200)]
imx-base.inc: SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS can be always appended

There is no need to restrict the appending of
SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS values as the respective packages will
be added only on the supported packages thus not affecting other
machines.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimx-base.inc: Convert to use i.MX MACHINEOVERRIDES_EXTENDER
Otavio Salvador [Tue, 24 Jan 2017 12:39:27 +0000 (10:39 -0200)]
imx-base.inc: Convert to use i.MX MACHINEOVERRIDES_EXTENDER

There were some core BSP variables which were still using SoC family
names instead of feature overrides (XSERVER_DRIVER,
MACHINE_SOCARCH_FILTER) and those needed to be reworked so other SoC
families could be dealt in the generic way (e.g: mx6ul).

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoqt4-imx-support: Set override for imxgpu2d machines
Fabio Berton [Tue, 24 Jan 2017 19:43:50 +0000 (17:43 -0200)]
qt4-imx-support: Set override for imxgpu2d machines

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agopiglit: Set override for imxgpu2d machines
Fabio Berton [Tue, 24 Jan 2017 19:33:36 +0000 (17:33 -0200)]
piglit: Set override for imxgpu2d machines

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agomesa-demos: Set override for imxgpu2d machines
Fabio Berton [Tue, 24 Jan 2017 19:31:43 +0000 (17:31 -0200)]
mesa-demos: Set override for imxgpu2d machines

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolibdrm: Set override for imxgpu2d machines
Fabio Berton [Tue, 24 Jan 2017 19:30:12 +0000 (17:30 -0200)]
libdrm: Set override for imxgpu2d machines

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoopencv: Set override for imxgpu2d machines
Fabio Berton [Tue, 24 Jan 2017 19:24:23 +0000 (17:24 -0200)]
opencv: Set override for imxgpu2d machines

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agogtk+3: Set override for imxgpu2d machines
Fabio Berton [Tue, 24 Jan 2017 19:14:42 +0000 (17:14 -0200)]
gtk+3: Set override for imxgpu2d machines

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agocogl: Set override for imxgpu2d machines
Fabio Berton [Tue, 24 Jan 2017 19:14:05 +0000 (17:14 -0200)]
cogl: Set override for imxgpu2d machines

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoclutter: Set override for imxgpu2d machines
Fabio Berton [Tue, 24 Jan 2017 19:12:53 +0000 (17:12 -0200)]
clutter: Set override for imxgpu2d machines

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoefl: Set override for imxgpu2d machines
Fabio Berton [Tue, 24 Jan 2017 19:10:29 +0000 (17:10 -0200)]
efl: Set override for imxgpu2d machines

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agopulseaudio: Remove i.MX 6UL specific metadata
Otavio Salvador [Tue, 24 Jan 2017 13:00:25 +0000 (11:00 -0200)]
pulseaudio: Remove i.MX 6UL specific metadata

The SoC is now dealt as a i.MX6 SoC so there is no need for the
specific metadata.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoalsa-lib: Remove i.MX 6UL specific metadata
Otavio Salvador [Tue, 24 Jan 2017 12:58:30 +0000 (10:58 -0200)]
alsa-lib: Remove i.MX 6UL specific metadata

The SoC is now dealt as a i.MX6 SoC so there is no need for the
specific metadata.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoalsa-state: Remove i.MX 6UL specific metadata
Otavio Salvador [Tue, 24 Jan 2017 12:56:24 +0000 (10:56 -0200)]
alsa-state: Remove i.MX 6UL specific metadata

The SoC is now dealt as a i.MX6 SoC so there is no need for the
specific metadata.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoimage_types_fsl.bbclass: Remove i.MX 6UL specific metadata
Otavio Salvador [Tue, 24 Jan 2017 12:53:42 +0000 (10:53 -0200)]
image_types_fsl.bbclass: Remove i.MX 6UL specific metadata

The SoC is now dealt as a i.MX6 SoC so there is no need for the
specific metadata.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agomesa: Rework recipe to use the feature overrides
Otavio Salvador [Tue, 24 Jan 2017 12:45:10 +0000 (10:45 -0200)]
mesa: Rework recipe to use the feature overrides

The recipe was still using the mx6 specific overrides, which is
wrong. We should use the feature overrides so more SoCs can be dealt
in the generic way.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoxserver-common: Set PACKAGE_ARCH override for imxgpu3d machines
Fabio Berton [Wed, 25 Jan 2017 11:53:22 +0000 (09:53 -0200)]
xserver-common: Set PACKAGE_ARCH override for imxgpu3d machines

Patch it's only enable for imxgpu3d, change mx6 override to imxgpu3d
and remove unused mx7 override.

Change-Id: Ifac37d8d792c0e5558f30ad439a13bd1fd6514fc
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoxserver-common: Append SRC_URI for imxgpu3d machines
Fabio Berton [Wed, 25 Jan 2017 11:49:40 +0000 (09:49 -0200)]
xserver-common: Append SRC_URI for imxgpu3d machines

Remove variable PATCHES_IMX_SPECIFIC and apply patch for all imxgpu3d
machines.

Change-Id: Ic8a8d8eebf109cc7c2256417a7423b7f83bdd99b
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoweston: Consolidate i.MX GPU patches
Tom Hochstein [Wed, 25 Jan 2017 14:57:22 +0000 (08:57 -0600)]
weston: Consolidate i.MX GPU patches

This is a non-functional change with one small exception, an additional
variable initialization that has no known behavioral effect:

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoxserver-common: Move to dynamic layers
Gary Thomas [Wed, 25 Jan 2017 11:47:10 +0000 (12:47 +0100)]
xserver-common: Move to dynamic layers

The xserver-common recipe can only be built if the openbedded (meta-oe)
layer is present, so move it to the dynamic layers to prevent breakage
if that layer is not in the build.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc-imx: Bump revision to ee67fc7e072d
Fabio Berton [Mon, 23 Jan 2017 19:06:06 +0000 (17:06 -0200)]
linux-fslc-imx: Bump revision to ee67fc7e072d

This commit merge tag Linux 4.1.38 and apply the following changes:

  - ee67fc7e072d (HEAD -> 4.1-2.0.x-imx, origin/4.1-2.0.x-imx) ARM:
    dts:imx7s-warp: Add watchdog pinmux
  - 5fd79049c122 ARM: dts: imx7: Add "LPSR" to LPSR iomux pin names
  - 739f0c753a6d Merge tag 'v4.1.38' into 4.1-2.0.x-imx

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc: Bump revision to 3d8f8d0
Oliver Graute [Mon, 23 Jan 2017 18:06:43 +0000 (19:06 +0100)]
linux-fslc: Bump revision to 3d8f8d0

This includes following change:

This commit merges tag v4.8.17 into 4.8.x+fslc

Change-Id: I6ac7293a212351cfcb0ea550d426036da30aef14
Signed-off-by: Oliver Graute <oliver.graute@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agolinux-fslc: Longterm Branch 4.4.x
Oliver Graute [Mon, 23 Jan 2017 17:41:40 +0000 (18:41 +0100)]
linux-fslc: Longterm Branch 4.4.x

This is the Longterm supported Linux kernel branch 4.4.x

this bump linux-fslc 4.4.x to 4.4.43

Change-Id: I2035e88f0f69789d4f982e7a38fe51129db13bd5
Signed-off-by: Oliver Graute <oliver.graute@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoweston: Touch events cause startup failure
Tom Hochstein [Mon, 16 Jan 2017 19:52:26 +0000 (13:52 -0600)]
weston: Touch events cause startup failure

Pressing the touch panel continously during boot up caused
weston to crash. The weston view was being accessed before it
was fully initialized, so now we guard against this.

Upstream-Status: Denied [Could not reproduce]

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoweston: Undo recent command-line change for renderer selection
Tom Hochstein [Mon, 16 Jan 2017 19:52:25 +0000 (13:52 -0600)]
weston: Undo recent command-line change for renderer selection

To restore command-line compatibility, reverting back to
integer-based renderer selection syntax:

weston [--use-gl=0|1] [--use-g2d=0|1]

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoweston: xwayland: Fix crash when run with no input device
Tom Hochstein [Mon, 16 Jan 2017 19:52:24 +0000 (13:52 -0600)]
weston: xwayland: Fix crash when run with no input device

Starting an xterm with no input device led to a crash
because weston_wm_pick_seat() was returning garbage and
weston_wm_selection_init() was trying to use the garbage.

Upstream-Status: Accepted [https://cgit.freedesktop.org/wayland/weston/commit/?id=e7fff215ada3fd3d1b2af664888f960c082f9065]

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoweston: Enable double buffer with fb_pan_display for weston compositor
Tom Hochstein [Mon, 16 Jan 2017 19:52:23 +0000 (13:52 -0600)]
weston: Enable double buffer with fb_pan_display for weston compositor

Refine offset calculation.

Upstream-Status: Inappropriate [i.MX specific]

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoweston: T3DStressTest_Wayland displays abnormally while using G2D compositor
Tom Hochstein [Mon, 16 Jan 2017 19:52:22 +0000 (13:52 -0600)]
weston: T3DStressTest_Wayland displays abnormally while using G2D compositor

It need add g2d_finish after repaint_region and before copy to framebuffer.
Because if using dual dpu cores, the tasks on each core will be executed
sequently, but it can't ensure one task splited on dual cores can be finished
synchronously by hardware.

Upstream-Status: Inappropriate [i.MX specific]

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoUpdate machine description fields
Alexandra Safta [Mon, 16 Jan 2017 16:29:00 +0000 (08:29 -0800)]
Update machine description fields

Change description fields from Freescale to NXP in machine files to align to
2016 corporate transfer to NXP.

Signed-off-by: Alexandra Safta <alexandra-ioana.safta@nxp.com>
Signed-off-by: Lauren Post <lauren.post@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoxserver-common: Enable iglx module
Neena Busireddy [Thu, 12 Jan 2017 18:29:40 +0000 (12:29 -0600)]
xserver-common: Enable iglx module

Enable iglx module to pass indirect glx rendering test case.

Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agomfgtool-initramfs-image.bbclass: do not overwrite IMAGE_CLASSES
Mirza Krak [Fri, 13 Jan 2017 23:28:35 +0000 (00:28 +0100)]
mfgtool-initramfs-image.bbclass: do not overwrite IMAGE_CLASSES

Use the += operator instead to add image_types_uboot to IMAGE_CLASSES
which will correctly append that image type.

Signed-off-by: Mirza Krak <mirza.krak@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agou-boot-qoriq: Fix python function for fsl-lsch2-32b arch
Fabio Berton [Fri, 13 Jan 2017 19:43:27 +0000 (17:43 -0200)]
u-boot-qoriq: Fix python function for fsl-lsch2-32b arch

Add missing argument in function getVar() to avoid error:

Exception: TypeError: getVar() missing 1 required positional argument: 'expand'

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoqoriq-base, imx-base: Allow DISTRO and local.conf override of IMAGE_FSTYPES
Otavio Salvador [Mon, 16 Jan 2017 18:22:11 +0000 (16:22 -0200)]
qoriq-base, imx-base: Allow DISTRO and local.conf override of IMAGE_FSTYPES

To allow the DISTRO and local.conf to override the IMAGE_FSTYPES value
we must provide a weak default (using the ??= operator) otherwise
machines need to play with the import order to override it.

Change-Id: I93407b8b6a93e5953bc4bae08f4ae4dafc5c6158
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoqtbase: Recipe cleanup
Tom Hochstein [Tue, 10 Jan 2017 23:39:26 +0000 (17:39 -0600)]
qtbase: Recipe cleanup

- List variables in override priority order
- Replace deprecated base_contains
- Remove extraneous whitespace

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoqtbase: Configure eglfs with EGL pkg-config
Tom Hochstein [Tue, 10 Jan 2017 23:39:25 +0000 (17:39 -0600)]
qtbase: Configure eglfs with EGL pkg-config

A build error occurred because eglfs needs to be
configured with the EGL pkg-config.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoqtbase: Reimplement i.MX configuration changes with patches
Tom Hochstein [Tue, 10 Jan 2017 23:39:24 +0000 (17:39 -0600)]
qtbase: Reimplement i.MX configuration changes with patches

Changing source should be done during the patch phase, not
the configure stage.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoqtbase: Remove link to libGAL
Tom Hochstein [Tue, 10 Jan 2017 23:39:23 +0000 (17:39 -0600)]
qtbase: Remove link to libGAL

imx-gpu-viv doesn't use libGAL as of v5.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agoqtbase: Use compiler settings provided by IMX-GPU driver pkg-config
Tom Hochstein [Tue, 10 Jan 2017 23:39:22 +0000 (17:39 -0600)]
qtbase: Use compiler settings provided by IMX-GPU driver pkg-config

The IMX-GPU driver now provides compiler settings through pkg-config,
so don't set them explicitly.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agols1043ardb.conf: add fsl-lsch2 in MACHINEOVERRIDES
Zhenhua Luo [Tue, 20 Dec 2016 12:19:07 +0000 (20:19 +0800)]
ls1043ardb.conf: add fsl-lsch2 in MACHINEOVERRIDES

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agols1046ardb-32b: add machine conf
Zhenhua Luo [Tue, 20 Dec 2016 12:19:06 +0000 (20:19 +0800)]
ls1046ardb-32b: add machine conf

Support the NXP aarch64 based ls1046a reference design board run in 32b mode.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>