]> code.ossystems Code Review - meta-freescale.git/log
meta-freescale.git
6 years agoMerge pull request #62 from IniterWorker/sumo sumo
Otavio Salvador [Tue, 2 Apr 2019 17:52:03 +0000 (14:52 -0300)]
Merge pull request #62 from IniterWorker/sumo

[sumo] white-space compliant append

6 years agowhite-space compliante in DEPENDS 62/head
Walter Bonetti [Thu, 21 Mar 2019 13:39:05 +0000 (09:39 -0400)]
white-space compliante in DEPENDS

6 years agoMerge pull request #57 from IniterWorker/sumo
Otavio Salvador [Mon, 18 Mar 2019 14:37:07 +0000 (11:37 -0300)]
Merge pull request #57 from IniterWorker/sumo

Fix whitespace separator in DEPENDS_append

6 years agoFix whitespace separator in DEPENDS_append 57/head
Walter Bonetti [Mon, 18 Mar 2019 14:02:57 +0000 (10:02 -0400)]
Fix whitespace separator in DEPENDS_append
ERROR: Nothing PROVIDES 'python-nativedtc-native'

6 years agolinux-fslc: Remove 4.9 leftover defconfig files
Otavio Salvador [Thu, 31 Jan 2019 12:24:42 +0000 (10:24 -0200)]
linux-fslc: Remove 4.9 leftover defconfig files

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 60df6bc2b69a7f405f4b14fee1d53e8b3b84c054)

6 years agou-boot-fslc: Avoid restricting parsing for 'imx'
Otavio Salvador [Thu, 4 Oct 2018 14:02:19 +0000 (11:02 -0300)]
u-boot-fslc: Avoid restricting parsing for 'imx'

The u-boot-fslc does not amend other machines and then cannot be seen
as something that poison other BSP. Adding the restriction to the
common file makes all native tools incompatible.

Fixes:

,----
| [imx23evk] ERROR: Nothing PROVIDES 'u-boot-mxsboot-native'
| [imx23evk] u-boot-fslc-mxsboot-native PROVIDES u-boot-mxsboot-native
|            but was skipped: incompatible with machine imx23evk (not in
|            COMPATIBLE_MACHINE)
`----

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit b9d5f039c61ee106be048fd31bb2b0531beb7b02)

6 years agomxldr: Fix QA errors seen on x86 builds
Khem Raj [Fri, 28 Sep 2018 20:18:50 +0000 (13:18 -0700)]
mxldr: Fix QA errors seen on x86 builds

* Respect OE flags inside makefiles
* Its not a autotooled recipe but a simple makefile based one

Fixes
NOTE: i586-yoe-linux-musl-objdump -p
TOPDIR/build/tmp/work/i586-yoe-linux-musl/mxsldr/0.0.0+gitAUTOINC+c40d804725-r0/packages-split/mxsldr/usr/bin/mxsldr
ERROR: QA Issue: No GNU_HASH in the elf binary:
'TOPDIR/build/tmp/work/i586-yoe-linux-musl/mxsldr/0.0.0+gitAUTOINC+c40d804725-r0/packages-split/mxsldr/usr/bin/mxsldr'
[ldflags]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 9ae826a5ddb318e7f9248cbab426a509c69f1e19)

6 years agorecipes: Limit BSP specific recipes on relevant SOCs
Khem Raj [Fri, 28 Sep 2018 20:18:49 +0000 (13:18 -0700)]
recipes: Limit BSP specific recipes on relevant SOCs

This helps in using meta-freescale with other BSP layers in same
projects, which is common usecase

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
Cc: Zhenhua Luo <zhenhua.luo@nxp.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 16c528880f20c68731e645775d31c7445c95a8db)

6 years agorecipes: Mark compatible machines as restricted by dependencies
Khem Raj [Fri, 28 Sep 2018 20:18:48 +0000 (13:18 -0700)]
recipes: Mark compatible machines as restricted by dependencies

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit ec60f9636b63613ef82091e638df95de0c0821bb)

6 years agolinux-fslc/defconfig: sync with linux-fslc imx_v6_v7_defconfig
Andreas Müller [Fri, 21 Sep 2018 17:48:54 +0000 (19:48 +0200)]
linux-fslc/defconfig: sync with linux-fslc imx_v6_v7_defconfig

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
6 years agolibsdl2: avoid basehash changes
André Draszik [Wed, 19 Sep 2018 13:35:49 +0000 (14:35 +0100)]
libsdl2: avoid basehash changes

When adding meta-freescale, the sstate basehash of libsdl2 changes
because EXTRA_OECONF_IMX is appended to EXTRA_OECONF unconditionally,
causing EXTRA_OECONF to now depend on EXTRA_OECONF_IMX, invalidating
the sstate.

This is particularly annoying for the native flavour of this
recipe, because qemu-native depends on libsdl2-native, causing a
massive rebuild of a lot of packages for no good reason, preventing
efficient sstate re-use across different machines.

Just drop EXTRA_OECONF_IMX and append to EXTRA_OECONF using
variable overrides directly.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
6 years agolinux-fslc/defconfig: CONFIG_BT_BNEP=m
Andreas Müller [Fri, 14 Sep 2018 09:48:50 +0000 (11:48 +0200)]
linux-fslc/defconfig: CONFIG_BT_BNEP=m

This is necessary to support network over bluetooth:

| Sep 11 15:36:33 imx6qdl-variscite-som bluetoothd[281]: kernel lacks bnep-protocol support
| Sep 11 15:36:33 imx6qdl-variscite-som bluetoothd[281]: System does not support network plugin

Same as [1]

[1] https://github.com/Freescale/linux-fslc/pull/35

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
6 years agolinux-fslc/defconfig: Add CONFIG_NET_NS=y
Andreas Müller [Fri, 14 Sep 2018 09:48:49 +0000 (11:48 +0200)]
linux-fslc/defconfig: Add CONFIG_NET_NS=y

systemd in default oe-core configuration complains:

| Sep 11 15:36:33 imx6qdl-variscite-som systemd[1]: Starting Hostname Service...
| Sep 11 15:36:33 imx6qdl-variscite-som systemd[296]: systemd-hostnamed.service: PrivateNetwork=yes is configured, but the kernel does not support network namespaces, ignorin>

To enable it needs CONFIG_NAMESPACES=y either.

Same as [1]

[1] https://github.com/Freescale/linux-fslc/pull/35

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
6 years agoimx-base.inc Add missing overrides to for `use-mainline-bsp`
Andreas Müller [Fri, 14 Sep 2018 09:48:48 +0000 (11:48 +0200)]
imx-base.inc Add missing overrides to for `use-mainline-bsp`

Just in case somebody tries to build machines without BLOBs using these
overrides.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
6 years agolinux-fslc/defconfig: Add CONFIG_FW_LOADER_USER_HELPER(_FALLBACK)=y
Andreas Müller [Tue, 11 Sep 2018 13:15:34 +0000 (15:15 +0200)]
linux-fslc/defconfig: Add CONFIG_FW_LOADER_USER_HELPER(_FALLBACK)=y

Networkmanager still listens on sysfs and seems to load firmware from
userspace for radio units. For Variscite VarSOM this fixed Bluetooth.

More details at linux-fslc / imx_v6_v7_defconfig commit [1]

[1] https://github.com/Freescale/linux-fslc/commit/80f8894094e04ddb6ae8dadbba41ebe7f392f230

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
6 years agolinux-fslc: upgrade to latest in 4.17.x+fslc
Andreas Müller [Mon, 10 Sep 2018 12:48:27 +0000 (14:48 +0200)]
linux-fslc: upgrade to latest in 4.17.x+fslc

This includes

* CONFIG_TMPFS_POSIX_ACL=y
* CONFIG_FW_LOADER_USER_HELPER(_FALLBACK)=y

in imx_v6_v7_defconfig

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
6 years agolinux-fslc: Update to 4.17.19
Andreas Müller [Thu, 6 Sep 2018 09:08:48 +0000 (11:08 +0200)]
linux-fslc: Update to 4.17.19

Tested on Variscite VarSOM Starterkit. Checked journal and no new issues could
be detected.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
6 years agoxf86-video-armada: Update to latest git
Andreas Müller [Thu, 6 Sep 2018 09:08:47 +0000 (11:08 +0200)]
xf86-video-armada: Update to latest git

Tested on X-server glmark-es2 creates same results.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
6 years agoimx-alsa-plugins: Make imx7ulp a compatible machine
Daiane Angolini [Thu, 23 Aug 2018 19:26:10 +0000 (16:26 -0300)]
imx-alsa-plugins: Make imx7ulp a compatible machine

>From [1] we know the imx-alsa-plugins_1.0.26 does support all imx7, and
it is defined in the BSP as MACHINE_EXTRA_RRECOMMENDS, so this patch add
imx7ulp as compatible.

It also fixes the following error (when building for imx7ulpevk):

ERROR: Nothing RPROVIDES 'imx-alsa-plugins' (but
/home/daiane/code/yocto/master/sources/poky/meta/recipes-core/images/core-image-base.bb,
/home/daiane/code/yocto/master/sources/poky/meta/recipes-core/packagegroups/packagegroup-base.bb
RDEPENDS on or otherwise requires it)
imx-alsa-plugins was skipped: incompatible with machine imx7ulpevk (not
in COMPATIBLE_MACHINE)

[1]
https://source.codeaurora.org/external/imx/meta-fsl-bsp-release/tree/imx/meta-bsp/recipes-multimedia/alsa/imx-alsa-plugins_1.0.26.bb?h=rocko-4.9.88-2.0.0_ga

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
6 years agoqtwayland/etnaviv: remove xcomposite-glx
Andreas Müller [Tue, 28 Aug 2018 07:43:02 +0000 (09:43 +0200)]
qtwayland/etnaviv: remove xcomposite-glx

fixes
| ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition 'features.wayland-client && features.opengl && !features.opengles2 && features.xlib && libs.xcomposite && libs.glx' failed.
|
| ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition 'features.wayland-server && features.opengl && !features.opengles2 && libs.xcomposite && libs.glx' failed.

FWIW: Have similar for Raspi/VC4 in meta-raspi-light

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
6 years agoremove chromium appends
Andreas Müller [Tue, 28 Aug 2018 07:43:00 +0000 (09:43 +0200)]
remove chromium appends

* they were not updated for long time
* they mach neither name nor version of the recipes in meta-browser
* they cause parse-errors

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
6 years agoxf86-video-imx-vivante: Set linker flags properly
Tom Hochstein [Mon, 30 Jul 2018 19:42:05 +0000 (14:42 -0500)]
xf86-video-imx-vivante: Set linker flags properly

Append LDFLAGS to LFLAGS instead of replacing LFLAGS.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 6de2c265e01b2809c8089fc056d23514bc39ec6c)

6 years agolinux-fslc/defconfig: Add CONFIG_TMPFS_POSIX_ACL=y
Andreas Müller [Wed, 5 Sep 2018 11:44:06 +0000 (13:44 +0200)]
linux-fslc/defconfig: Add CONFIG_TMPFS_POSIX_ACL=y

Fixes:

| Sep 04 09:05:10 imx6qdl-variscite-som systemd-udevd[220]: Failed to apply ACL on /dev/v4l-subdev0: Operation not supported
| Sep 04 09:05:10 imx6qdl-variscite-som systemd-udevd[224]: Failed to apply ACL on /dev/v4l-subdev1: Operation not supported
| Sep 04 09:05:10 imx6qdl-variscite-som systemd-udevd[215]: Failed to apply ACL on /dev/v4l-subdev10: Operation not supported
| Sep 04 09:05:10 imx6qdl-variscite-som systemd-udevd[228]: Failed to apply ACL on /dev/v4l-subdev2: Operation not supported
| Sep 04 09:05:10 imx6qdl-variscite-som systemd-udevd[232]: Failed to apply ACL on /dev/v4l-subdev5: Operation not supported
| Sep 04 09:05:10 imx6qdl-variscite-som systemd-udevd[217]: Failed to apply ACL on /dev/v4l-subdev11: Operation not supported
| Sep 04 09:05:10 imx6qdl-variscite-som systemd-udevd[214]: Failed to apply ACL on /dev/dri/card1: Operation not supported
| Sep 04 09:05:10 imx6qdl-variscite-som systemd-udevd[216]: Failed to apply ACL on /dev/v4l-subdev8: Operation not supported
| Sep 04 09:05:10 imx6qdl-variscite-som systemd-udevd[226]: Failed to apply ACL on /dev/v4l-subdev9: Operation not supported

and nasty follow-ups: Starting weston from sddm as unpriviledged user fails
with some hints on missing access rights.

For a better understanding CONFIG_TMPFS=y was added which was set indirectly
by CONFIG_DEVTMPFS=y

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 63366536e30e892e0bf3ee6b5e53de77720ae158)

6 years agolinux-fslc: Update SRCREV
Andreas Müller [Wed, 5 Sep 2018 11:44:05 +0000 (13:44 +0200)]
linux-fslc: Update SRCREV

The only change introduced is menuconfig fix.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit dbf6103a3e30f9b56b4952eefb6507f1dbea891d)

6 years agolinux-mfgtool: Simplify linux-mfgtool support
Marc Ferland [Mon, 6 Aug 2018 19:18:25 +0000 (15:18 -0400)]
linux-mfgtool: Simplify linux-mfgtool support

As OpenEmbedded-Core now supports (from commit
5b4aab6b40cf21471442e21abc8051b38985de84) building multiple kernels,
this patch completly replaces the old linux-mfgtool with a single
statement:

KERNEL_PACKAGE_NAME = "linux-mfgtool"

and it works surprisingly well! This patch also provides a separate
defconfig for linux-imx-mfgtool (which currently is a copy of
linux-imx defconfig).

Note: The linux-mfgtool kernel will be deployed in ${DEPLOY}/mfgtool.

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
6 years agou-boot-fslc: Bump revision to 1e13b91a
Otavio Salvador [Fri, 31 Aug 2018 01:47:48 +0000 (22:47 -0300)]
u-boot-fslc: Bump revision to 1e13b91a

1e13b91af7 mx6sabre_common: Allow the videoargs to be passed to bootargs

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 385e68c9470e52ff8226002aaa89a9f70206cec6)

6 years agoRevert "libdrm: Remove unused patches"
Pierluigi Passaro [Wed, 8 Aug 2018 07:41:28 +0000 (09:41 +0200)]
Revert "libdrm: Remove unused patches"

This reverts commit dca6c66e5710938a3ea035b09b86ca3d1a6915c6.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 063154a7783aeafd299739c450e9fef754ead7a8)

6 years agolinux-mfgtool.inc: This reduce the extender class
Otavio Salvador [Thu, 23 Aug 2018 00:58:39 +0000 (21:58 -0300)]
linux-mfgtool.inc: This reduce the extender class

This removes duplicated code from the extender class and instead calls
the parent's code.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 801658c710e3a59ce9dc8d5fa892f1865071fc94)

6 years agolinux-mfgtool.inc: Fix wrong build dependency
Otavio Salvador [Thu, 23 Aug 2018 00:56:40 +0000 (21:56 -0300)]
linux-mfgtool.inc: Fix wrong build dependency

This fixes following error:

ERROR: Nothing PROVIDES 'virtual/mfgtool-arm-...-binutils'.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 7a5f1e14504e43bf41ebb9f36cb56bd71cceab32)

6 years agowayland: Remove file provided by imx-gpu-viv
Fabio Berton [Thu, 12 Jul 2018 14:18:59 +0000 (11:18 -0300)]
wayland: Remove file provided by imx-gpu-viv

wayland-egl.pc is installed by imx-gpu-viv and we need to remove
from wayland package for imxgpu machines.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 3be51cd536cfb08e95e852ddfdb180a51798b1f0)

6 years agou-boot-fslc: Update to 2018.07-based fork
Otavio Salvador [Tue, 10 Jul 2018 12:35:08 +0000 (09:35 -0300)]
u-boot-fslc: Update to 2018.07-based fork

This updates the fork on top of current 2018.07 release and also adds
a much improved support to pico-imx7d and pico-imx6ul. The list of
commits included are:

bc558729a7 warp7: update defconfig to support the generic loading interface
e5a6138278 mx25pdk: Change root to use a single partition layout
f9d1e13cf5 mx6sabre_common: Dynamically change the video output
865268ce8a mx6sabresd: Enable video interfaces in bootargs
7db6f3d8c5 mx6sabresd: Use LDO dtb file until LDO bypass support is added
84fc5b0de1 mx6slevk: Use LDO dtb file until LDO bypass support is added
ccf16e75e7 pico-imx6ul: Convert to distro config
06eecc42a2 configs/imx: Remove 'mmcautodect' variable
12c65ae7a9 pico-imx7d: Add new pico-pi config
fe4fd4e1ea pico-imx7d: README: Drop old instructions about secure mode
a076cc293b pico-imx7d: README: Use dfu-util to flash U-Boot
24f9fcde47 pico-imx7d: Enable auxiliary code support
78fead0843 pico-imx7d: Allow default fdtfile to be overridden by defconfig
04d0d8894f pico-imx7d: Do not override addrmap5
e5833f48e6 pico-imx7d: Enable CONFIG_ARMV7_BOOT_SEC_DEFAULT
ceb9087434 pico-imx7d: Add Falcon mode support
8800626580 pico-imx7d: Add bootmenu to choose the baseboard
f2c33216e7 pico-imx7d: Add support for update SPL using DFU
6cc975154d pico-imx7d: Add SPL support
349985a0f2 pico-imx7d: Add fastboot support
76a4da5eb1 pico-imx7d: Add default DFU targets
c6c4a0e0d8 pico-imx7d: Add GPT partitioning support
9ac7204c7a pico-imx7d: Fix common distro configuration behavior
62523103a0 pico-imx7d: Convert to distro config

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 02fc6a68ecc9d76cdaeca483b70dc37180e2e7f8)

6 years agoimx-gpu-viv: fix vulkan headers issue
Gary Bisson [Wed, 11 Jul 2018 10:22:17 +0000 (12:22 +0200)]
imx-gpu-viv: fix vulkan headers issue

They need to be removed in favor of the standard ones.
Otherwise GStreamer (or most likely other packages) throws this error:
"ERROR: The file /usr/include/vulkan/vk_sdk_platform.h is installed by
 both vulkan and imx-gpu-viv, aborting"

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
(cherry picked from commit 6b4da0b0a91637fe54f89d2389e43625ba1d753c)

6 years agoimx-gpu-viv: add missing wayland-egl.pc copy
Gary Bisson [Wed, 11 Jul 2018 10:10:06 +0000 (12:10 +0200)]
imx-gpu-viv: add missing wayland-egl.pc copy

Otherwise prevents other packages to build, producing this error:
| No package 'wayland-egl' found

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
(cherry picked from commit ddbc0c5fe55e38ccf020ee2f1d852074f0991cd8)

6 years agolibdrm: Fix typo in DEFAULT_PREFERENCE
Fabio Berton [Fri, 6 Jul 2018 12:52:40 +0000 (09:52 -0300)]
libdrm: Fix typo in DEFAULT_PREFERENCE

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit ce51c26a125495728b9d5485afa4d540bf0f405b)

6 years agoweston: Set DEFAULT_PREFERENCE to -1
Fabio Berton [Fri, 6 Jul 2018 12:37:38 +0000 (09:37 -0300)]
weston: Set DEFAULT_PREFERENCE to -1

This recipe need to be set by machine using:

PREFERRED_VERSION_weston = "4.0.0.imx"

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit bc093ba16280d68a8c6259788683b9bcce0a158a)

6 years agoodp: update to bda2c9
Chunrong Guo [Thu, 5 Jul 2018 09:41:59 +0000 (17:41 +0800)]
odp: update to bda2c9

*include the following changes:
bda2c9 - .gitmodules: use codeaurora url
7db258d - Merge pull request #520 in GITAM/odp from ~NXA07732/odp:fsl_odp_v16.07_qoriq to fsl_odp_v16.07_qoriq
6a2a62f - Updating the sub-module path to bitbucket from stash.
2923db9 - dpaa2: Fix odp restart issue in scheduler mode
946d32e - odp: Update qbman commit to 75ff61a7ca6acdbdbb780161b053cbcbc990f1be
e354952 - Removing atomic/ordered context while enqueuing the buffer
bef6398 - TM: Invalid flow crash fix
8e7a136 - Removed device based jiffies
df492ef - Fixing legal issues
3e9c5da - Scripts: binaries path and odp_tm test cases updated
c91dac8 - Werror flag enabled for ODP library
ced3aaf - Updated MC flib to version 10.3.2
a68cd87 - odp_pktio_stats API updated
03e0e05 - LD_LIBRARY_PATH removed from loopback_script
7a64406 - CUNIT: Cunit installation enabled
048c6a6 - script: ODP library path fixed
16a0e99 - Removing local compilation patch from QBMAN repo
b792e84 - Merge pull request #505 in GITAM/odp from ~B38457/odp:fsl_odp_v16.07_qoriq to fsl_odp_v16.07_qoriq
281a676 - Merge pull request #487 in GITAM/odp from ~B46187/odp:fsl_odp_v16.07_qoriq to fsl_odp_v16.07_qoriq
8e2888b - odp_dpaa2: Patch to replace build type flag from compile time to runtime.
26e4bdc - Fixed odp_pktout_send API fails to transmit > 8 packets
c46b0bb - Patch to odp_l2fwd issue in queue mode.

*fix building error with GCC8
update CFLAGS

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 01ef43dcdc3a3ffc72dad31fb12fef8a09f483de)

6 years agooptee-test-qoriq: update recipes
Chunrong Guo [Thu, 5 Jul 2018 09:41:57 +0000 (17:41 +0800)]
optee-test-qoriq: update recipes

*Fix GCC 8 build error

*Update EXTRA_OEMAKE set

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 27d7544bd5db54ae11ac21f65e7da787d3dd2028)

6 years agorestool: update to 2815572
Chunrong Guo [Thu, 5 Jul 2018 09:41:46 +0000 (17:41 +0800)]
restool: update to 2815572

*include the following changes:
2815572 - dpdmai: add --num-queues create parameter
a5f268b - scripts: suppress unit_address_vs_reg warnings when using newer dtc
0e2846a - scripts: Fix MC version check
d9cbf56 - dprc: use the corect specifier for uint16_t
1b49539 - dpni: print both rx and tx tcs number
10af575 - dpni: add support for 16 TX tcs
ad33877 - dpni: add DPNI_OPT_SINGLE_SENDER option
887deae - scripts: Infer switch ports number from specified endpoints
c8111df - scripts: Avoid word splitting
7a15d3e - ls-addsw: show netdev names when creating a dpsw
81fb178 - ls-addmux: fix endpoint discovery
254aef8 - update copyright years

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 01c1c1b365ba1b5c64412a993d69c2fd7d9b48f5)

6 years agoimx-test: Rework DEPENDS and VPU support
Otavio Salvador [Thu, 5 Jul 2018 20:20:29 +0000 (17:20 -0300)]
imx-test: Rework DEPENDS and VPU support

All variants depends on `virtual/kernel`, `imx-lib` and `alsa-lib`, so
this can be added by default.

The VPU support has been moved to a `PACKAGECONFIG` so it adds the
respective `make` parameter, and dependency, depending on the
`MACHINEOVERRIDES` value.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 6fdd26a72b923044351674f4172c85f160c6f301)

6 years agoimx-test: Add to EXTRA_OEMAKE if machine has vpu
Fabio Berton [Thu, 5 Jul 2018 19:37:17 +0000 (16:37 -0300)]
imx-test: Add to EXTRA_OEMAKE if machine has vpu

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 68942ef68aef1ca59f70a4392f839e8c99b0cc02)

6 years agoimx-test: Add virtual/imxvpu to DEPENDS for imxvpu machine
Fabio Berton [Thu, 5 Jul 2018 19:37:15 +0000 (16:37 -0300)]
imx-test: Add virtual/imxvpu to DEPENDS for imxvpu machine

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit f8417256f3862f84382e1e8a3cac5b845ce3f857)

6 years agowayland: Backport recipe for version 1.15
Fabio Berton [Thu, 5 Jul 2018 18:04:35 +0000 (15:04 -0300)]
wayland: Backport recipe for version 1.15

From OE-Core commit: 6e5952fcfc13ff4b63c9376bd41a1dbba957f425

Package libwayland-egl has been moved to wayland on version 1.15+
and we need to use wayland 1.15+ to build weston i.MX 4

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
6 years agoweston-init: Fix inoperable Weston desktop
Tom Hochstein [Tue, 26 Jun 2018 02:11:45 +0000 (21:11 -0500)]
weston-init: Fix inoperable Weston desktop

For an image configured with pam and systemd, Weston apps
would fail to run. For example:

$ weston-terminal
failed to connect to Wayland display: No such file or directory
failed to create display: No such file or directory

This fix is based on a proposal by Daniel Diaz to OE-core. The
main part of the fix is the use of a new, manually created tty.

The original proposal called weston directly, but that didn't
seem to work where weston-launch did.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 6c50f608063f673f8763d2baebf1c486cb5ed63a)

6 years agoweston-init: Remove OpenGL requirement for i.MX 6SL
Tom Hochstein [Tue, 26 Jun 2018 02:11:44 +0000 (21:11 -0500)]
weston-init: Remove OpenGL requirement for i.MX 6SL

For parts with 2D GPU but not 3D GPU, OpenGL is not required.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 3650dc2b1d17ea3d3c0388a890592f89c47d84de)

6 years agoweston: Remove OpenGL requirement for i.MX 6SL
Tom Hochstein [Tue, 26 Jun 2018 02:11:43 +0000 (21:11 -0500)]
weston: Remove OpenGL requirement for i.MX 6SL

OpenGL is not required for parts with 2D GPU
but no 3D GPU.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 74ae306d33971487efbe5faddcaeca670ec7634d)

6 years agoweston: Use cairo for parts with 3D GPU
Tom Hochstein [Tue, 26 Jun 2018 02:11:42 +0000 (21:11 -0500)]
weston: Use cairo for parts with 3D GPU

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 33cfb1800371a5aed74fd99a8cb6c56d118affd4)

6 years agoweston: Add G2D rendering support
Tom Hochstein [Tue, 26 Jun 2018 02:11:41 +0000 (21:11 -0500)]
weston: Add G2D rendering support

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 57e479401af3ceb72743b0d91693f30c1af9852b)

6 years agoweston: Set configuration for non-DRM parts
Tom Hochstein [Tue, 26 Jun 2018 02:11:40 +0000 (21:11 -0500)]
weston: Set configuration for non-DRM parts

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit b552d7aed251c084ee80b90d584d789c1f762a80)

6 years agoweston: Use a fork for i.MX
Tom Hochstein [Tue, 26 Jun 2018 02:11:39 +0000 (21:11 -0500)]
weston: Use a fork for i.MX

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit c7bce1d8726cfd04f18eee688b8ce65ecd1233a2)

6 years agoweston: Copy upstream 4.0 recipe
Tom Hochstein [Tue, 26 Jun 2018 02:11:38 +0000 (21:11 -0500)]
weston: Copy upstream 4.0 recipe

http://git.yoctoproject.org/cgit.cgi/poky/tree/?h=master-next&id=d05a268c5069c3fb47ceed47862ba36b5f49ebd3

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit fa818a55a70d0c6df6af57b477b4bd2ea9939953)

6 years agoweston: Remove 2.0 recipe
Tom Hochstein [Tue, 26 Jun 2018 02:11:37 +0000 (21:11 -0500)]
weston: Remove 2.0 recipe

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 08d037b0ace4c71ae77b5e4bc6d990252995cf91)

6 years agoweston: Set package arch for all i.MX
Tom Hochstein [Fri, 22 Jun 2018 20:17:19 +0000 (15:17 -0500)]
weston: Set package arch for all i.MX

Weston is built from a fork for all i.MX, not just
those with GPU, so set the package arch accordingly.

Change-Id: Ib8b2e639a8393dd41832c972d21812ee990a6c47
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 433a85c877765b62bd5c480be212c5df30680cd6)

6 years agomesa-demos: Fix condition for GLES support
Tom Hochstein [Thu, 5 Jul 2018 18:18:39 +0000 (13:18 -0500)]
mesa-demos: Fix condition for GLES support

The condition for GLES support was incorrect and would
remove GLES for parts with both 2D and 3D. Fix the condition
so GLES is removed only for parts with 2D and no 3D.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 681d596e5cbf78cc27d1cdfccd329022242d2c14)

6 years agolibepoxy: Append EGL_CFLAGS to CFLAGS
Fabio Berton [Thu, 5 Jul 2018 18:10:38 +0000 (15:10 -0300)]
libepoxy: Append EGL_CFLAGS to CFLAGS

Add -DEGL_API_FB for non x11 distros and -DWL_EGL_PLATFORM for wayland
distros.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 964a195536b61a4b9bf474a5c783ac888de2e846)

6 years agooptee-client-qoriq: GCC 8 format-truncation error
Chunrong Guo [Thu, 5 Jul 2018 09:41:55 +0000 (17:41 +0800)]
optee-client-qoriq: GCC 8 format-truncation error

*Fix the below error:
|libteec/src/teec_trace.c:110:24: error: '%s' directive output may be truncated
|writing up to 255 bytes into a region of size 246 [-Werror=format-truncation=]

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 0368b34d0d593de5d6e3a8770d5c80e4ed43c1ab)

6 years agoceetm: udpate to 6a7f2ec
Chunrong Guo [Thu, 5 Jul 2018 09:41:53 +0000 (17:41 +0800)]
ceetm: udpate to 6a7f2ec

Following changes are included:
6a7f2ec - make: account for changes in the iproute2 4.15 sources
9231d65 - ceetm: dpaa2: Only print shaping info at root class level
85fd3f0 - ceetm: dpaa2: Update help text
f98be8a - ceetm: choose between dpaa1/dpaa2 APIs at runtime
ca49b40 - ceetm: add a DPAA version detector call
8d77ae9 - ceetm: dpaa2: rename the config type enum to reflect the arch
aa9ef30 - ceetm: dpaa2: add the ceetm qdisc implementation
a743094 - ceetm: dpaa1: rename the config type enum to reflect the arch
c22d3d0 - ceetm: dpaa1: call the ceetm API from generic qdisc ops
4e24e6a - ceetm: dpaa1: move the ceetm API to a separate file
d5b318f - ceetm: dpaa1: rename the ceetm ops to dpaa1_ceetm ops

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 5556f6f8352aa20cd916c7be5ed72628f5769fc2)

6 years agolinux-qoriq/4.9: update to c488184
Chunrong Guo [Thu, 5 Jul 2018 09:41:58 +0000 (17:41 +0800)]
linux-qoriq/4.9: update to c488184

*Following changes are included:
c488184 - Merge branch 'linux-4.9-nxp' into linux-4.9 on June 20, 2018
361d80c - ARM: lsdk.config: enable crypto options
a1fd371 - dts: add copyright to the SDK dts files
0fc2a50 - PCI: Mark NXP LS1088 to avoid bus reset bus
8b8b238 - sdk_dpaa: ceetm: drain the ceetm CQs on destroy
383e96e - sdk_dpaa: ceetm: WQ/CEETM mode switchover cleanup
e7bea11 - sdk_dpaa: ceetm: reset the wbfs groups and priorities on teardown
cd65244 - sdk_dpaa: ceetm: propagate the ceetm channel through the qdisc tree
c0e8fe5 - fsl_qbman: ceetm: export the qman_ceetm_query_cq call
505bde5 - sdk_dpaa: ceetm: stop the netdev queues when switching ceetm on
ec7e25f - Merge branch 'linux-4.9-nxp' into linux-4.9 on June 19, 2018
5240d74 - powerpc: dts: fsl: Update to use SPDX identifiers
9b5070e - staging: fsl-dpaa2/eth: Update to use SPDX identifiers
6bc0b41 - bus: fsl-mc: dpio: add maintainer for DPIO
5214f40 - staging: fsl-mc/dpio: Skip endianness conversion in portal config
7b27258 - staging: fsl-mc: fix a few implicit includes
12d5c73 - staging: fsl-mc: Add SPDX license identifiers
73718b8 - staging/fsl-mc/bus/dpio: Add Support for Order Restoration
088f152 - staging: fsl-mc/dpio: Propagate error code
eda0070 - staging: fsl-dpaa2/eth: Remove Kconfig dependency on QBMAN_DEBUG
232f1af - staging: fsl-dpaa2/ethsw: Sync DPSW driver with dash-linux
6c2c4ff - staging: fsl-dpaa2/ethsw: Update copyright of DPSW drivers
35e901d - staging: fsl-dpaa2/eth: allow the driver to compile multi-arch
eefdfc4 - staging: fsl-dpaa2/ethsw: Fix setting port learning/flooding flags
a4b7c9d - Merge branch 'linux-4.9-nxp' into linux-4.9 on June 14, 2018
b89aaf2 - arm64: dts: freescale: Update to use SPDX identifiers
9c5a05b8 - sdk: dts: ppc: add NXP copyright
a8c5369 - dmaengine: nxp-dpaa2-qdma: fix qdma driver when CPU is running on Big Endian mode.
4b0b756 - staging: fsl-mc/dpio: Add missing argument identifier
cc162a8 - staging: fsl-mc/dpio: Fix incorrect masking
1a0a269 - staging: fsl-mc/dpio: Use __leXX types where needed

*Fix gcc-8 build error

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 5ff6aed2e8acf7855071c5de87baef56febee3d3)

6 years agooptee-os-qoriq: update to fe3b3da
Chunrong Guo [Thu, 5 Jul 2018 09:41:56 +0000 (17:41 +0800)]
optee-os-qoriq: update to fe3b3da

*Following changes are included:
fe3b3da - Changed the target name from ls1012frwy to ls1012afrwy.
408ab3a - Merge branch 'master' of https://bitbucket.sw.nxp.com/scm/dash/optee_os
c925812 - Merge pull request #6 in DASH/optee_os from ~NXA19713/optee_os:master to master
f0451fd - Fix for PLATSEC-522
6d1e7cf - Merge pull request #5 in DASH/optee_os from ~NXA18717/dash_optee_os:master to master
e0f2725 - plat-ls: Add support for armv8 platform flavour
d812df8 - plat-ls: Add support for armv8 platform flavour

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit b5d1e9e4416dc3a9dc0d2d7e784a1fcc563da930)

6 years agocryptodev-qoriq: update to c8b2900
Chunrong Guo [Thu, 5 Jul 2018 09:41:54 +0000 (17:41 +0800)]
cryptodev-qoriq: update to c8b2900

Following changes are included:y
c8b2900 - ioctl.c: Fix build with linux 4.17-rc1 (LSDK: 4.16-next)

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit eb3252af97a0088dbf1d0d8248f01ee81b89ee46)

6 years agosecure-obj: update to 24d3133
Chunrong Guo [Thu, 5 Jul 2018 09:41:52 +0000 (17:41 +0800)]
secure-obj: update to 24d3133

*Include the following changes:
24d3133 - SOBJ_ENG_APP: Initialising uninitialised variables
f979dc4 - SOBJ_APP: Adding option for creating fake pem file while importing object
2adc118 - APP: Miscellaneous changes
10f5c67 - APP: Resolving coverity issues
18d4422 - SEC_OBJ_ENG: Adding check if multiple objects are created with same index
9e21913 - Commit Update: SOBJ_APP:Adding option to save fake pem file

*Update COMPATIBLE_MACHINE for ls1012a

*Add ARCH for install path

*Fix install path issue.

*Add INSANE_SKIP for dev-elf,ldflags and dev-deps to fix QA Issue.

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit ad8c56b6823aeb91986e21f289aedf3fddfa47f6)

6 years agodpdk: update to 9448fe7
Chunrong Guo [Thu, 5 Jul 2018 09:41:51 +0000 (17:41 +0800)]
dpdk: update to 9448fe7

*include the following changes:
9448fe7 - PVT:nxp: increase DPMCP counts
e324b1f - crypto/armv8: fix HMAC supported digest sizes
cba260d - net/ppfe: port enable/disable fix on running traffic
57a1ec9 - net/ppfe: mtu errata workaround for LS1012Rev1
72172d2 - net/ppfe: app rerun fix on running traffic
370758e - net/ppfe: jumbo setting removed during initialization
faac20e - PVT:event/dpaa2: fix max port and parallel handling
8bc5683 - PVT:QDMA fix the IOVA as VA flag
b97bb46 - PVT:net/dpaa: fix push mode init queue handling
b2ad260 - PVT:bus/dpaa: fix LS1043 push mode disable patch
14096cb - crypto/openssl: sg support for inplace buffers
f96e21c - net/ppfe: add ETH_HEADER and CRC in mtu
01bc62f - PVT:net/dpaa2: fix the prefetch rx to honor nb pkts
4420f8f - PVT: net/dpaa2: minor log fixes
e52b626 - net/ppfe: fix crash on packet receive
ed2048b - PVT: dpaa: change the LS1043 errata flag to compile time with id
fdb1620 - nxp: make dynamic scripts executable
f4c5760 - PVT: net/dpaa: check if fmc is executed
93862f8 - PVT: net/dpaa: disable default push mode for LS1043
64a9038 - PVT: bus/dpaa: pass vdqcr exact configuration from the user
04e4240 - crypto/dpaa_sec: convert phys call to iova calls
3d8f00e - doc/eventdev: fix double entry for dpaa
3156f0a - app/crypto-perf: check minimum lcore number
2d705f8 - net/liquidio: fix link state fetching during start
33ba176 - net/bnxt: fix Rx checksum flags
9073e33 - net/failsafe: fix duplicate event registration
2531da7 - net/failsafe: fix removed sub-device cleanup
afdd810 - net/bonding: export mode 4 slave info routine
10180c8 - net/i40e: fix shifts of signed values
d647255 - net/qede: fix unicast filter routine return code
ce9aab5 - net/qede: fix missing loop index in Tx SG mode
30407bf - net/qede: fix multicast filtering
2219b5b - net/ixgbe: fix DCB configuration

*fix gcc-8 build error

*add l2fwd-qdma

*set EXTRA_CFLAGS for oe_runmake

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 942d9ddad881b9fb02cfb580239e2dfabc2c8a03)

6 years agolinux-qoriq/4.14: update to b09b730
Chunrong Guo [Thu, 5 Jul 2018 09:41:50 +0000 (17:41 +0800)]
linux-qoriq/4.14: update to b09b730

*include the following changes:
b09b730 - Merge branch 'linux-4.14-nxp' into linux-4.14 on June 20, 2018
a292fda - ARM: lsdk.config: enable crypto options
e74694c - dts: add copyright to the SDK dts files
2012a9d - PCI: Mark NXP LS1088 to avoid bus reset bus
9c3e6f9 - sdk_dpaa: ceetm: drain the ceetm CQs on destroy
93d6666 - sdk_dpaa: ceetm: WQ/CEETM mode switchover cleanup
04c9a32 - sdk_dpaa: ceetm: reset the wbfs groups and priorities on teardown
2f811a1 - sdk_dpaa: ceetm: propagate the ceetm channel through the qdisc tree
9f87f8e - fsl_qbman: ceetm: export the qman_ceetm_query_cq call
c67cd4e - sdk_dpaa: ceetm: stop the netdev queues when switching ceetm on
1697f24 - Merge branch 'linux-4.14-nxp' into linux-4.14 on June 19, 2018
f081503 - staging: fsl-dpaa2/eth: Update to use SPDX identifiers
401c538 - powerpc: dts: fsl: Update to use SPDX identifiers
8ba3255 - staging: fsl-dpaa2/eth: Remove Kconfig dependency on QBMAN_DEBUG
fcdc0b5 - staging: fsl-dpaa2/eth: allow the driver to compile multi-arch
66f6578 - staging: fsl-dpaa2/ethsw: Sync DPSW driver with dash-linux
9bedb2d - staging: fsl-dpaa2/ethsw: Update copyright of DPSW drivers
0718624 - staging: fsl-dpaa2/ethsw: Fix setting port learning/flooding flags
55037c7 - Merge branch 'linux-4.14-nxp' into linux-4.14 on June 14, 2018
4eb6958 - arm64: dts: freescale: Update to use SPDX identifiers
5b0a7af - sdk: dts: ppc: add NXP copyright
faebaf6 - dmaengine: nxp-dpaa2-qdma: fix qdma driver when CPU is running on Big Endian mode.
bc007d5 - staging: fsl-mc/dpio: Add missing argument identifier
e5a9d78 - staging: fsl-mc/dpio: Fix incorrect masking
7ba6328 - staging: fsl-mc/dpio: Use __leXX types where needed
ce5dc93 - staging: fsl-mc/dpio: Fix cast truncate warning
ad16e79 - staging: fsl-mc/dpio: Fix incorrect cast
c19d9c8 - staging: fsl-mc/dpio: allow the driver to compile multi-arch
7b3dcdf - staging: fsl-mc: dpio: remove foolish -Werror Makefile addtion
9426cfd - staging: fsl-mc/dpio: Fix incorrect casts

*fix gcc-8 build error

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 301359c10339c9a304ed49f5a03202762f8415ef)

6 years agols1012afrwy: add machine config
Chunrong Guo [Thu, 5 Jul 2018 09:41:49 +0000 (17:41 +0800)]
ls1012afrwy: add machine config

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit edb304a4aab6fdc1faf8734190871a7a197e458d)

6 years agoovs-dpdk: update to version 2.9
Chunrong Guo [Thu, 5 Jul 2018 09:41:48 +0000 (17:41 +0800)]
ovs-dpdk: update to version 2.9

Following changes are included:
24eec41 - Merge pull request #11 in DQNS/ovs-dpdk from ~NXA20386/ovs-dpdk-nxa20386:branch-2.9-qoriq to branch-2.9-qoriq
821dd5d - Merge remote-tracking branch 'upstream/branch-2.9' into branch-2.9-qoriq
a34504b - Revert "netdev-dpdk: toggle descriptor size for ports"
1909a65 - Revert "netdev-dpdk: fix incorrect exclude mbuf configuration"
5cb8d0f - Prepare for 2.9.3.
7e61467 - Set release date for 2.9.2.
c16e265 - ovn pacemaker: Fix promotion issue when the master node is reset
418be3d - dpif-netdev: Free packets on TUNNEL_PUSH if may_steal.
adeda41 - netdev-dpdk: fix check for "net_nfp" driver
3e417c8 - netdev-dpdk: Don't use PMD driver if not configured successfully
9fc83bf - netdev-dpdk: Remove use of rte_mempool_ops_get_count.
2a3ee45 - datapath: compat: Fix ndo_size in RHEL 7.5 backport
f26b724 - Prepare for 2.9.2.
f8b6477 - Set release date for 2.9.1.
bd4b503 - conntrack-tcp: Handle tcp session reuse.
d5176ed - ovn: Set proper Neighbour Adv flag when replying for NS request for router IP
9260243 - datapath: compat: Fix build on RHEL 7.5
72a73e4 - sparse: Support newer GCC/glibc versions.
c00f0c2 - tunnel: make tun_key_to_attr aware of tunnel type.
00e56c5 - netdev-dpdk: Fixed netdev_dpdk structure alignment
db136da - Configurable Link State Change (LSC) detection mode

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 23e547872f57b740a447738f145e8c54542f25a6)

6 years agolibpkcs11: update to 8e942d3
Chunrong Guo [Thu, 5 Jul 2018 09:41:47 +0000 (17:41 +0800)]
libpkcs11: update to 8e942d3

*include the following changes:
8e942d3 - APP_LIB: Miscellaneous changes
c4758bc - LIB_APP: Resolving coverity issues
213a233 - LIB: Terminating the crypto operation in C_Sign
904b794 - Merge pull request #18 in DNDEV/libpkcs11 from devel_sdk to master
16224a4 - REVIEW: Taking care of review comments
214ec76 - LIB: Increasing Find List size.
e26950e - APP: Adding app for testing multithreading feature
c0223a2 - LIB: Adding Multithreading support

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 87c507343c3f72f22d2c97a0db5cb3d6af8cd885)

6 years agolinux-fslc: Bump revision to 076d88a62d8a
Fabio Berton [Tue, 3 Jul 2018 19:19:07 +0000 (16:19 -0300)]
linux-fslc: Bump revision to 076d88a62d8a

This commit merge tag 'v4.17.4' into 4.17.x+fslc

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 90b519e32dd218774b62f92f471b742492c175d7)

6 years agoimx7ulpevk: Rename hdmi device tree to mipi
Mihai Lindner [Tue, 3 Jul 2018 18:43:07 +0000 (21:43 +0300)]
imx7ulpevk: Rename hdmi device tree to mipi

The dtb target was renamed in linux-imx.

Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit d73fb309f7a82a75ffe8ebed07c38c7d03ed14eb)

6 years agoimage_types_fsl.bbclass: Remove image generation code
Otavio Salvador [Tue, 24 Apr 2018 19:03:33 +0000 (16:03 -0300)]
image_types_fsl.bbclass: Remove image generation code

In rocko, when using this we triggered a warning so users had enough
time to migrate.

We are now relying on wic to generate the uSD images and then we ought
to remove the leftover code for this release.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit da37faff8be7ef91a828210b4d9476433ee7cc21)

6 years agoRemove barebox and imx-bootlets
Otavio Salvador [Tue, 24 Apr 2018 19:07:03 +0000 (16:07 -0300)]
Remove barebox and imx-bootlets

Those are untested and anyone interested in supporting them (mainly
barebox) ought to send the support to OE-Core instead.

This also removes the corresponding code from the
image_types_fsl.bbclass as it is not going to be used from now on.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 6684de04015a151e9b63186842868c3aeda1c137)

6 years agowic: Fix image generation for i.MX MXS SoC family
Otavio Salvador [Thu, 26 Apr 2018 16:52:55 +0000 (13:52 -0300)]
wic: Fix image generation for i.MX MXS SoC family

The image needs to use the U-Boot generated, for the uSD card, so a
dependency on that must be added to ensure the file is available prior
'wic' uses it.

Besides that, the fstype needs to be changed so it sets the partition
mark allowing the bootrom to find it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit ecdd93874f434fc200c811392cc83f255f26a4c9)

6 years agomachine-overrides-extender.bbclass: Avoid an empty override
Otavio Salvador [Tue, 3 Jul 2018 21:39:26 +0000 (18:39 -0300)]
machine-overrides-extender.bbclass: Avoid an empty override

All uses of MACHINEOVERRIDES already include an ':' suffix so we
cannot add it again or we end with a match-all override.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit e9820a5de4a32b80649946cdacfec9ffa9e9fe33)

6 years agolinux-fslc: Bump revision 8f6a840816af
Fabio Berton [Mon, 2 Jul 2018 19:01:29 +0000 (16:01 -0300)]
linux-fslc: Bump revision 8f6a840816af

This commit merge tag 'v4.17.2' into 4.17.x+fslc and apply the
following changes on top of it:

    - 8f6a840816af drm/etnaviv: replace license text with SPDX tags
    - ce59f9284323 drm/etnaviv: mmuv2: support 40 bit phys address
    - 0fd00862a333 drm/etnaviv: mmuv2: allocate 2nd level page tables on demand
    - 06bce7f3fbea drm/etnaviv: switch MMU page tables to writecombine memory
    - cc4f038f7db0 drm/etnaviv: remove register logging
    - 505c2af3829b drm/etnaviv: remove cycling through MMU address space
    - 119a87f31347 drm/etnaviv: correct timeout calculation
    - 1758817f6728 media: coda: set colorimetry on coded queue
    - d4a77abdd39c media: coda: do not try to propagate format if capture queue busy
    - 6cf92dc90e58 media: coda: reuse coda_s_fmt_vid_cap to propagate format in coda_s_fmt_vid_out

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 4604b87e0f98dbcd50f4ed7670769ed0fd345b4d)

6 years agomesa: Fix do_install_append_imxgpu task
Fabio Berton [Mon, 2 Jul 2018 19:01:26 +0000 (16:01 -0300)]
mesa: Fix do_install_append_imxgpu task

usr/include/KHR is a directory, remove using rm -rf command.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 44f7b994b87dab1e2a867515244f6980b0d53e4d)

6 years agomachine-overrides-extender.bbclass: Postpone overrides processing
Otavio Salvador [Mon, 2 Jul 2018 23:24:11 +0000 (20:24 -0300)]
machine-overrides-extender.bbclass: Postpone overrides processing

We need to keep a reference to the original MACHINEOVERRIDES value so
it can be reprocessed as need. This allow the compatibility with
existing BSP's while fixing the complex multilib interactions.

I'd like to record that Richard Purdie was key to solve this issue.
Its implications were beyond my understanding until he guided me and
provided a prototype fix.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit d227cc133101ecbce25fc4f775863107537f883d)

6 years agolibdrm: Set DEFAULT_PREFERRENCE as -1
Otavio Salvador [Fri, 29 Jun 2018 19:50:16 +0000 (16:50 -0300)]
libdrm: Set DEFAULT_PREFERRENCE as -1

The libdrm fork should be explicitly set to be used. This reduces the
risk of it being used by mistake.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit a27acfd6d0d3700e2dfe22099cce3d3dae12045a)

6 years agomanagement-complex: Fix broken syntax
Otavio Salvador [Mon, 2 Jul 2018 21:54:30 +0000 (18:54 -0300)]
management-complex: Fix broken syntax

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit a0364932fe477788c0df6484951ec34683b8d031)

6 years agomc: update to version 10.8.0
Chunrong Guo [Wed, 27 Jun 2018 09:26:08 +0000 (17:26 +0800)]
mc: update to version 10.8.0

*include the following changes:

9c1d730 - Add the prebuilt binaries of mc 10.8.0 release
840aa8e - Initial commit to add README

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 2f1b2deb66a8aec26fd53e20c215300c3c745db4)

6 years agoaiopsl: udpate to e34ec59
Chunrong Guo [Wed, 27 Jun 2018 09:26:07 +0000 (17:26 +0800)]
aiopsl: udpate to e34ec59

*include the following changes:
e34ec59 - apps: update elfs before tag
f24816b - firmware no.: 8.2.1
6e9f4b5 - aiopsl : Fix compile warnings and cosmetics
c19e5be - aiopsl: fix only one core processing packets issue
95ef568 - aiopsl: add support for dpni label

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 0c2cd69a319cc2519a89a6880ab1d70749614b98)

6 years agocst: update to e9abf79
Chunrong Guo [Wed, 27 Jun 2018 09:26:06 +0000 (17:26 +0800)]
cst: update to e9abf79

This includes the following change:
e9abf79 - LS1088ARDB: Change DPL address SD in input file
74d1ebe - LS1088ARDB: Change DPL address in input file
1e600c9 - Merge pull request #87 in SDK/cst from ~NXA27423/cst-ls1012:master to master
11e6437 - Merge pull request #90 in SDK/cst from ~NXA08484/cst:master to master
7abaf13 - create_header: Add command line options
f581f73 - Changes based on utilities supported in OpenSSL 1.1.0.
4daeb19 - LS1012AFRWY: Change kernel address in inputfile
20837ba - CH3: Fix issue in SRK offset Calculation
42f33a8 - LS1012AFRWY: Fix error in generating srk_hash.txt with flexbuild
be43538 - LS1012AFRWY: Add input files for the platform

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit e2b1e40d2332b7d2e0038b9510436f58c9d5ac8c)

6 years agouefi: update to e48de4f
Chunrong Guo [Wed, 27 Jun 2018 09:26:05 +0000 (17:26 +0800)]
uefi: update to e48de4f

This includes the following change:

e48de4f - update binaries for LSDK 18.06

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit cf681f572b7b18c5f78d967047a75350ac51e997)

6 years agou-boot-qoriq: udpate to version 2018.03
Chunrong Guo [Wed, 27 Jun 2018 09:26:04 +0000 (17:26 +0800)]
u-boot-qoriq: udpate to version 2018.03

Following changes are included:
11abda9 - armv8: ls2080ardb: update copyright claim
7d5b814 - Revert "EHCI: Fix endian access issue on EHCI intinalization"
160deab - Revert "powerpc/T104xRDB: Fix endian access issue on EHCI intinalization"
007ac5c - Revert "powerpc/p1_p2_rdb_pc: Fix endian access issue on EHCI intinalization"
e82a7bc - LS1043ARBD: Fix SD Boot issue with PPA
ec7f4b3 - armv8: ls1088a: change dpl load address to 0x80001000 from 0x80000000
93bb79f - board: freescale: ls1012afrwy: Add LS1012A-FRWY board support.
aabf70f - board: freescale: ls1012afrx:Common files to support
da97a2b - watchdog: disable to build the driver in default
60afe56 - watchdog: Kconfig: add config to disable wdog reset
cf17a12 - watchdog: driver support for layerscape
6ac9ac0 - armv8: ls1088: change ttyS1 to ttyS0
0c9305b - boards: freescale: lsch3: Add 0.9v entry for vid
0346460 - armv8: ls1088a: change dpl load command from apply to lazyapply.
c43f05a - drivers/net/vsc9953: Initialize action RAM in VCAP complex
0a1adba - board: Kconfig: Re-Arrangement of PPA firmware and header addresses
ecf1d55 - arm: ls1021aqds: config: enable CONFIG_ID_EEPROM for mac command
4d94f28 - board: freescale: ls1012ardb: Add command to switch QSPI bank
cba0675 - driver/mtd/spi: Default page size Spansion flash "S25FS512S" is 256b
7c4f3c8 - LS1012AFRWY: Add Secure Boot support
51a93cc - board: move ppa header address in board specific kconfig
e26f485 - board: ls1012a: FRWY-LS1012A board support
d000b14 - board: move ppa firmware address in board specific kconfig
2f51b35 - armv8: ls1088a: Enable USB in ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig
842df34 - armv8/fsl-lsch2: make the workaround for PIN MUX erratum A010539 robust
1fa9417 - armv8: sec_firmware: Add support for multiple loadables
eca9656 - armv8/fsl-lsch2: correct QMAN clock
c3a6ed4 - driver: net: fsl-mc: updated copyright info
39966d9 - armv8: ls1088a: Move CONFIG_BOOTARGS and CONFIG_CMD_GREPENV to defconfig
ccde7d9 - armv8: ls1088aqds: Enable mdio commands on u-boot prompt
9c912c7 - armv8: sec_firmware: Remove JR3 from device tree node in all cases
5ecc2f5 - mmc: fsl_esdhc: fix probe issue without CONFIG_BLK enabled
8ed20db - usb: Add delay to fix USB 2.0 stick enumeration failure on LS208xA
b133620 - EHCI: Fix endian access issue on EHCI intinalization
faf6feb - u-boot: fixup the iommu-map property of fsl-mc node
8e0c780 - powerpc: configs: Set initrd_high environment varible

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 4c888d0c8d8d9a38d7361a715ec5c768f2e02bdb)

6 years agoppfe-firmware: update to ppfe-firmware
Chunrong Guo [Wed, 27 Jun 2018 09:26:03 +0000 (17:26 +0800)]
ppfe-firmware: update to ppfe-firmware

*include the following changes:
50c825b - DNCPE-372 Update binary files

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 9fc9d9a26f0112e8fa483971e1aff6fe8bdcfc2c)

6 years agorcw: update to 1f43bef4b4475d8e81c9
Chunrong Guo [Wed, 27 Jun 2018 09:26:02 +0000 (17:26 +0800)]
rcw: update to 1f43bef4b4475d8e81c9

*include the following changes:
1f43bef - Fix PBI command length for both ls1088ard and ls1088aqds boards.
32f8b4f - ls2088ardb_rev1.1: Add rcw_2100.rcw for serdes protocol 2a_41
84078ad - Include auto swapped binaries for qspiboot during install target
8646cf1 - ls2088ardb: Add rcw_2100.rcw for serdes protocol 2a_41
591b59d - ls1012a: Add ls1012afrwy RCW configuration files
fd6b9ef - Add support to auto swap rcw for qspiboot if required.
6f514c1 - Ls1043aqds: Fix building error for rcw_1600.rcw

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit d72a2d9dd98e24c22b7083f45f62fef93c261d15)

6 years agoppa: update to dcbe27bb5d1
Chunrong Guo [Wed, 27 Jun 2018 09:26:01 +0000 (17:26 +0800)]
ppa: update to dcbe27bb5d1

*include the following changes:
dcbe27b - Adding policy.h flag for spectre v4 mitigation
4fbad6a - Fix suppression flag on sec_init
24d6891 - Adding SUPPRESS_TZC and SUPPRESS_SEC to policy cfg file; Adding platforms qds & rdb to device LX2160; Adding platform emu t
006a0e5 - Correcting disable load-pass-store in CPUACTLR from bit [53] to bit [55]
8e557f9 - Adding spectre v4 mitigation for a57, a72 cores.
b0a07cf - Updating reset function for LX2160.
74814cf - Increasing L3 cache flush timeout from 100ms to 333ms.
9d5ecd2 - Enabled OP-TEE support on LS1012FRWY baord.
9950f2b - Removing wfe from core 0 sequence when waiting for soc init tasks to complete.
508ed94 - Enabling initialization of the CCN-508 interconnect.
fcede9a - Adding support for ls1043 variant ls1023, and ls1046 variant ls1026.
7d5dcc1 - Fixing PSCI_SYS_OFF so that this function never returns.
8e8fc09 - Removing \r from line endings of shell script gen_its.
1c4fc78 - its: Correct config node as per upstream u-boot guideline
f00e7ef - Adding smc function SIP_HW_UNQ_KEY_32.
c87863a - Fixing usage of _check_sec_disabled().
d0ec59c - Fix for PLATSEC-437 & PLATSEC-457.
926fb97 - Adding smc function (SIP_ALLOW_L2_CLR_32) to allow clearing of L2 memory errs.
781d7b5 - Fixing broken build of LS1043, LS1012.
7289e86 - Adding smc function SIP_ALLOW_L1L2_ERR_32; Added test for SPD interface.
8804017 - Providing very fast-path for SMCC_ARCH_WORKAROUND_1
e9dfa28 - Moved _soc_check_sec_enabled() to _check_sec_disabled(); Fixed conflicting defs in LX2160 soc.h.
474b797 - Changing LX2160 cluster 3 handling from RCW frequency-based to RCW[850] selectable.
f56bd49 - fuse: Correct OTPMK value mapping to OTPMK registers

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit eb3b8c1bc71f315eb8596c946214566b8c51e1c6)

6 years agomc-utils: update to de3c46f16
Chunrong Guo [Wed, 27 Jun 2018 09:26:00 +0000 (17:26 +0800)]
mc-utils: update to de3c46f16

Following changes are included:

de3c46f - api: add MC 10.8.0 APIs
7a3fa0f - Updated DPSECI API
2155e5c - Add MC 10.7.0 APIs
59edbdf - Added MC 10.4.0, 10.5.0 and 10.6.0 APIs

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 098db760134803cdb746e7b0871cce25c0e50585)

6 years agols2-phy: update to 9143c2a3
Chunrong Guo [Wed, 27 Jun 2018 09:25:59 +0000 (17:25 +0800)]
ls2-phy: update to 9143c2a3

*include the following changes:
9143c2a - Update EULA.txt
6ff561e - Add SCR.txt

*update LIC_FILES_CHKSUM

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit ecac4d4424982a64c55aac82936027751a1b418f)

6 years agoimx7dsabresd: Use mx7dsabresd_config configuration for sd devices
Fabio Berton [Mon, 2 Jul 2018 17:10:24 +0000 (14:10 -0300)]
imx7dsabresd: Use mx7dsabresd_config configuration for sd devices

Defconfig mx7dsabresd_secure_config was removed on U-Boot:

commit feb14c6348caadfd7bbb1e972f0c484faffa5a72
Author: Fabio Estevam <fabio.estevam@nxp.com>
Date:   Thu Apr 19 17:34:10 2018 -0300

    mx7dsabresd: Remove the mx7dsabresd_secure_defconfig target

    mx7dsabresd_secure_defconfig was introduced to allow booting NXP kernel
    that has CAAM support and needs to boot in secure mode.

    Instead of keeping two different config targets for the same board,
    remove mx7dsabresd_secure_defconfig and select
    CONFIG_ARMV7_BOOT_SEC_DEFAULT inside mx7dsabresd_defconfig so that
    this target could be used to boot both mainline and the vendor kernel.

    This makes maintenance task easier and avoid potentially confusion
    for the end user.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 88f4d66820251bc706ab65680ec10572b73a29f2)

6 years agoRevert "dtc: Add recipe for version 1.4.5"
Mihai Lindner [Fri, 29 Jun 2018 17:23:55 +0000 (20:23 +0300)]
Revert "dtc: Add recipe for version 1.4.5"

This reverts commit 64fc16b33143a001a895ffaf278964efdd7f3b14.
This doesn't belong in sumo, dtc is already at version 1.4.5.

Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
6 years agocogl-1.0: Use imxgpu3d override
Tom Hochstein [Wed, 27 Jun 2018 22:17:30 +0000 (17:17 -0500)]
cogl-1.0: Use imxgpu3d override

CoGL now depends on imxgpu3d since imxgpu2d is no longer used as
"any GPU" selector.  See following comment for details:

 imx-base.inc: Add imxgpu to MACHINEOVERRIDES_EXTENDER

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit f5845ffd70cb0b1e1782adc8ae0507adbbad8fb9)

6 years agoclutter-1.0: Use imxgpu3d override
Tom Hochstein [Wed, 27 Jun 2018 22:17:29 +0000 (17:17 -0500)]
clutter-1.0: Use imxgpu3d override

Clutter now depends on imxgpu3d since imxgpu2d is no longer used as
"any GPU" selector.  See following comment for details:

 imx-base.inc: Add imxgpu to MACHINEOVERRIDES_EXTENDER

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit e4912ae5a83dcaa0cbe9d8fb5a7e7dc84d90bcf2)

6 years agomesa-demos: Include glut for i.MX GPU
Tom Hochstein [Wed, 27 Jun 2018 01:55:44 +0000 (20:55 -0500)]
mesa-demos: Include glut for i.MX GPU

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 5f83013637c668bbf42d9576fb937500558e6b5b)

6 years agomesa-demos: Use the new imxgpu override
Tom Hochstein [Wed, 27 Jun 2018 01:55:43 +0000 (20:55 -0500)]
mesa-demos: Use the new imxgpu override

Use imxgpu override for GPU 2D or 3D condition

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 54e0225ba79ae00f17954c6f5055dddaa0b1fd97)

6 years agomesa: Update to use new imxgpu override
Tom Hochstein [Wed, 27 Jun 2018 22:17:28 +0000 (17:17 -0500)]
mesa: Update to use new imxgpu override

This makes use of new imxgpu override as future i.MX8M addition
requires it as i.MX8M has 3D GPU but no 2D.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 78af77d37275994be154b730ebeb46e86ecab902)

6 years agoimx-base.inc: Add imxgpu to MACHINEOVERRIDES_EXTENDER
Tom Hochstein [Fri, 22 Jun 2018 20:17:18 +0000 (15:17 -0500)]
imx-base.inc: Add imxgpu to MACHINEOVERRIDES_EXTENDER

Add imxgpu to simplify the conditional for imxgpu2d OR
imxgpu3d. Note that i.MX 8MQ has no 2D, so the previous
idiom of using imxgpu2d to mean any GPU is no longer correct.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 92d5d69262eac2f397769c3f351001c92f675b1f)

6 years agomesa: Adjust install for files provided by imx-gpu-viv
Tom Hochstein [Wed, 27 Jun 2018 22:17:27 +0000 (17:17 -0500)]
mesa: Adjust install for files provided by imx-gpu-viv

- Remove wayland-egl.pc
- Remove KHR headers

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 36b1840a853ed1b2d766b06b6644692e7f95d398)

6 years agomesa: Cleanup
Tom Hochstein [Wed, 27 Jun 2018 01:55:40 +0000 (20:55 -0500)]
mesa: Cleanup

Fix variable order and remove references to non-existent
packages.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 94caa35f706b7bce31ff495bed7dbed4625790d0)

6 years agoimx-base: Use i.MX's fork of libdrm for i.MX6 and i.MX7
Otavio Salvador [Fri, 29 Jun 2018 16:56:17 +0000 (13:56 -0300)]
imx-base: Use i.MX's fork of libdrm for i.MX6 and i.MX7

There few components which require the new libdrm fork, so we must use
it when using NXP's BSP components. Besides adding the preferred
version we need also to add it to the SoC architecture filter.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 75a3fdf4cb0e3a8bb8a08da0a9a486f541f23124)

6 years agolibdrm: Remove unused patches
Otavio Salvador [Fri, 29 Jun 2018 17:02:25 +0000 (14:02 -0300)]
libdrm: Remove unused patches

Since we are using the NXP's fork of libdrm, we can now drop the fork
and as consequence the SoC architecture setting for it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 7305e99febb454b216ce7c0ed2ec5495fa73d739)

6 years agolibdrm: Create i.MX specific version recipe to switch to use i.MX fork
Yuqing Zhu [Wed, 6 Jun 2018 03:46:42 +0000 (11:46 +0800)]
libdrm: Create i.MX specific version recipe to switch to use i.MX fork

This i.MX specific version is based on v2.4.84

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 1140b85a914f0746b802ea5aab7699a8c718da32)

6 years agoimx-gpu-viv: Fix ParseError
Fabio Berton [Wed, 27 Jun 2018 16:58:51 +0000 (13:58 -0300)]
imx-gpu-viv: Fix ParseError

Remove extra quote to fix parser error.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit aa3c33cdcd9c336ec39765d5a73dc62f87393f2c)