]> code.ossystems Code Review - meta-freescale.git/log
meta-freescale.git
4 years agocst: update to 9aafbdf
Ting Liu [Tue, 21 Apr 2020 05:03:42 +0000 (07:03 +0200)]
cst: update to 9aafbdf

New commits:
9aafbdf scripts: LS1012ARDB: Correct path for pfe image
ac52cd3 scripts/platform:LS1028A: Changes firmware header offsets
21a5439 scripts/platform:LX104xA, LS1012A: Changes firmware header offsets
fbe5c2e scripts/platform:LX2160A: Changes firmware header offsets
51a32cb scripts/platform:LS1088A, LS2088A: Changes firmware header offsets

Signed-off-by: Ting Liu <ting.liu@nxp.com>
4 years agouefi: update to e95ed52
Ting Liu [Tue, 21 Apr 2020 04:57:21 +0000 (06:57 +0200)]
uefi: update to e95ed52

Main updates:
Common binary support for LX2-Rev1 and LX2-Rev2
LX2160A: PCIe ECAM Support
Inphi: skip error return if all PLLs are not locked

Signed-off-by: Ting Liu <ting.liu@nxp.com>
4 years agorcw: install rev2 binaries for lx2160ardb
Ting Liu [Sat, 18 Apr 2020 09:59:12 +0000 (17:59 +0800)]
rcw: install rev2 binaries for lx2160ardb

Now LX2160A rev2 is supported. Install rcw for both rev1 and rev2.

LX2160A rev2 processor fixes some PCIe/qDMA/SATA/USB/FlexCAN issues. A new
Reference Design Board (https://www.nxp.com/part/LX2160A-RDB-B) ships it.

RCW binaries in folder lx2160ardb_rev2 is for the Reference Design Board
with Rev 2 processor. Old boards uses rcw binariess in folder lx2160ardb.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
4 years agodp-firmware-cadence: upgrade to LSDK-20.04
Ting Liu [Mon, 20 Apr 2020 02:57:19 +0000 (04:57 +0200)]
dp-firmware-cadence: upgrade to LSDK-20.04

Improved handling responses on AUX channel to fix failure on some
Dell monitors.

License-Update:
use 'LA_OPT_NXP_Software_License v11 February 2020'

Signed-off-by: Ting Liu <ting.liu@nxp.com>
4 years agopktgen-dpdk: upgrade to 19.12.0
Ting Liu [Mon, 20 Apr 2020 02:32:41 +0000 (04:32 +0200)]
pktgen-dpdk: upgrade to 19.12.0

Modifications:
 - 19.12.0 - Add per queue stats when the hardware does not support it. Use
             the 'page stats' command to see data and use 'port X' to switch
     ports.
 - 19.10.0 - Fix up the save/load commands to get correct as in GRE key
             command
     Fix up the problem with pcap files not getting sent if the
     number of packets was small
     fix up a crash if the scrn pointer was invalid on startup
     fixed the log output in startup
     Fixed the save/load scripts to use the correct commands.
     Fix the IPv4/6 checksum calculations
 - 19.08.0 - Fix linking of Lua library when no pkg-config file is found and
           linking liblua.a
   Fixed and issue with packet rate not being changed when the packet
   size is changed
   Change version numering to year.month.patch format
   Change lua pktgen.set_mac() to have three args set_mac(<portlist>,
   'src|dst', mac_addr) instead of two args
   add support for setting via lua src and dst mac addresses
   fix up the RSS port configuration options
           updated code to adjust the packet tx interval based on command
   changes on the packet size and other areas.
 - 3.7.1 - Add TTL support to single and range modes. Better docs for dump packets
         - Pktgen 3.7.1 will build with DPDK 18.02 to 19.08-rc2, but 18.08 has
   a problem with vhost.h VRING_EVENT_F_AVAIL not defined and appears
   the Ubuntu 19.04 version I am running does not define it correctly.
         - fixed the RX side using TX count for rx_burst command.
 - General cleanup
 - 3.7.0 - Fixed build issues with DPDK 19.08 as DPDK renamed a lot of defines
           Fixed up the meson files to build pktgen with meson and ninja
           Minor cleanup

Signed-off-by: Ting Liu <ting.liu@nxp.com>
4 years agosecure-obj: update to fb179a8
Ting Liu [Mon, 20 Apr 2020 01:52:47 +0000 (03:52 +0200)]
secure-obj: update to fb179a8

Upgrade secure-obj to fb179a8 containing just:
fb179a8 Bug: Fix for PLATSEC-969
since update for LSDK-19.09

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Jens Rehsack <sno@netbsd.org>
(cherry picked from commit 41a8c80efe5c197a21433aa48d9038898c636054)

4 years agooptee-test-qoriq: add patch to use python3
Ting Liu [Sat, 18 Apr 2020 14:55:34 +0000 (22:55 +0800)]
optee-test-qoriq: add patch to use python3

python2 is EOL January 2020. This fixes build failure due to python2.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
4 years agolinux-fslc-imx: introduce 5.4.y kernel with NXP patches
Andrey Zhizhikin [Mon, 4 May 2020 21:55:53 +0000 (21:55 +0000)]
linux-fslc-imx: introduce 5.4.y kernel with NXP patches

Introduce new kernel recipe, which incorporates all patches from
original NXP release 5.4.3-1.0.0 and latest patch level from stable
5.4.y kernel tree from korg.

This kernel recipe is a consolidation of modifications from upstream and
NXP and is meant to be supported by Community with further stable
patchlevel updates, individual patches which pending in upstream to be
included in the stable, and also to receive updates from NXP internal source
tree from the [lf-5.4.y] branch, which corresponds to release 5.4.3-1.0.0.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
4 years agolinux-imx-[mfgtool]-5.4.3: update recipes to align with kernel-yocto
Andrey Zhizhikin [Tue, 5 May 2020 17:13:55 +0000 (17:13 +0000)]
linux-imx-[mfgtool]-5.4.3: update recipes to align with kernel-yocto

When kernel-yocto class is inherited by kernel recipes, the way how PV
is constructed changes to reflect GIT kernel tags and meta information.

This causes the fetcher search to fail, since paths used to locate files
are compiled from PV.

Replace version-specific paths in recipes to use PN instead, which is
registered in the fetcher as a valid search location.

Linux kernel recipe should have LINUX_VERSION also defined, since it is
used by kernel-yocto class to derive PV. This version is set to the real
kernel version provided by NXP in their source tree.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
4 years agolinux-fslc: update PV definition to align with kernel-yocto
Andrey Zhizhikin [Mon, 4 May 2020 22:02:12 +0000 (22:02 +0000)]
linux-fslc: update PV definition to align with kernel-yocto

PV is defined in the base in linux-imx.inc file and uses the definition
LINUX_VERSION required by kernel-yocto.bbclass.

Instead of defining the PV in the target recipe, define LINUX_VERSION
which is effectively expanded in PV and used by the kernel-yocto class.

This define should match to the kernel version referenced by SRC_URI and
should be updated once patchlevel is merged.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
4 years agolinux-imx.inc: inherit kernel-yocto class
Andrey Zhizhikin [Sun, 3 May 2020 21:11:36 +0000 (21:11 +0000)]
linux-imx.inc: inherit kernel-yocto class

Since commit [de2ef0120432cba343452151e86cbc3c99876524] in oe-core, it
is possible to use kernel-yocto class without including linux-yocto.inc
into the recipe.

Inherit the class in order to take advantage of providing mechanisms to
use kernel config fragments, patches and verification features
implemented upstream.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoweston: Restore partial clients for i.MX 6 and 7
Tom Hochstein [Tue, 5 May 2020 17:16:01 +0000 (12:16 -0500)]
weston: Restore partial clients for i.MX 6 and 7

The clients configuration for fbdev was recently removed from
meta-freescale [1] because of the following error:

```
| Run-time dependency gbm found: NO (tried pkgconfig and cmake)
|
| clients/meson.build:134:4: ERROR: Problem encountered: weston-simple-dmabuf-egl requires gbm which was not found. If you rather not build this, drop "dmabuf-egl" from simple-clients option.
```

[1] eda44e49618610c13ebe4c026cd4981b404a1543

It was also removed for non-Wayland from OE-core [2] because of the
following error in the same client dmabuf-egl:

```
clients/meson.build:141:4: ERROR: Problem encountered: weston-simple-dmabuf-egl
requires option renderer-gl which is not enabled. If you rather not build this,
drop "dmabuf-egl" from simple-clients option.
```

[2] 9b1d30810eeecb46b977c8eed68be69aef891312

Restore the working subset of clients.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agolinux-qoriq: add perf patch to resolve linux-qoriq build
Andrey Zhizhikin [Tue, 5 May 2020 13:31:54 +0000 (13:31 +0000)]
linux-qoriq: add perf patch to resolve linux-qoriq build

Kernel 5.4.y for QorIQ platform requires the patch in order to compile
perf component successfully.

Patch has a proper Upstream-Status and points to commit SHA in upstream
kernel tree. It is identical to the one present in the linux-imx recipe,
since kernle tree for i.MX platform also requires it.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agolinux-imx-5.4.3: update perf patch with upstream status
Andrey Zhizhikin [Tue, 5 May 2020 13:29:47 +0000 (13:29 +0000)]
linux-imx-5.4.3: update perf patch with upstream status

Upstream-Status tag was missing in the original patch and is updated to
the Submitted status with reporting commit SHA in upstream.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoqtbase: Fix patch fuzz for mkspecs/linux-oe-g++/qmake.conf
antznin [Tue, 5 May 2020 13:28:15 +0000 (15:28 +0200)]
qtbase: Fix patch fuzz for mkspecs/linux-oe-g++/qmake.conf

The current version of the patch causes a fuzz because of context
change.

Signed-off-by: antznin <agodard@witekio.com>
5 years agooptee-os: Replace /lib by ${nonarch_base_libdir} in do_install
antznin [Wed, 29 Apr 2020 12:37:38 +0000 (14:37 +0200)]
optee-os: Replace /lib by ${nonarch_base_libdir} in do_install

This fixes a do_package error when using `usrmerge` in
`DISTRO_FEATURES`. In that case the bin files should have been installed
in /usr/lib. Using ${nonarch_base_libdir} makes the location specific to
distro settings.

Signed-off-by: antznin <agodard@witekio.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I9d6c015975b093f74f29927a7e8bdfd87fd3dc09

5 years agoqtbase: Allow easy override of the mainline BSP GL backend
Otavio Salvador [Sat, 2 May 2020 00:33:39 +0000 (21:33 -0300)]
qtbase: Allow easy override of the mainline BSP GL backend

Using a weak setting, allow distributions to override it and make
customizations if need (use gl, for example).

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: Id1ee47764148e07feba86e16cd7d282a37dcf9e9

5 years agoRevert "qtbase: Do not pin gles2 when using open source graphic stack"
Otavio Salvador [Fri, 1 May 2020 06:24:38 +0000 (03:24 -0300)]
Revert "qtbase: Do not pin gles2 when using open source graphic stack"

This reverts commit 1cf9efd20fd94afdd2f7484b0570c570a21b8b65.

The qtbase configure fail to find any suitable GL library, so it fails
with:

,----
| WARNING: No QPA platform plugin enabled! This will produce a Qt that
| cannot run GUI applications.  See "Platform backends" in the output of
| --help.
|
| ERROR: Feature 'opengl-desktop' was enabled, but the pre-condition
| '(config.win32 && !config.winrt && !features.opengles2
|     && (config.msvc || libs.opengl))
|  || (!config.watchos && !config.win32 && !config.wasm && libs.opengl)' failed.
|
| ERROR: Feature 'eglfs' was enabled, but the pre-condition
|   '!config.android && !config.darwin && !config.win32 && !config.wasm
|   && features.egl' failed.
`----

Fixed: #378

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
5 years agoimx-boot: fix mkimage_uboot linking issue
Ming Liu [Sat, 2 May 2020 11:09:17 +0000 (13:09 +0200)]
imx-boot: fix mkimage_uboot linking issue

In imx-boot's Makefile, it downloads a native tool mkimage_uboot and
executes it, but this native tool requires libssl.so.1.1, which is in
${STAGING_LIBDIR_NATIVE}, we need set LD_LIBRARY_PATH to include it, or
it might run into following errors:
| ./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb
| ./mkimage_uboot: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Signed-off-by: Ming Liu <ming.liu@toradex.com>
5 years agokernel-module-qca6174_3.0: avoid kernel module build errors
Peter Griffin [Fri, 1 May 2020 12:10:16 +0000 (14:10 +0200)]
kernel-module-qca6174_3.0: avoid kernel module build errors

Currently the kernel module fails to build with following
undefined symbols due to missing Kconfig option.

| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:15910:13: error: 'qca_wlan_vendor_ocb_set_config_policy' undeclared here (not in a function); did you mean 'qca_wlan_vendor_setband_policy'?
| 15910 |   .policy = qca_wlan_vendor_ocb_set_config_policy,
|       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |             qca_wlan_vendor_setband_policy
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:15919:13: error: 'qca_wlan_vendor_ocb_set_utc_time_policy' undeclared here (not in a function); did you mean 'qca_wlan_vendor_ll_set_policy'?
| 15919 |   .policy = qca_wlan_vendor_ocb_set_utc_time_policy,
|       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |             qca_wlan_vendor_ll_set_policy
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:15929:13: error: 'qca_wlan_vendor_ocb_start_timing_advert_policy' undeclared here (not in a function); did you mean 'qca_wlan_vendor_attr_ocb_start_timing_advert'?
| 15929 |   .policy = qca_wlan_vendor_ocb_start_timing_advert_policy,
|       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |             qca_wlan_vendor_attr_ocb_start_timing_advert
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:15938:13: error: 'qca_wlan_vendor_ocb_stop_timing_advert_policy' undeclared here (not in a function); did you mean 'qca_wlan_vendor_attr_ocb_stop_timing_advert'?
| 15938 |   .policy = qca_wlan_vendor_ocb_stop_timing_advert_policy,
|       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |             qca_wlan_vendor_attr_ocb_stop_timing_advert
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:15956:13: error: 'qca_wlan_vendor_dcc_get_stats' undeclared here (not in a function); did you mean 'qca_wlan_vendor_attr_dcc_get_stats'?
| 15956 |   .policy = qca_wlan_vendor_dcc_get_stats,
|       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |             qca_wlan_vendor_attr_dcc_get_stats
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:15965:13: error: 'qca_wlan_vendor_dcc_clear_stats' undeclared here (not in a function); did you mean 'qca_wlan_vendor_attr_dcc_clear_stats'?
| 15965 |   .policy = qca_wlan_vendor_dcc_clear_stats,
|       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |             qca_wlan_vendor_attr_dcc_clear_stats
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:15974:13: error: 'qca_wlan_vendor_dcc_update_ndl' undeclared here (not in a function); did you mean 'qca_wlan_vendor_attr_dcc_update_ndl'?
| 15974 |   .policy = qca_wlan_vendor_dcc_update_ndl,
|       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |             qca_wlan_vendor_attr_dcc_update_ndl
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c: In function '__wlan_hdd_cfg80211_scan':
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:22920:8: warning: ISO C90 forbids variable length array 'chList' [-Wvla]
| 22920 |        char chList [(request->n_channels*5)+1];
|       |        ^~~~
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c: In function '__wlan_hdd_cfg80211_sched_scan_start':
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:28751:9: warning: ISO C90 forbids variable length array 'chList' [-Wvla]
| 28751 |         char chList [(request->n_channels*5)+1];
|       |         ^~~~
| At top level:
| rpb-dunfell/build-rpb-wayland/tmp-rpb_wayland-glibc/work/imx8mqevk-linaro-linux/kernel-module-qca6174/3.0-r0/git/CORE/HDD/src/wlan_hdd_cfg80211.c:25078:20: warning: 'hdd_ieee80211_reason_code_to_str' defined but not used [-Wunused-function]
| 25078 | static const char *hdd_ieee80211_reason_code_to_str(uint16_t reason)
|       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
5 years agoimx-base.inc: Add imx override to filter_out list of mainline BSP
Otavio Salvador [Fri, 1 May 2020 05:23:14 +0000 (02:23 -0300)]
imx-base.inc: Add imx override to filter_out list of mainline BSP

We should avoid leaking NXP settings when using mainline BSP so we need
to filter it out.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
5 years agoimx-base.inc: Reduce override of libdrm for mx6, mx7 and mx8
Otavio Salvador [Fri, 1 May 2020 05:20:43 +0000 (02:20 -0300)]
imx-base.inc: Reduce override of libdrm for mx6, mx7 and mx8

The library should not be overrided for SoCs without official BSP
releases from NXP as it is untested.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
5 years agomesa: Remove 'vc4' from PACKAGECONFIG for mainline BSP
Otavio Salvador [Fri, 1 May 2020 23:10:58 +0000 (20:10 -0300)]
mesa: Remove 'vc4' from PACKAGECONFIG for mainline BSP

The SoCs supported by meta-freescale does not use vc4 and then we can
drop it from the features.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I2b8e04c54644315401315c442a5e2cec8624c3f3

5 years agomesa: Simplify PACKAGECONFIG for mainline BSP
Otavio Salvador [Fri, 1 May 2020 05:19:15 +0000 (02:19 -0300)]
mesa: Simplify PACKAGECONFIG for mainline BSP

The mainline BSP can use same settings for all SoCs reducing the
complexity.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
5 years agoxserver-xf86-config: Fix xorg.conf for 6ULL
Tom Hochstein [Fri, 24 Apr 2020 22:22:11 +0000 (17:22 -0500)]
xserver-xf86-config: Fix xorg.conf for 6ULL

The 6ULL does not have a hardware-accelerated framebuffer
device, so switch to the kernel framebuffer device.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoweston: Cleanup FILES for no longer used folder
Tom Hochstein [Tue, 28 Apr 2020 19:46:10 +0000 (14:46 -0500)]
weston: Cleanup FILES for no longer used folder

${sysconfdir}/xdg/weston was used to install weston.ini,
but that functionality has moved to weston-init.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoweston: Fix build error for opengl typo
Tom Hochstein [Tue, 28 Apr 2020 19:23:12 +0000 (14:23 -0500)]
weston: Fix build error for opengl typo

There was an extra hyphen on the command line:

meson: error: unrecognized arguments: --Dopengl=false

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoweston: Fix non-GBM build error for i.MX 6 & 7
Tom Hochstein [Tue, 28 Apr 2020 19:21:02 +0000 (14:21 -0500)]
weston: Fix non-GBM build error for i.MX 6 & 7

i.MX 6 and 7 doesn't support GBM, required by weston-simple-dmabuf-egl:

| Run-time dependency gbm found: NO (tried pkgconfig and cmake)
|
| clients/meson.build:134:4: ERROR: Problem encountered: weston-simple-dmabuf-egl requires gbm which was not found. If you rather not build this, drop "dmabuf-egl" from simple-clients option.

Remove the clients for i.MX 6 and 7.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoweston: Restructure recipe for ease of maintanance
Tom Hochstein [Tue, 28 Apr 2020 14:49:32 +0000 (09:49 -0500)]
weston: Restructure recipe for ease of maintanance

Structure the recipe into two sections, the top as a verbatim
copy of the upstream recipe that is the basis, and the bottom
for the i.MX customization.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoweston: Align 8.0.0.imx recipe with 8.0.0
Tom Hochstein [Mon, 27 Apr 2020 19:04:16 +0000 (14:04 -0500)]
weston: Align 8.0.0.imx recipe with 8.0.0

Update license file data and move i.MX customizations to
unique lines for simpler diff.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agowaffle: Fix x11 build without GBM support
Tom Hochstein [Thu, 23 Apr 2020 13:44:03 +0000 (08:44 -0500)]
waffle: Fix x11 build without GBM support

For i.MX 6 and 7, building x11_egl failed with the following:

```
In file included from ../waffle-1.6.0/src/waffle/surfaceless_egl/sl_window.c:35:
../waffle-1.6.0/src/waffle/surfaceless_egl/sl_platform.h:30:10: fatal error: gbm.h: No such file or directory
   30 | #include <gbm.h>
      |          ^~~~~~~
```

The failure is not surprising since i.MX 6 and 7 don't
support GBM. What is surprising is surfaceless_egl is
built even if it is disabled. The meson dependency
for surfaceless_egl was incorrectly tied to x11_egl,
so fix that, plus add a dependency on GBM.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agowaffle: Add missing dependency on EGL
Tom Hochstein [Thu, 23 Apr 2020 13:38:34 +0000 (08:38 -0500)]
waffle: Add missing dependency on EGL

For Wayland builds without XWayland support, the following
build break was happening:

In file included from /home/bamboo/build/5.4-zeus-full/fsl-imx-internal-wayland/temp_build_dir/build_fsl-imx-internal-wayland/tmp/work/aarch64-mx8-poky-linux/waffle/1.6.0-r0/recipe-sysroot/usr/include/EGL/egl.h:39,
                 from ../waffle-1.6.0/src/waffle/egl/wegl_context.h:31,
                 from ../waffle-1.6.0/src/waffle/egl/wegl_util.c:28:
/home/bamboo/build/5.4-zeus-full/fsl-imx-internal-wayland/temp_build_dir/build_fsl-imx-internal-wayland/tmp/work/aarch64-mx8-poky-linux/waffle/1.6.0-r0/recipe-sysroot/usr/include/EGL/eglplatform.h:144:10: fatal error: X11/Xlib.h: No such file or directory
  144 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
compilation terminated.

This happens because the egl.pc configuration is missing.

Fix the mising dependency.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agowaffle: Disable GBM support for i.MX 6 and 7 GPU
Tom Hochstein [Tue, 21 Apr 2020 19:06:05 +0000 (14:06 -0500)]
waffle: Disable GBM support for i.MX 6 and 7 GPU

GBM is not available on i.MX 6 and 7 GPU, so disable support.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoimx-gpu-apitrace: Enable egl and waffle
Tom Hochstein [Fri, 17 Apr 2020 00:09:45 +0000 (19:09 -0500)]
imx-gpu-apitrace: Enable egl and waffle

Add egl and waffle as common configuration. The unique configuration
for 8M and 8M Nano is no longer required.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoimx-gpu-apitrace: Add config options for EGL and GUI
Tom Hochstein [Fri, 17 Apr 2020 00:04:27 +0000 (19:04 -0500)]
imx-gpu-apitrace: Add config options for EGL and GUI

Also, remove x11-egl option since it is a derivative of egl, x11, and
waffle, and is no longer needed.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoimx-gpu-apitrace: Don't package binaries separately
Tom Hochstein [Thu, 16 Apr 2020 23:57:42 +0000 (18:57 -0500)]
imx-gpu-apitrace: Don't package binaries separately

The libraries are not useful without the binaries, so putting them
in separate packages is wrong.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoimx-gpu-apitrace: Rebase fork on 9.0.0
Tom Hochstein [Thu, 16 Apr 2020 23:52:11 +0000 (18:52 -0500)]
imx-gpu-apitrace: Rebase fork on 9.0.0

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agolibimxdmabuffer: Fix ptest
Carlos Rafael Giani [Fri, 24 Apr 2020 07:06:03 +0000 (09:06 +0200)]
libimxdmabuffer: Fix ptest

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
5 years agogstreamer1.0-plugins-imx: Update to version 0.13.1
Carlos Rafael Giani [Fri, 24 Apr 2020 07:05:45 +0000 (09:05 +0200)]
gstreamer1.0-plugins-imx: Update to version 0.13.1

* Last planned release in the 0.x series. Development now focuses on 2.x.
  The 2.x series will support i.MX6, i.MX7, and i.MX8.

* OE recipe fix to use the correct G2D dependency (imxg2d, not imx-gpu-viv)

* waf: Update to version 2.0.12 and switch to Python 3

* misc:
  * gst_buffer_pool_config_set_allocator() and get_allocator() are
    transfer-none. Changes to the code address that, fixing various refcount
    related problems.
  * Update GstPhysMemoryAllocator support for GStreamer 1.14+

* v4l2video:
  * v4l2src: Set interlace flags in GstBuffer
  * v4l2sink: Define V4L2_COLORSPACE_DEFAULT if it doesn't exist
  * v4l2: Add phys mem meta only if the driver/card is known to support this
    This makes USB video cameras work with imxv4l2videosrc, because they do
    not provide any physical address.
  * v4l2_buffer_pool: First reset the buffer storage in the pool, then queue
    the buffer. Otherwise it might happen that we dequeue the same buffer in
    a different thread already *before* we have it reset in the buffer storage,
    and then run into an assertion because it contains NULL.

* vpu:
  * decoder: Fix for an endless loop at gst_imx_vpu_decoder_finish() when in
    no_wait mode
  * decoder: Clear the GST_VIDEO_BUFFER_FLAG_TFF flag in case of
    IMX_VPU_INTERLACING_MODE_BOTTOM_FIELD_FIRST
  * decoder: Honour num-additional-framebuffers setting
  * decoder: Fix leak when input video formats change due to a missing
    gst_imx_vpu_decoder_close() call

* ipu: Reintroduce interlace methods

* audio:
  * Save pointer to codec_data GstBuffer to fix memory leak
  * Only allocate reordered_channel_positions if needed. If we don't need to
    reorder the audio channels, we the unnecessary allocation otherwise.

* g2dpango:
  * Add missing header and cleanup a few warnings
  * Unref video_frame memory after phys_memory check

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
5 years agooptee-test_3.2.0.imx: fix TA_DEV_KIT_DIR is not correctly defined error
Peter Griffin [Wed, 22 Apr 2020 22:52:14 +0000 (23:52 +0100)]
optee-test_3.2.0.imx: fix TA_DEV_KIT_DIR is not correctly defined error

DEFAULTTUNE is no longer aarch64 which means optee-test
build fails. Update to use the same mechanism as optee-os
recipe for setting arch.

Build now passes on imx8mq-evk and optee xtest suite
passes

+-----------------------------------------------------
16078 subtests of which 3 failed
74 test cases of which 3 failed
0 test case was skipped
TEE test application done!

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
5 years agoimx-kobs: Update SRCREV to cee66d
Alexandru Palalau [Wed, 22 Apr 2020 13:13:16 +0000 (16:13 +0300)]
imx-kobs: Update SRCREV to cee66d

Signed-off-by: Alexandru Palalau <ioan-alexandru.palalau@nxp.com>
5 years agodp-firmware-cadence: fix LICENSE
Matthias Schiffer [Wed, 22 Apr 2020 12:50:18 +0000 (14:50 +0200)]
dp-firmware-cadence: fix LICENSE

LICENSE should be "Proprieraty", not "NXP-Binary-EULA", otherwise fetch
with fsl-eula-unpack will fail.

Fixes #360

Signed-off-by: Matthias Schiffer <matthias.schiffer@tq-group.com>
5 years agoimx-vpuwrap: Upgrade to v4.5.3
Yuqing Zhu [Fri, 17 Apr 2020 07:57:04 +0000 (15:57 +0800)]
imx-vpuwrap: Upgrade to v4.5.3

-Update EULA to v10
-Add vpu wrapper unit test for i.MX8
 Enable 8mm/8mq to support H264/HEVC byte-stream format decoding
 Enable 8mm to support H264 encoding

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
5 years agoimx-parser: Upgrade to v4.5.3
Yuqing Zhu [Fri, 17 Apr 2020 07:44:55 +0000 (15:44 +0800)]
imx-parser: Upgrade to v4.5.3

-Update EULA to v10
-Fix unexpected EOS reported by Aiurdemux while playing fragmented mp4 video
-Add Mpeg2ResetOuputBuffer when track is disabled
-Upgrade mp 3parser's getNextSamle, don't read 16KB
 because this mode can't calculate right timestamp
-Add Parser API to get ac4 presentation info
-Fix ID3 parser return wrong artwork size

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
5 years agoimx-codec: Upgrade to v4.5.3
Yuqing Zhu [Tue, 14 Apr 2020 06:54:10 +0000 (14:54 +0800)]
imx-codec: Upgrade to v4.5.3

-Update EULA to v10
-Update version to align with other Multimedia components

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
5 years agoimx-vpu-hantro: Upgrade to 1.16.0
Yuqing Zhu [Mon, 20 Apr 2020 06:00:27 +0000 (14:00 +0800)]
imx-vpu-hantro: Upgrade to 1.16.0

[G1/G2]: Fix H264 conformance test failure caused by changes in latest release
[G1]: Fix memory leak, inlcudes: h264/mpeg2/mpeg4/vc1/rv/avs
[Mpeg4]: Fix DivX3 can't be decoded caused by wrong sscanf string

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
5 years agoimx-vpu: Upgrade to 5.4.39.2
Yuqing Zhu [Mon, 20 Apr 2020 05:52:39 +0000 (13:52 +0800)]
imx-vpu: Upgrade to 5.4.39.2

Use different name for dpu, pxp, opencl and viv g2d lib

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
5 years agocryptodev: upgrade to 1.10
Ting Liu [Sun, 19 Apr 2020 14:50:40 +0000 (16:50 +0200)]
cryptodev: upgrade to 1.10

Signed-off-by: Ting Liu <ting.liu@nxp.com>
5 years agoqemu-qoriq: upgrade to 4.1
Ting Liu [Sat, 18 Apr 2020 15:54:13 +0000 (23:54 +0800)]
qemu-qoriq: upgrade to 4.1

Signed-off-by: Ting Liu <ting.liu@nxp.com>
5 years agoconf/layer.conf: remove QORIQ_MIRROR setting
Ting Liu [Sat, 11 Apr 2020 14:46:59 +0000 (22:46 +0800)]
conf/layer.conf: remove QORIQ_MIRROR setting

git.freescale.com is down and will not be available.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
5 years agokernel-module-ipc: switch to source.codeaurora.org
Ting Liu [Sat, 11 Apr 2020 15:37:10 +0000 (23:37 +0800)]
kernel-module-ipc: switch to source.codeaurora.org

Signed-off-by: Ting Liu <ting.liu@nxp.com>
5 years agoskmm-ep: switch to source.codeaurora.org
Ting Liu [Thu, 5 Mar 2020 13:02:47 +0000 (14:02 +0100)]
skmm-ep: switch to source.codeaurora.org

Signed-off-by: Ting Liu <ting.liu@nxp.com>
5 years agoskmm-host: switch to source.codeaurora.org
Ting Liu [Thu, 5 Mar 2020 13:02:47 +0000 (14:02 +0100)]
skmm-host: switch to source.codeaurora.org

Signed-off-by: Ting Liu <ting.liu@nxp.com>
5 years agofsl-tlu: switch to source.codeaurora.org
Ting Liu [Thu, 5 Mar 2020 13:02:46 +0000 (14:02 +0100)]
fsl-tlu: switch to source.codeaurora.org

Signed-off-by: Ting Liu <ting.liu@nxp.com>
5 years agohyperrelay: rm as it is not maintained now
Ting Liu [Sat, 11 Apr 2020 14:41:55 +0000 (22:41 +0800)]
hyperrelay: rm as it is not maintained now

Signed-off-by: Ting Liu <ting.liu@nxp.com>
5 years agooptee-os-qoriq: add patch to use python3
Ting Liu [Sat, 18 Apr 2020 14:55:34 +0000 (22:55 +0800)]
optee-os-qoriq: add patch to use python3

python2 is EOL January 2020. This fixes build failure due to python2.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
5 years agochange-file-endianess: rm as no pkg need it now
Ting Liu [Sat, 11 Apr 2020 14:34:04 +0000 (22:34 +0800)]
change-file-endianess: rm as no pkg need it now

Signed-off-by: Ting Liu <ting.liu@nxp.com>
5 years agorcw: not DEPENDS change-file-endianess
Ting Liu [Sat, 11 Apr 2020 14:35:11 +0000 (22:35 +0800)]
rcw: not DEPENDS change-file-endianess

Signed-off-by: Ting Liu <ting.liu@nxp.com>
5 years agou-boot-qoriq: update to 3cd9bc3
Ting Liu [Sat, 11 Apr 2020 16:01:36 +0000 (00:01 +0800)]
u-boot-qoriq: update to 3cd9bc3

New changes:
3cd9bc3993 net/dsa: Remove (c) in copyright line
c8c2bb1533 i2c: mxc: fix copyright
024518ee2e configs: ls1021a: Append CMA configuration to bootargs

Signed-off-by: Ting Liu <ting.liu@nxp.com>
5 years agou-boot-qoriq: not DEPENDS tcl/change-file-endianess
Ting Liu [Sat, 11 Apr 2020 14:28:10 +0000 (22:28 +0800)]
u-boot-qoriq: not DEPENDS tcl/change-file-endianess

Signed-off-by: Ting Liu <ting.liu@nxp.com>
5 years agou-boot-qoriq: rename to match version 2019.10
Ting Liu [Sat, 11 Apr 2020 14:09:00 +0000 (22:09 +0800)]
u-boot-qoriq: rename to match version 2019.10

The right u-boot version is 2019.10. LSDK-20.04 is an unified tag for all
qoriq components.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
5 years agolibimxvpuapi2: Update to version 2.0.1
Carlos Rafael Giani [Sat, 18 Apr 2020 20:17:48 +0000 (22:17 +0200)]
libimxvpuapi2: Update to version 2.0.1

* imx6: replace mxcfb.h check with i.MX6 specific imx header check
  the mcxfb.h check only makes sense with i.MX6 devices, so requiring
  those for others like i.MX8 led to build errors
* update waf to 2.0.12 and switch wscript to use Python 3
* imx6: fix encoder pointer usage in vpu_EncGiveCommand() call

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
5 years agolibimxdmabuffer: Upgrade to version 1.0.1
Carlos Rafael Giani [Sat, 18 Apr 2020 18:00:39 +0000 (20:00 +0200)]
libimxdmabuffer: Upgrade to version 1.0.1

* Changes to migrate build system to Python 3:
  * waf: update to 2.0.12
  * waf: use python3

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
5 years agoimx-base.inc: Allow for setting different IMX_DEFAULT_BSP values
Carlos Rafael Giani [Sat, 18 Apr 2020 18:03:32 +0000 (20:03 +0200)]
imx-base.inc: Allow for setting different IMX_DEFAULT_BSP values

Current assignment of the IMX_DEFAULT_BSP variables is too strong. For
example, any IMX_DEFAULT_BSP value set in local.conf currently gets
overridden by the assingment in imx-base.inc. Soften the assignment
to allow for alternative values for these variables.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
5 years agoimx-dpu-g2d: Upgrade to 1.8.3
Tom Hochstein [Thu, 16 Apr 2020 23:51:15 +0000 (18:51 -0500)]
imx-dpu-g2d: Upgrade to 1.8.3

c27d26b MGS-5479 remove g2d_multiblit_test
9730281 MGS-5435 [QNX] G2D - child and parent window can not rotate correctly
73354dc MGS-5103 add YUV mode for BT.601 and BT.709
43ff464 MA-16215 Avoid change input parameter value in g2d_blitEx
807cf04 MGS-5403 enable G2D tile-status feature

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agooptee-test_3.2.0.imx: add patch to use python3, backported from v3.8.0
Peter Griffin [Wed, 8 Apr 2020 20:24:52 +0000 (21:24 +0100)]
optee-test_3.2.0.imx: add patch to use python3, backported from v3.8.0

This avoids build errors such as
optee-test/3.2.0.imx-r0/git/out/ta/crypt//mid_crt.c] Error 127
| /usr/bin/env: ‘python’: No such file or directory

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
5 years agorecipes-*: refine restrictions for NXP BSP
Andrey Zhizhikin [Thu, 16 Apr 2020 22:17:45 +0000 (22:17 +0000)]
recipes-*: refine restrictions for NXP BSP

Certain packages are using linux-imx-headers, which enforces them to use
NXP BSP since headers are provided from the NXP kernel tree.

Those recipes, which requires NXP kernel headers, are now including the
use-imx-headers class to make sure the correct headers package is used.

Since the introduction of separation between NXP and Mainline BSP for
certain machines, recipes which are NXP-dependent are getting their
COMPATIBLE_HOST to be marked as (null) effectively making them
incompatible with mainline BSP which is expected behavior.

By extending this restriction into the use-imx-headers class, all
recipes which inherits is (because it is required) are getting
automatically restricted to NXP BSP, hence making package NXP-dependent
much easier.

linux-imx-headers is marked as "NXP-only" but it is done explicitly
inside the recipe in order to avoid confusion of inheriting the class.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoimx-test: Rework COMPATIBLE_HOST restriction to use wildcard
Otavio Salvador [Thu, 16 Apr 2020 12:30:10 +0000 (09:30 -0300)]
imx-test: Rework COMPATIBLE_HOST restriction to use wildcard

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
5 years agomachine: imx[6,7,8]: update dtb references for 5.4 kernel
Andrey Zhizhikin [Wed, 15 Apr 2020 23:22:14 +0000 (23:22 +0000)]
machine: imx[6,7,8]: update dtb references for 5.4 kernel

Updated kernel has some DTS files added and some dropped for various
i.MX derivatives. Those should be aligned with respective machines in
order to deliver proper DTB files, and do not fail the build for those
are missing.

Device tree files listed in respective machines are those only present
in updated 5.4 kernel release from NXP. Derivatives, which relied on
those device trees that are discarded from the new kernel release should
backport their respective files onto that update.

In other words: if after this update the DTS file used for the HW happens
to be missing - it should be manually added for that HW, since the default
version is no longer provided by NXP in their updated kernel tree.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agolinux-imx-headers: Mark recipe as 'use-nxp-bsp' only
Otavio Salvador [Wed, 15 Apr 2020 18:29:12 +0000 (15:29 -0300)]
linux-imx-headers: Mark recipe as 'use-nxp-bsp' only

This is a safe guard so no recipe can use this, except if NXP BSP
support is in use.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
5 years agoimx-base.inc: indicate updated versions of components
Andrey Zhizhikin [Mon, 13 Apr 2020 22:46:36 +0000 (22:46 +0000)]
imx-base.inc: indicate updated versions of components

Bump revisions of optee, wayland-protocols and weston since recipes were
upgraded.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoimx8m[m,n]evk.conf: update dtb references for kernel 5.4
Andrey Zhizhikin [Mon, 13 Apr 2020 22:44:21 +0000 (22:44 +0000)]
imx8m[m,n]evk.conf: update dtb references for kernel 5.4

Update DTB file names as they were renamed in the kernel tree.

For imx8mmevk machine the M4 DTB was removed from the list as it was
dropped from the kernel source tree.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agogstreamer: upgrade to MM_04.05.03_1911_L5.4.0 branch
Andrey Zhizhikin [Wed, 15 Apr 2020 09:16:13 +0000 (09:16 +0000)]
gstreamer: upgrade to MM_04.05.03_1911_L5.4.0 branch

Upgrade imx fork of gstreamer components to version taken from
MM_04.05.03_1911_L5.4.0 branch. This branch is aligned with the new
kernel update from NXP.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoweston: upgrade recipe to version 8.0.0 from NXP
Andrey Zhizhikin [Mon, 13 Apr 2020 22:22:08 +0000 (22:22 +0000)]
weston: upgrade recipe to version 8.0.0 from NXP

Upgrade weston recipe version 6.0.1 -> 8.0.0 with following
modifications performed:

- Transition build system to meson, replace autotools references with
  meson options;
- Align recipe with the latest version from oe-core, include all
  configuration changes done upstream into this recipe;
- Drop patches applied upstream and those related to autotools;

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agowayland-protocols: upgrade to 1.18 from NXP
Andrey Zhizhikin [Mon, 13 Apr 2020 22:13:07 +0000 (22:13 +0000)]
wayland-protocols: upgrade to 1.18 from NXP

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoimx-gpu-g2d: update to 6.4.0.p2.0
Andrey Zhizhikin [Tue, 14 Apr 2020 16:40:55 +0000 (16:40 +0000)]
imx-gpu-g2d: update to 6.4.0.p2.0

Update recipe to p2 stepping to include support for kernel 5.4.3 from
NXP.

Updated component use V10 of NXP EULA, therefore license md5 has been
modified to match the version.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agolibdrm-imx: update component to lf-5.4.y
Andrey Zhizhikin [Mon, 13 Apr 2020 21:50:29 +0000 (21:50 +0000)]
libdrm-imx: update component to lf-5.4.y

This update includes one commit, which introduced the support for
NV12_10LE40 format together with new HDR10 metadata required for kernel
5.4 update.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agooptee-imx: upgrade to lf-5.4.y
Andrey Zhizhikin [Wed, 15 Apr 2020 08:56:25 +0000 (08:56 +0000)]
optee-imx: upgrade to lf-5.4.y

Upgrade optee recipes to fetch sources from lf-5.4.y branch, this is
aligned with new kernel release from NXP.

optee-os and optee-client has build defines dropped, this is originated
in NXP fork.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agou-boot-imx-common: upgrade to lf-5.4.y_v2019.04
Andrey Zhizhikin [Mon, 13 Apr 2020 21:16:30 +0000 (21:16 +0000)]
u-boot-imx-common: upgrade to lf-5.4.y_v2019.04

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoimx-test: upgrade recipe to lf-5.4.y branch
Andrey Zhizhikin [Mon, 13 Apr 2020 21:14:11 +0000 (21:14 +0000)]
imx-test: upgrade recipe to lf-5.4.y branch

Upgrade recipe to pull sources from lf-5.4.y branch.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoimx-mkimage: update to use new kernel 5.4.3-1.0.0 branch
Andrey Zhizhikin [Mon, 13 Apr 2020 21:10:31 +0000 (21:10 +0000)]
imx-mkimage: update to use new kernel 5.4.3-1.0.0 branch

Update recipe to pull sources from new branch, which is aligned with new
kernel version 5.4.3

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoimx-atf: update to use new kernel 5.4.3-1.0.0 branch
Andrey Zhizhikin [Mon, 13 Apr 2020 21:07:09 +0000 (21:07 +0000)]
imx-atf: update to use new kernel 5.4.3-1.0.0 branch

Update recipe to pull sources from new branch, which is aligned with new
kernel version 5.4.3

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agokernel-module-qcacld-lea: update to match kernel 5.4.3-1.0.0
Andrey Zhizhikin [Mon, 13 Apr 2020 21:01:38 +0000 (21:01 +0000)]
kernel-module-qcacld-lea: update to match kernel 5.4.3-1.0.0

Update recipe to fetch sources from IMX_CNSS.LEA.NRT_3.0_KRL5.4 branch,
which is aligned with new kernel version.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agokernel-module-imx-gpu-viv: upgrade to 6.4.0.p2
Andrey Zhizhikin [Mon, 13 Apr 2020 20:48:45 +0000 (20:48 +0000)]
kernel-module-imx-gpu-viv: upgrade to 6.4.0.p2

Upgrade kernel module version to next p2 stepping as it is aligned in
the linux-imx source tree and matches the new kernel 5.4.3-1.0.0 version.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agolinux-imx-mfgtool: upgrade to version 5.4.3-1.0.0 from NXP
Andrey Zhizhikin [Mon, 13 Apr 2020 20:44:27 +0000 (20:44 +0000)]
linux-imx-mfgtool: upgrade to version 5.4.3-1.0.0 from NXP

Upgrade recipe version 4.19.35 -> 5.4.3, drop the old recipe and discard
the kernel config file - it should be pulled from the kernel recipe folder.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agolinux-imx-headers: upgrade to version 5.4.3-1.0.0 from NXP
Andrey Zhizhikin [Mon, 13 Apr 2020 20:40:26 +0000 (20:40 +0000)]
linux-imx-headers: upgrade to version 5.4.3-1.0.0 from NXP

Upgrade linux headers recipe 4.19.35 -> 5.4.3 and drop the old recipe.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agolinux-imx: upgrade kernel recipe to 5.4.3-1.0.0 from NXP
Andrey Zhizhikin [Mon, 13 Apr 2020 20:22:44 +0000 (20:22 +0000)]
linux-imx: upgrade kernel recipe to 5.4.3-1.0.0 from NXP

Upgrade kernel recipe 4.19.35 -> 5.4.3, drop patches which are applied
upstream and re-submit new kernel configuration files for arm32 and
aarch64 build configurations.

Kernel recipe version 4.19.35 is dropped from this layer in favor of the
updated one.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoimx-gpu-viv: Remove invalid insane skips
Tom Hochstein [Mon, 13 Apr 2020 21:38:41 +0000 (16:38 -0500)]
imx-gpu-viv: Remove invalid insane skips

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoimx-gpu-viv: Add missing package libnn-imx-dev
Tom Hochstein [Mon, 13 Apr 2020 21:29:44 +0000 (16:29 -0500)]
imx-gpu-viv: Add missing package libnn-imx-dev

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoimx-gpu-viv: Cleanup
Tom Hochstein [Mon, 13 Apr 2020 21:27:47 +0000 (16:27 -0500)]
imx-gpu-viv: Cleanup

Clean some file name redundancies and changes.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoimx-gpu-viv: Enable valgrind annotations for libgal
Tom Hochstein [Mon, 13 Apr 2020 21:18:27 +0000 (16:18 -0500)]
imx-gpu-viv: Enable valgrind annotations for libgal

Suggest valgrind runtime for libgal, which has enabled
annotations.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoimx-gpu-viv: Remove OpenVX support for 8M Mini
Tom Hochstein [Mon, 13 Apr 2020 21:13:12 +0000 (16:13 -0500)]
imx-gpu-viv: Remove OpenVX support for 8M Mini

i.MX 8M Mini doesn't support OpenVX, so remove it from the recipe
in this case.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoimx-gpu-viv: Add gl31.h to i.MX 8M Nano install
Tom Hochstein [Mon, 13 Apr 2020 18:16:39 +0000 (13:16 -0500)]
imx-gpu-viv: Add gl31.h to i.MX 8M Nano install

i.MX 8M Nano supports OpenGL ES 3.1. In fact, all
8M support it except for 8M Mini, so use that in
the logic.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoimx-gpu-viv: OpenGL is not provided for framebuffer
Tom Hochstein [Mon, 13 Apr 2020 17:40:20 +0000 (12:40 -0500)]
imx-gpu-viv: OpenGL is not provided for framebuffer

The GPU drivers have never provided OpenGL for framebuffer.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoimx-gpu-viv: Upgrade to 6.4.0.p2.0
Tom Hochstein [Mon, 13 Apr 2020 16:16:15 +0000 (11:16 -0500)]
imx-gpu-viv: Upgrade to 6.4.0.p2.0

Key Features of the Vivante 6.x Driver Series

    - Full support for Khronos OpenGL ES 3.2 API. The new OpenGL ES 3.2 and OpenGL ES Shading Language 3.20 specifications bring AEP,
      plus additional functionality, into core OpenGL ES. Vivante OpenGL ES 3.2 implementation has passed Khronos OpenGL ES 3.2 Conformance Test.
      And Vivante GC7000XS* GPU core has been certified by Khronos as an OpenGL ES 3.2 compliant product.
    - Backward Compatible with 5.x and 4.x Drivers. Existing OpenGL ES 3.x/2.0 applications can run on these drivers without any changes.

6.4.0 P2 GA
======================
Key Features:
- Vulkan 1.1
- OpenVX 1.2
- OpenCL and OpenVX bridged support.
    - GPU accelerated ML support
- Upgrade to weston 7.0
- OpenCV 4.0.1
- Chromium v74
    - Support for renderdoc 1.2
    - vProfiler/vAnalyser through new Vivante IDE
    - Support for Android 10
    - Support for TFlite 1.3
    - NNCTS 1.2
    - Optimize command buffer size, so the memory usage per context will be lower

Known Issues :
    LF-308 wl_display_connect Failure reported during VPU and GPU stress power management test.
    LF-868 [MX6SX-SDB]GPU: weston stopped abnormally during stress suspend resume test.
    LF-459 [8QM] GPU/xwld:Vulkan sdk demo 'ObjectSelection' flicker on display.
    LF-178 GPU/XWLD: some tests failed in OpenCV performance test.
    LF-262 GPU:Some qt5 demos not work. QT5.3 have regressions. Require qt3d update in QT5.4 and later
    LF-836 GPU/XWLD: met version mismatch when using renderdoc remote test
    LF-861 some tests failed in OpenCV stress test.
    LF-423 ML/AI:Some dnn_vxc cases showed out-of-range recognition rates.
    LF-844 [6QP_SD] GPU/FB: Bloom_FB cannot be killed by ctrl c randomly.
    LF-1109 [8QM] GPU/Vivante IDE tool: vpd file of OpenVX import failed to VSI IDE
    LF-1110 [8QM] GPU/Vivante IDE tool: some binary of sample project cannot work after building successfuly in vCompiler test
    LF-936 [MX8MQ/MM/MN]GPU:no desktop UI and weston@root.service load fail after run low bus freq test.100%
    LF-88 [8QXP_MEK/8QM/8MM_EVK] GPU/XWLD: apitrace tool can not work properly

See also:

https://source.codeaurora.org/external/imx/imx-manifest/tree/GraphicsChangeLogv6?h=imx-linux-zeus

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoEULA: Update to v10
Tom Hochstein [Mon, 13 Apr 2020 16:15:48 +0000 (11:15 -0500)]
EULA: Update to v10

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agofsl-eula-unpack.bbclass: add latest license md5sum
Max Krummenacher [Thu, 16 Apr 2020 12:37:16 +0000 (14:37 +0200)]
fsl-eula-unpack.bbclass: add latest license md5sum

The 4.14.98-2.3.0 BSP targeting latest SoC silicon revisions uses an even
newer license text 'LA_OPT_NXP_Software_License v10 December 2019'.
And the upcomming 5.4.3-2.0.0 BSP uses yet another one:
'LA_OPT_NXP_Software_License v11 February 2020'.

Add their md5sums additionally.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
5 years agomx8qxp: Use cortexa35-crypto tuning for i.MX 8 QXP default
Tom Hochstein [Wed, 15 Apr 2020 22:17:08 +0000 (17:17 -0500)]
mx8qxp: Use cortexa35-crypto tuning for i.MX 8 QXP default

The i.MX 8QXP has Cortex-A35 cores plus Crypto
extensions, so enable them by default.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoFinally fix the mainline BSP vs NXP BSP dynamic change
Otavio Salvador [Wed, 15 Apr 2020 20:24:57 +0000 (17:24 -0300)]
Finally fix the mainline BSP vs NXP BSP dynamic change

We cannot change the default BSP based on SoC as we trim out those when
moving to the mainline BSP.

For this reason, we moved the i.MX8 forced setting to our respective
machines as they lack mainline BSP support.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
5 years agoimx-test: Restrict recipe to NXP BSP only
Otavio Salvador [Wed, 15 Apr 2020 18:36:46 +0000 (15:36 -0300)]
imx-test: Restrict recipe to NXP BSP only

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>