Fix the variable test condition, wich is used during inclusion of
weston.ini file in the agl and non-agl builds.
Since for non-agl build there is no algprofilegraphics in the
collection, variable expands to an empty string and test condition
evaluates to true for both agl and non-agl builds.
This causes the weston.ini file to be installed regardless of whether
the agl is found or not.
Usage of a different condition check (lenght instead of empty) eliminates
this issue.
Chunrong Guo [Tue, 15 Oct 2019 07:15:33 +0000 (15:15 +0800)]
gpulib: add recipes
*update to lsdk 1909 tag
include the following changes: 5a4f7df - gpulib: update to 6.2.4.p4 verstion bea4503 - gpu: remove gpu kernel module from library tree f175bc1 - Add GPU libraries for ls1028a
Chunrong Guo [Tue, 15 Oct 2019 06:53:45 +0000 (14:53 +0800)]
openssl-qoriq: Upgrade 1.1.0g -> 1.1.1d
*update to lsdk 1909 tag
include the following changes: 894da2f - Prepare for 1.1.1d release 1cb7eff - Update copyright year a95b081 - Remove duplicate CHANGES entry 08229ad - Fix a padding oracle in PKCS7_dataDecode and CMS_decrypt_set1_pkey 7ff84d8 - Update CHANGES and NEWS for the new release 79f5e2f - Fix a potential crash in rand_unix.c 1d36536 - Fix a strict warnings error in rand_pool_acquire_entropy 6318018 - drbg: fix issue where DRBG_CTR fails if NO_DF is used (2nd attempt) 5520695 - drbg: add fork id to additional data on UNIX systems 1b0fe00 - drbg: ensure fork-safety without using a pthread_atfork handler 73a683b - [test] ECC: check the bounds for auto computing cofactor 827eab4 - Fix build with VS2008 4bf9781 - Use BN_clear_free in DH_set0_key 8003138 - DH_check_pub_key_ex was accidentally calling DH_check, so results were undefined. 1f9dc86 - Change DH_generate_parameters back to order 2q subgroup 288241b - Fix spacing nit in test/ectest.c 9a43a73 - [ec] Match built-in curves on EC_GROUP_new_from_ecparameters ad9c296 - Configure: clang: move -Wno-unknown-warning-option to the front 9580391 - Append CVE-2019-1547 to related CHANGES entry 87bea65 - Remove x86/x86_64 BSAES and AES_ASM support a6186f3 - CHANGES entry: for ECC parameters with NULL or zero cofactor, compute it eb1ec38 - [test] computing ECC cofactors: regression test 30c22fa - [crypto/ec] for ECC parameters with NULL or zero cofactor, compute it ed0ac11 - [ec/ecp_nistp*.c] restyle: use {} around `else` too
Chunrong Guo [Tue, 15 Oct 2019 05:28:31 +0000 (13:28 +0800)]
tsntool: add recipes
*update to lsdk 1909 tag
include the following changes: 30a0320 - demos:cnc: add Qci enable/disable operations provide to yang a27ea6d - demos:cnc: fix the interfaces and bridges types xml getconfig infrormation ccfc0ae - demos:cnc:add Qci support 50d653b - libtsn: fix compile error a156db9 - tsntool: correct the command name in help info 6739dcb - libtsn: add optional function to monitor the operation of configuring TSN via libtsn eadb457 - Add version v0.3 tag 42ee8f3 - libtsn: add qbu get status showing status a22cdc8 - demos:cnc: update the get-config feedback "interfaces" to "if:interfaces" 495575c - demo:cnc: fix the get-config button out of block when brower pixel low resolution a411c7c - demo:cnc: fix config-change place and enable for port 3d28bea - qbvset: fix overflow of qbv list 1b424e9 - Makefile : add format-security to fix gcc 9.2 build error fix the below error |main/readinput.c:267:3: error: format not a string |literal and no format arguments [-Werror=format-security] 7ec5761 - cnc: fix the qbv disable setting
*update to lsdk 1909 tag
include the following changes: a36da6a - Merge pull request #1050 in GITAM/dpdk from 18.11-qoriq-dev to 18.11-qoriq eb00ab7 - PVT: examples/l3fwd: fix jumbo packet drop issue 3e8b2c4 - Merge pull request #1046 in GITAM/dpdk from 18.11-qoriq-dev to 18.11-qoriq a1a4961 - crypto/dpaa2_sec: compile off hw debug prints 0372f8e - crypto/dpaa2_sec: remove logs from datapath beab8d5 - crypto/dpaa2_sec: fix SG dynamic ctxt patch 4ff9915 - app/crypto-perf: fix the multi seg buffer loop 3bf73bd - app/crypto-perf: add check for out-of-place case 5bba072 - app/crypto-perf: check range of socket id 371ba75 - Merge pull request #1043 in GITAM/dpdk from bugfix/DPDK-1983 to 18.11-qoriq-dev e9e016f - crypto/dpaa_sec: change per cryptodev pool to per qp 2ff8c21 - examples/ip_fragmentation: add Scatter support to receive jumboframes 0bfaa19 - crypto/dpaa_sec: fix pdcp check ordering 7e6f996 - Merge pull request #1039 in GITAM/dpdk from 18.11-qoriq-dev to 18.11-qoriq e703118 - Merge pull request #1031 in GITAM/dpdk from DPDK-1951-sg7 to 18.11-qoriq-dev 7a68386 - crypto/dpaa2_sec: fix to allocate context as per num_segs 9df93ab - PVT: misc fix for 32 bit and PPC compilation c67478c - event/dpaa2: fix selftest shared build 58b5127 - crypto/dpaa2: fix clang compilation for PDCP d48c6cf - Merge pull request #918 in GITAM/dpdk from feature/DPDK-990 to 18.11-qoriq-dev a598283 - Merge pull request #1037 in GITAM/dpdk from DPDK-1945 to 18.11-qoriq-dev
*update to lsdk 1909 tag
include the following changes: ea4f900 - Merge pull request #34 in DQNS/vpp from ~NXA12342/vpp:19.01.1_shared_opt to 19.01.1 75179e8 - Merge pull request #35 in DQNS/vpp from ~NXF47894/vpp:19.01.1 to 19.01.1 9cc6ea3 - Fixed compiler optimization causes the function to return an exception, VPP initializes the exception. Signed-off-by: Wenbo Cao <wenbo.caoo@nxp.com> e0b89de - dpaa: remove tls-dialect and add tls-model
*update to lsdk 1909 tag
include the following changes: 4e8d2e5 - Merge pull request #19 in DASH/optee_os from ~NXA19713/optee_os:master to master 94bd7cc - Copyright header update. 9c09a28 - Merge pull request #18 in DASH/optee_os from ~NXA19713/optee_os:master to master 587183a - plat-ls:add LS1028ARDB platform
*update to lsdk 1909 tag
include the following changes: 0ec35ad - .gitmodules: use codeaurora url b510701 - README: Correct minor typos e451edf - perf-test: Reject large input files 3bdbdf3 - perf-test: Error out in stateless decomp mismatch 64fc3b1 - dce-internals: Efficient FQ full scheme d1add39 - Merge pull request #32 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5623-update-dce-license-files to master b3c27ed - LICENSE: Remove GPL License 68a6dab - Merge pull request #31 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5623-update-dce-license-files to master 0f33f16 - LICENSE: Update License year and full BSD-3 text 0175bb4 - Merge pull request #30 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5621-dpdcei-object-fails-to-unassign-out-of-child-dprc to master
*update to lsdk 1909 tag
include the following changes: a36da6a - Merge pull request #1050 in GITAM/dpdk from 18.11-qoriq-dev to 18.11-qoriq eb00ab7 - PVT: examples/l3fwd: fix jumbo packet drop issue 3e8b2c4 - Merge pull request #1046 in GITAM/dpdk from 18.11-qoriq-dev to 18.11-qoriq a1a4961 - crypto/dpaa2_sec: compile off hw debug prints 0372f8e - crypto/dpaa2_sec: remove logs from datapath beab8d5 - crypto/dpaa2_sec: fix SG dynamic ctxt patch 4ff9915 - app/crypto-perf: fix the multi seg buffer loop 3bf73bd - app/crypto-perf: add check for out-of-place case 5bba072 - app/crypto-perf: check range of socket id 371ba75 - Merge pull request #1043 in GITAM/dpdk from bugfix/DPDK-1983 to 18.11-qoriq-dev e9e016f - crypto/dpaa_sec: change per cryptodev pool to per qp 2ff8c21 - examples/ip_fragmentation: add Scatter support to receive jumboframes 0bfaa19 - crypto/dpaa_sec: fix pdcp check ordering 7e6f996 - Merge pull request #1039 in GITAM/dpdk from 18.11-qoriq-dev to 18.11-qoriq e703118 - Merge pull request #1031 in GITAM/dpdk from DPDK-1951-sg7 to 18.11-qoriq-dev 7a68386 - crypto/dpaa2_sec: fix to allocate context as per num_segs 9df93ab - PVT: misc fix for 32 bit and PPC compilation c67478c - event/dpaa2: fix selftest shared build 58b5127 - crypto/dpaa2: fix clang compilation for PDCP d48c6cf - Merge pull request #918 in GITAM/dpdk from feature/DPDK-990 to 18.11-qoriq-dev a598283 - Merge pull request #1037 in GITAM/dpdk from DPDK-1945 to 18.11-qoriq-dev fb3c653 - net/dpaa2: fix unintialized dpni_pools_cfg params 884de83 - event/dpaa: event crypto adapter
*update to lsdk 1909 tag
include the following changes: 249c325 - Add the prebuilt binaries of mc 10.18.0 release 3173855 - Add the prebuilt binaries of mc 10.17.0 release
*update to lsdk 1909 tag
include the following changes: b11bd6b - add -q parameter in Makefile to suppress warnings 88ef94c - Fix the DPC files 81b29e9 - add API for MC 10.18.0 385c5c0 - add comments in DPC files cd587e8 - Update DPC files with CONSOLE_MODE_OFF ac44b91 - add API for MC 10.17.0 7081395 - api: add symlink for mc 10.15.1 176d0f0 - api: add symlink for mc 10.9.2 42d8e0c - remove API for MC 10.9.2 99ad9dd - api: add symlink for mc 10.9.1 f0f3778 - remove API for MC 10.9.1 11671fa - api: add symlink for mc 10.8.2 dd8bfef - add API for MC 10.8.1 86cdb55 - api: add symlink for mc 10.3.4 73fd0ee - delete APT for MC 10.3.4 and add for MC 10.3.3 15acb73 - add API for MC 10.3.1 6f0dd0e - add API for MC 10.3.0 965c97e - api: add symlink for MC 10.16.1 2b51a3a - api: add symlink for MC 10.16.2
Tom Hochstein [Mon, 23 Sep 2019 15:50:35 +0000 (10:50 -0500)]
imx7ulpevk.conf: Fix MACHINEOVERRIDES order
The exact manifestation that uncovered this problem was not recorded.
Generally speaking, a recipe misconfiguration was occurring due to an
incorrect variable value, caused by incorrectly choosing the _imx
override of the variable instead of the SOC override.
This is fixed by setting the SOC family and the SOC in MACHINEOVERRIDES
before including tune-cortexa7.inc.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
vulkan-loader and imx-gpu-viv both provide a libvulkan.so with the same soname.
(The vulkan-loader provides the vulkan-loader while imx-gpu-viv provides the
instalable client driver for the Vivante GPU).
| # ERROR: gstreamer1.0-plugins-bad-1.14.imx-r0 do_package: gstreamer1.0-plugins-bad-vulkan: Multiple shlib providers for libvulkan.so.1: libvulkan-imx, vulkan-loader (used by files: ...libgstvulkan.so)
| # ERROR: gstreamer1.0-plugins-bad-1.14.imx-r0 do_package_qa: QA Issue: /usr/lib/gstreamer-1.0/libgstvulkan.so contained in package gstreamer1.0-plugins-bad-vulkan requires libvulkan.so.1()(64bit), but no providers found in RDEPENDS_gstreamer1.0-plugins-bad-vulkan? [filed]
Fix this by changing the soname of the Vivante provided libvulkan.
With this change we can drop the /usr/lib/vulkan install directory and
install directly in /usr/lib/.
This additionally allows to reenable QA warnings for the libvulkan-imx package.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Max Krummenacher [Sat, 14 Sep 2019 08:44:08 +0000 (10:44 +0200)]
linux-imx-mfgtool: prevent parse warning
This prevents the following parser warning (and likely makes this kernel
build with GCC 9 but I havn't tested it)
| WARNING: ... linux-imx-mfgtool_4.14.98.bb: Unable to get checksum for linux-imx-mfgtool SRC_URI entry 0001-compiler-attributes-add-support-for-copy-gcc-9.patch: file could not be found
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Max Krummenacher [Fri, 13 Sep 2019 12:41:09 +0000 (14:41 +0200)]
layer: replace ${PN} with ${BPN} in SRC_URI
This prevents a number warnings like the following:
| imx-sc-firmware-1.2-r0 do_package_qa: QA Issue: imx-sc-firmware: SRC_URI uses PN not BPN [src-uri-bad]
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Max Krummenacher [Fri, 13 Sep 2019 10:46:08 +0000 (12:46 +0200)]
xf86-video-imx-vivante: update PN to 6.2.4.p4.0
Note that the xorg driver was not changed in the update from
6.2.4.p1.8 to 6.2.4.p4.0. This rename aims to keep the PN across
the vivante components consistent.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Michael Scott [Fri, 13 Sep 2019 17:01:58 +0000 (10:01 -0700)]
imx-base.inc: set i.MX 7ULP UBOOT_ENTRYPOINT setting to fix fitImage
The UBOOT_ENTRYPOINT setting is used when generating fitImage data.
Specifically where to extract the kernel binary into memory.
When fitImage is enabled for i.MX 7ULP targets, we are incorrectly
setting the extraction location to 0x80008000 (the mx7 default).
This results in a hung boot.
The default configuration for i.MX 7ULP is to load the kernel binary
(zImage) and initramfs into memory directly from the vfat boot
partition so this issue does not present itself until fitImage is used.
To fix the extraction point for fitImage kernel binaries, let's add
a specific setting for mx7ulp so that mx7 setting isn't used.
Tom Hochstein [Tue, 14 May 2019 23:40:58 +0000 (18:40 -0500)]
imx-gpu-apitrace: Update
013499c6 wrappers/egltrace: drop the hardcoded library path 0697c15a gltrace: avoid recursion caused by viv extensions 5b56f5a5 specs/glapi: consistent signatures for viv extensions f6e1a557 glext.h: declare the viv extensions 4cb5ad01 retrace,cmake: link with vivante when using waffle 95ba8bd3 retrace,cmake: look for libwaffle in waffle_library_dirs ca7f1071 retrace,waffle: set wayland as default WAFFLE_PLATFORM 6ea46b12 retrace,waffle: use waffle error reporting api
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Tom Hochstein [Tue, 14 May 2019 23:36:49 +0000 (18:36 -0500)]
libdrm: Update
95645843 headers: Sync with drm-next 49cca25f MA-13450 Switch layer memory allocation to virtual pool to improve performance. 8edffe33 MA-13354 Fix imx_drm head file license issue for libdrm-imx. e1658ff7 MA-13122 Add DRM_VIV_GEM_CMA_LIMIT support for TS buffer.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Tom Hochstein [Mon, 13 May 2019 15:08:05 +0000 (10:08 -0500)]
imx-gpu-viv: Fix i.MX 8 and 8X binary compatibility
The removal of gl32.h for 8QXP can cause build breaks in a multi-machine
build folder like the following:
| .../build/tmp/work/imx8qxpmek-poky-linux/gstreamer1.0-plugins-good-qt/1.14.4.imx-r0/recipe-sysroot/usr/include/QtGui/qopengl.h:105:13: fatal error: GLES3/gl32.h: No such file or directory
| # include <GLES3/gl32.h>
To make the ABI safe for 8 and 8X, which have a shared PACKAGE_ARCH,
provide gl32.h in both cases. The lack of support can then be handled
by a runtime error.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Ideally a SOC layer should not have general purpose recipes like dpdk
and may be get the recipes from
http://git.yoctoproject.org/cgit/cgit.cgi/meta-dpdk working on imx SOCs
instead
This patch just limits the spill over to non nxp bsp layers
Joshua Watt [Wed, 1 May 2019 21:49:30 +0000 (16:49 -0500)]
imx-gpu-viv: Fix GLESv1 packaging
The GLESv1 library was being packaged with the name "libgles" instead of
the canonical "libglesv1". The latter is the name that recipes used when
RDEPENDing on GLESv1. Correct this so that the package is correctly
named "libglesv1", but RPROVIDES the old "libgles" name in case there
are recipes still depending on it.
Khem Raj [Wed, 28 Aug 2019 20:07:06 +0000 (13:07 -0700)]
qemu-qoriq: Mark is specific to imx/qoriq
It has started to fail now that we have libssh dependency in 4.1 instead
of libssh2 in earlier versions, so this recipe needs to be upgraded to
use 4.1 release as well, but I dont have way to test it out.
Andrey Zhizhikin [Fri, 23 Aug 2019 09:31:14 +0000 (09:31 +0000)]
mesa: switch mesa to swrast renderer for mx8mm machine, resolve build issue
After mesa update to 19.1.0, the OSMesa is not anymore explicitly set to
'classic' rather than defaults to 'none'. If the DRI driver is included
in the build and neither gl nor 'classic' osmesa is used - this causes
the build to fail.
This commit disables the gallium for mx8mm, sets the dri drivers to
swrast and explicitly defines the 'classic' osmesa to be built.
gallium is disabled since current support state of i.MX8M Mini GPU in
gallium is unknown.
Daniel Klauer [Thu, 1 Aug 2019 09:15:01 +0000 (11:15 +0200)]
atf: Fix builds of native tools during build process
atf builds some native tools such as fiptool during its build process,
this should use Yocto's native toolchain options instead of just the
host's.
This way the fiptool build will actually use the openssl-native dependency
from Yocto's native sysroot, instead of the host's openssl (which may not
exist).
Signed-off-by: Daniel Klauer <daniel.klauer@gin.de>