This upgrade includes the merge of v4.19.107 tag and backport of
upstream patch [0ada120c883d4f1f6aafd01cf0fbb10d8bbba015], which
addresses the perf build issue when latest binutils are used.
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.
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.
Alban Bedel [Thu, 15 Aug 2019 09:39:18 +0000 (11:39 +0200)]
atf: Only enable and depends on optee when supported
Use the new optee machine feature to only enable it when it is supported
by the machine and the distro. We use a package config switch to only
add the dependency when it is needed. This prevent a build failure on
machines that don't support optee.
Alban Bedel [Thu, 15 Aug 2019 09:28:57 +0000 (11:28 +0200)]
optee: Add optee as a machine feature to all supported boards
Currently we assume that all qoriq arm64 boards support optee, however
that might not be the case for boards added by other layers building
on top of meta-freescale. To better support this case add a machine
feature to indicate if a given machine has optee support.
Add the new optee feature to all qoriq arm64 except ls2080ardb as it
doesn't seems to be supported by optee.
Andreas Müller [Fri, 24 May 2019 11:42:35 +0000 (13:42 +0200)]
linux-fslc(-lts-4.19): add USB_PRINTER and USB_SERIAL_PL2303 to defconfig
* USB-printer can be considered as common use case
* PL2303 are used in USB -> RS232 converters from Athen. These can also be
considered as commonly used (we have dozens in our company)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Fabio Berton [Mon, 12 Aug 2019 14:35:54 +0000 (11:35 -0300)]
Fix WKS_FILE to use files with .in extension
meta-freescale commit 6be9d197386b5c3bd72023981df805d42f87684c
renamed imx-uboot-spl-bootpart.wks to imx-uboot-spl-bootpart.wks.in
The .in extension in wks files allows bitbake variables to be used in
kickstarter files. Set WKS_FILES for all machines to match this new
filename.
Alban Bedel [Tue, 25 Jun 2019 09:44:57 +0000 (11:44 +0200)]
atf: Fix the build on machines that don't support UEFI
The uefi package silently build nothing on machines that are not
supported. On machines without UEFI support this lead to a build
failure in atf as it always try to build fip_uefi.bin. Fix the
compile step to only build fip_uefi.bin if there is an UEFI image.
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Andrey Zhizhikin [Tue, 18 Jun 2019 14:45:32 +0000 (14:45 +0000)]
mx8mm: use cortexa53-crypto tune for imx8m mini per default
Current implementation of i.MX8M Mini is utilizing generic aarch64 tune
(arch-arm64) provided from OE meta layer.
According to IMX8MMRM [1] this CPU contains Cortex-A53 cores, so this commit
sets a default tune to cortexa53-crypto.
Note, that according to [1] ARM Crypto extensions are supported, therefore it
is beneficial to set the tune to -crypto, as this also enables NEON and VFP
support in GCC (via -march and -mcpu feature modifiers, see [2]).
Alban Bedel [Wed, 19 Jun 2019 08:33:31 +0000 (10:33 +0200)]
qoriq-base: Use the same provider for u-boot and u-boot-fw-utils
It make sense for the default config to use the same provider for
for both u-boot and u-boot-fw-utils. We now assume that there is a
matching -fw-utils package, if not the build will fail instead of
silently using a mismatching u-boot version.
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Alban Bedel [Wed, 5 Jun 2019 12:27:13 +0000 (14:27 +0200)]
u-boot-qoriq-fw-utils: Update to 2018.09 to fix the build
The build of the fw-utils is broken for all the machines that switched
to TFA as u-boot 2018.03 doesn't have the TFA configs. Upgrade to
2018.09 to fix this issue and have both u-boot and the fw-utils built
from the same version, which is probably a good idea anyway.
Also added the dependency on bison-native which is needed for the build.
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Mihai Lindner [Tue, 14 May 2019 09:36:55 +0000 (12:36 +0300)]
u-boot-imx: Upgrade version 2017.03 to 2018.03
Upgrade version to 2018.03 from branch imx_v2018.03_4.14.98_2.0.0_ga.
Drop usage of dtc-145 binary, pulled by the class with the same name,
which was a workaround for older u-boot versions.
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
Stefan Agner [Thu, 9 May 2019 16:58:38 +0000 (18:58 +0200)]
imx-base: make sure sha384sum is available for all i.MX 8 variants
Image container generation of imx-boot requires sha384sum also
when building for i.MX 8 targets (e.g. i.MX 8QM). Make sure it
is available for all i.MX 8 families.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Max Krummenacher [Mon, 29 Apr 2019 18:29:05 +0000 (20:29 +0200)]
libdrm: prevent warning on mx8
i.MX8 also uses the override imxgpu2d, so provide the patch for that override,
not individual SoC Archs. Prevents:
| .../meta/recipes-graphics/drm/libdrm_2.4.94.bb: Unable to get checksum for libdrm SRC_URI entry drm-update-arm.patch: file could not be found
Note that __arm__ is not defined in aarch64 gcc, so applying the patch has no
effect. Should it be needed one would have to rework to patch to also provide
assembler code for aarch64 in an appropriate #ifdef section.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Max Krummenacher [Tue, 23 Apr 2019 12:40:35 +0000 (14:40 +0200)]
imx-imx-boot-bootpart.wks.in: increase boot partition to 64m
The i.MX8 / i.MX8X kernel's size is about 22MB.
Increase the boot partitions minimum size to have space for two kernel
images and have a constant partition size.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
This commit merges tag v5.0.7 and add the following changes on top
of it:
- c7a0e482a175 ARM: dts: imx6ul-pico: Add support for the nymph baseboard
- 7bc14f53bd64 ARM: dts: imx6ul-pico: Add support for the dwarf baseboard
- 4ac10e93daf8 ARM: dts: imx7d-pico: Add support for the nymph baseboard
- 7b261671208a ARM: dts: imx7d-pico: Add support for the dwarf baseboard
- c68d4412110a Merge tag 'v5.0.7' into 5.0.x+fslc
*Update to lsdk 1903 tag
include the following changes: 798304e - libvhost-user: replace vasprintf() to fix build 28930fe - kvm: workaround build break on gcc-7.1.1 / fedora26 e1037e1 - arm/translate-a64: mark path as unreachable to eliminate warning 3bfe2f3 - build-sys: compile with -Og or -O1 when --enable-debug a5bb74e - exynos4210: workaround UBSAN compilation error 587b286 - dump: Fix build with newer gcc a6fc8a7 - atomic.h: Work around gcc spurious "unused value" warning aa62683 - slirp/smb: Replace constant strings by glib string 000e1d7 - usb: Fix build with newer gcc a58c405 - blkverify: Catch bs->exact_filename overflow 03a56f1 - blkdebug: Catch bs->exact_filename overflow 35c4866 - memfd: fix configure test 8ed0f37 - vfio fsl-mc: Expose DPIO cacheable region as cacheable 9ee40f5 - fsl-mc: mc-bus device fdt node creation 72c76f2 - fsl-mc: Add APIs to provide root mc-portal region 3d9ed87 - fsl-mc: Add API to provide mc-portals region bee0442 - vfio fsl-mc: Configure and setup irqfd cd232f7 - vfio fsl-mc: Enable DPMCP emulation 10c4b8b - vfio fsl-mc: Add support to close dpmcp command interface 80fe8bb - vfio fsl-mc: Support non dprc/dpmcp command interface on dpmcp 069f397 - vfio fsl-mc: Add support for dprc command interface on dpmcp b735296 - vfio fsl-mc: Add support to open dpmcp command interface 14a0c80 - vfio fsl-mc: forward non-emulated mc commands to VFIO de59bcc - vfio fsl-mc: Add support of get_obj_irq mc commands ae864b2 - vfio fsl-mc: Add support of set obj_irq mc commands 8119f86 - vfio fsl-mc: Add support of get_irq mc commands 00a9a3f - vfio fsl-mc: Add support of set_irq mc commands fea28c6 - vfio fsl-mc: Add support of get_obj_region command 09dcb70 - vfio-fsl-mc: Add support of dprc get-attr command ce6028c - vfio-fsl-mc: Add support of dprc open/close command 2164354 - vfio-fsl-mc: Add framework for handling mc-portal commands
*update to lsdk 1903 tag
include the following changes: 0842873 - flags: add -D_FILE_OFFSET_BITS=64 to support large files 28eea17 - libteec: Makefile: Generate .so files the same way as CMake 656e427 - tee_supplicant: gprof: fix compile error c48bc3b - tee-supplicant: cmake: enable RPMB emulation by default b6bfce9 - Makefile and config.mk: remove export in config.mk 66cdd5d - tee-supplicant: add daemon mode (-d) 5355fdb - Do not set -Werror by default 9c5e24c - tee-supplicant: rpmb.c: add __attribute__((fallthrough)) 0361f9b - libteec: refactor _dprintf() 8742233 - benchmark: fix computation of page address bd0e7c8 - Android related files: changes to work with Treble enabled build 9a63135 - Android.mk & config.mk: move teec.log/teesupp.log under /data/tee 6b4ca04 - benchmark: fix compilation issues 2d542f2 - Do not export CMakeLists.txt when running install 0fc28f2 - libteec: Fix incorrect SOVERSION number 3f16662 - tee-supplicant: cast sizeof(x) to socklen_t 23b22b1 - tee-supplicant: fix gcc warning e0a12e2 - cmake: Initial CMake support 33fa3c1 - tee-supplicant: fix use of mem after it's freed 09b69af - libteec/tee-supplicant: respect LDFLAGS set from distribution toolchain 9681680 - libteec/Makefile: generate static library (libteec.a) 73b4e49 - tee-supplicant: REE fs open file with O_SYNC flag 075c56e - tee_supplicant: add register memory feature
*Update to lsdk 1903 tag
include the following changes: c0fe1b9 - PVT: LSDK Legal fix e4236e8 - PVT: examples/qdma_demo: fix mem to mem restart issue ef25767 - Merge pull request #903 in GITAM/dpdk from DPDK-1630-lsdk-19.03 to 17.11-qoriq-dev 9f0b86c - PVT: update NXP README for DPDK 4bd98af - PVT: drivers/event: fix dead code issue reported by coverity ccbfa23 - Merge pull request #901 in GITAM/dpdk from DPDK-1630-lsdk-19.03 to 17.11-qoriq-dev dd8cd08 - PVT: mempool: fix the LS1043 errata logic e21296a - net/dpaa: add the errata define in datapath 11d1691 - add missing static keyword to globals 77c31f0 - bus/fslmc: remove unneeded strdup 4952d1d - bus/fslmc: don't log error for other devices 520a795 - vfio: do not needlessly setup device in secondary process c584ff9 - gro: fix overflow of TCP payload calculation e7f2d15 - doc: add cross-compilation in sample apps guide e6700bf - bus/dpaa: fix build with gcc 9.0 b8ee5c4 - app/pdump: fix port id storage size b2e2970 - Merge pull request #900 in GITAM/dpdk from DPDK-1627 to 17.11-qoriq-dev 074cd1d - PVT: net/dpaa2: pre-allocate aligned fqids for rx queues a8ac57a - PVT: bus/dpaa: export qman fqid range allocation function 61ab58f - Merge pull request #899 in GITAM/dpdk from feature/DPDK-804-dpaa1-support-multiprocess-apps to 17.11-qoriq-dev 9fbf216 - drivers/crypto: update the SEC HW inline desc for sharing mode fba143f - Merge pull request #895 in GITAM/dpdk from DPDK-1628 to 17.11-qoriq-dev 195da8c - PVT: crypto/dpaa2_sec: use mempool ptov conversion wherever applicable 88fe6c2 - PVT: net/dpaa2: use mempool ptov conversion wherever applicable 692ce13 - PVT: mempool/dpaa2: add fast ptov for mempool having single memseg
*Refresh patch
*Package arm64-dpaa-linuxapp-gcc/*.a as part of ${PN}
*Update to lsdk 1903 tag
include the following changes: 8b1dd40 - dprc: fix compile error (only witn gcc 8.x) 8eb494d - dprc: enable DPDMUX_METHOD_CUSTOM in dpdmux generate dpl dc120ff - add support for num cgs in restool for mc 10.14
*Update to lsdk 1903 tag
include the following changes: 0455555 - .gitmodules: use codeaurora url 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 361e4d0 - dpdcei: Cleanup hanldes in dpdcei_deactivate 81fae16 - LX2160 Rev1: Edit warning for stateful ERR011568 ede610b - LX2160 Rev1: Print warning for stateful ERR011568 34133be - perf-test: Update output buffer allocation c0b437e - Fix swp_init for LX2: set qman mode explicitly aac02ee - perf-test: Correct CPU affine logic
*qbman update to
Update to lsdk 1903 tag
include the following changes: a1af1e1 - Adding average pull/enqueue statistics and minor performance improvement.
*update to lsdk 1903 tag
include the following change 2737b8b - LX2160A:SD Boot: Adds input files to sign firmware images. 6be878a - Ls1028A: Add uni_pbi command in script to sign rcw image. 7aace25 - LS1028A: Add input files to sign the firmware images. 6d83dd8 - Removes "All Rights Reserved" Text.
*update to lsdk 1903 tag
include the following changes 80b2d2b - include: configs: lx2160a: update copyright info 7d323d4 - board: fsl: ls2080rdb: update copyright info ff35e0c - board: fsl: ls2080aqds: update copyright info 77020d0 - board: fsl: ls1088ardb: update copyright info 6d77068 - board: fsl: ls1088aqds: update copyright info 0c48371 - armv8: fsl-layerscape: update copyright info 6f50f71 - driver: net: phy: update copyright info ab528e9 - driver: net: ldpaa_eth: update copyright info 17c8520 - env: Update env_addr for mmc environment driver 72eb5d3 - MC : Report extra reserved memory to Linux 4f25ac0 - board/fsl/lx2160a: Fix MC firmware loading during SD boot a4b3dc5 - armv8: fsl-layerscape: Set env_loc to ENVL_NOWHERE with CONFIG_ENV_IS_NOWHERE. b572cfe - configs: ls1046: Update mtd-id for QSPI nor in mtdparts variable e46941d - armv7: ls102xa: Add workaround for DDR erratum A-008850 a25b491 - board: fsl: lx2160aqds: modify the phy fixup code 100b48f - driver: net: fsl-mc: Fix DPC MAC address fixup 822c996 - drivers: net: ls1088ardb: Fix EC1 and EC2 RCW offset bd037a4 - board/freescale: Enable DHCP distro boot for Layerscape board 705049e - Revert "Revert "pci: layerscape: Add the dts fixup for EP and RC"" d83e59c - mc : Add support to run MC in 128 MB DDR size ec8543d - QSFP+ eeprom read support in U-boot d163325 - pci: pcie_lx: Add the dts fixup for EP and RC cb3f278 - armv8: cache: Flush L3 cache after relocation 6b7ff12 - net:phy:aquantia Set only autoneg on in register 4.c441 bc6f526 - armv8: lx2160aqds : Add support for LX2160AQDS platform 54d0cd6 - drivers: net: ldpaa_eth: check if the dpmac is enabled 3011d18 - armv8: fsl-layerscape: reorder rgmii dpmacs' enablement 6546319 - net: phy: Add clause 45 identifier to phy_device 1822aff - miiphy: Add function to retrieve MDIO bus list head 42b8ff2 - ldpaa_eth.c: Fix warning when PHYLIB is not enabled 16c470c - driver: net: fsl-mc: Add support of multiple phys for dpmac
*update to lsdk 1903 tag
include the following changes eeb8972 - api: add symlink for MC 10.14.1, 10.14.2, 10.14.3 2f51b5a - config: lx2160a: Backplane config example for lx2 97fac94 - api: add MC 10.14.0 APIs
*update to lsdk 1903 tag
include the following changes 7e34aeb - Fix 2088 sleep hang dc16e35 - SDEI: Ensure SDEI handler executes with CVE-2018-3639 mitigation enabled 5eb3190 - Fast path SMCCC_ARCH_WORKAROUND_1 calls from AArch32 cd1e8ce - Add support for dynamic mitigation for CVE-2018-3639 82c570f - aarch32: Implement static workaround for CVE-2018-3639 2a655ec - Implement static workaround for CVE-2018-3639 90c75d3 - Rename symbols and files relating to CVE-2017-5715 179e18a - Fixup SMCCC_FEATURES return value for SMCCC_ARCH_WORKAROUND_1 2671898 - lx2: Remove setting of POWMGTCSR[LPM20_RQ] from LPM20 flow 7ca22ff - Adding LX2160 system power-down (LPM20) 0f81f07 - ls2088ardb: Add support of Non-ECC UDIMM ee53ed7 - nxp/lx2: Enable Errate ERRATA_A72_859971 on LX2
*add ddr-phy to DEPENDS for lx2160a
*install ddr4_pmu_train_dmem.bin
Tom Hochstein [Fri, 8 Mar 2019 00:40:31 +0000 (18:40 -0600)]
qcacld: Fix missing firmware and tools packages
The RDEPENDS from kernel-module-qca* is not working, so that firmware-qca*
and qca-tools are missing from the image. Use a packagegroup instead
as a workaround.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Using etnaviv,kmsro,vc4 as GALLIUMDRIVERS with imx25pdk machine
fails with error:
-----
/
| {standard input}: Assembler messages:
| {standard input}:252: Error: selected processor does not support `vldm ip,{q0,q1,q2,q3}' in ARM mode
| {standard input}:253: Error: selected processor does not support `vst1.8 d0,[lr],r8' in ARM mode
| {standard input}:254: Error: selected processor does not support `vst1.8 d1,[r3],r8' in ARM mode
| {standard input}:255: Error: selected processor does not support `vst1.8 d2,[lr],r8' in ARM mode
| {standard input}:256: Error: selected processor does not support `vst1.8 d3,[r3],r8' in ARM mode
| {standard input}:257: Error: selected processor does not support `vst1.8 d4,[lr],r8' in ARM mode
| {standard input}:258: Error: selected processor does not support `vst1.8 d5,[r3],r8' in ARM mode
| {standard input}:259: Error: selected processor does not support `vst1.8 d6,[lr]' in ARM mode
| {standard input}:260: Error: selected processor does not support `vst1.8 d7,[r3]' in ARM mode
| {standard input}:476: Error: selected processor does not support `vldm ip,{q0,q1,q2,q3}' in ARM mode
| {standard input}:477: Error: selected processor does not support `vst1.8 d0,[lr],r8' in ARM mode
| {standard input}:478: Error: selected processor does not support `vst1.8 d1,[r3],r8' in ARM mode
| {standard input}:479: Error: selected processor does not support `vst1.8 d2,[lr],r8' in ARM mode
| {standard input}:480: Error: selected processor does not support `vst1.8 d3,[r3],r8' in ARM mode
| {standard input}:481: Error: selected processor does not support `vst1.8 d4,[lr],r8' in ARM mode
| {standard input}:482: Error: selected processor does not support `vst1.8 d5,[r3],r8' in ARM mode
| {standard input}:483: Error: selected processor does not support `vst1.8 d6,[lr]' in ARM mode
| {standard input}:484: Error: selected processor does not support `vst1.8 d7,[r3]' in ARM mode
| {standard input}:659: Error: selected processor does not support `vldm r5,{q0,q1,q2,q3}' in ARM mode
\____
imx-base: make gstreamer1.0 packages socarch specific
gstreamer and its plugins have been forked for i.MX. So all of the generated
packages should have their PACKAGE_ARCH set to SOCARCH.
Prevents, when building gstreamer for an i.MX machine followed by a non i.MX
machine:
| ERROR: gstreamer1.0-1.14.4-r0 do_packagedata_setscene: QA Issue: Package version for package gstreamer1.0 went backwards which would break package feeds from (0:1.14.imx-r0 to 0:1.14.4-r0) [version-going-backwards]
| and many more for each generated package
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Otavio Salvador [Wed, 27 Mar 2019 13:16:46 +0000 (10:16 -0300)]
imx-codec: Fix wrong packaging of 'src' codec
This overrides the package split regarding the debug symbols to avoid
the generation of a '-src' package which causes the 'src' codec to be
left unpackaged.
This is a side effect of following commit:
,----
| Author: Joshua Watt <jpewhacker@gmail.com>
| Date: Wed Mar 6 10:32:30 2019 -0600
|
| Add source package to ${PACKAGES}
|
| Permanently adds the -src source package to ${PACKAGES} instead of
| relying on creating it dynamically at packaging time. The
| source package is now defined in bitbake.conf, just like -dev and -dbg
| packages.
|
| For compatibility, the -src package is still added dynamically if
| it was missing, since some recipes have a tendency to completely
| override PACKAGES and do so without manually adding back the -src
| package.
|
| This allows RDEPENDS on the -src packages, which wasn't previously
| possible.
|
| [YOCTO #13203]
|
| Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
| Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`----
As this is a very weird corner case, we handle it here instead of
fixing OE-Core.
Change-Id: Ief1ca6da5db26cc536ba18af64b614f6cce26065 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit was merged in meta-openembedded/meta-oe layer.
See commit:
https://git.openembedded.org/meta-openembedded/commit/?id=ea59b56825912614d8b2acb3ed621a8e9333a23c