aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-08-14fsl-eula-unpack: exclude FSL_EULA_FILE from sstate signaturezeusSamuli Piippo1-0/+1
Use vardepsexclude for FSL_EULA_FILE variable to to make sstate cache usable from different build directories. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> (cherry picked from commit 4689674e6c147f6891b541c273abf2889aa6f2da)
2020-08-09Revert "weston-init: use g2d for i.MX8M Nano SoC"Tom Hochstein1-3/+0
8M Nano does not have 2D acceleration. This reverts commit b3f51ab82838a67146d5b6fcf8f19d36c5efeb37. (cherry picked from commit 6bc3d8825c20d21528e24a7237ff7392e01a81bd)
2020-06-05qtbase: Define empty PACKAGECONFIG_VULKANKhem Raj1-0/+1
In cases where non imxgpu and non-fsl SOCs are target do_configure results in ERROR: qtbase-5.15.0+gitAUTOINC+f6fe4bbab7-r0 do_configure: QA Issue: qtbase: in valid PACKAGECONFIG: ${@bb.utils.contains('DISTRO_FEATURES', [invalid-packagecon fig] Therefore having empty value helps in avoiding this case Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit e1b169c907b2d6743f277f1212fcc6ecb2e068c3)
2020-06-05qtbase: Drop upstreamed patchTom Hochstein2-21/+0
Drop patch 0015-Add-eglfs-to-IMX-GPU.patch. It is upstream and no longer necessary. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 22408f5766b64f9122b61a0aa15263a7e71763d1)
2020-06-05qtbase: Add i.MX 8 configurationTom Hochstein1-3/+14
- 8M Quad has 3D but no 2D, so fix the override for GPU patches - Add gbm and kms for all i.MX 8 with GPU - Add vulkan for all i.MX 8 with GPU except 8M Mini Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit b37a332b130389d8f4429fbb9d87d26b65cfc386)
2020-06-04weston: fix a patch fuzz issueMing Liu1-4/+4
Fix a following QA warning: | WARNING: weston-5.0.0.imx-r0 do_patch: Fuzz detected: | | Applying patch 0003-weston-touch-calibrator-Advertise-the-touchscreen-ca.patch | patching file weston.ini.in | Hunk #1 succeeded at 7 with fuzz 2 (offset 4 lines). | | The context lines in the patches can be updated with devtool: | | devtool modify weston | devtool finish --force-patch-refresh weston <layer_path> | | Don't forget to review changes done by devtool! Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-05-05qtbase: Fix patch fuzz for mkspecs/linux-oe-g++/qmake.confantznin1-6/+8
The current version of the patch causes a fuzz because of context change. Signed-off-by: antznin <agodard@witekio.com> (cherry picked from commit eaefe965615070e58438b868467f7a045289d8ec)
2020-05-05optee-os: Replace /lib by ${nonarch_base_libdir} in do_installantznin1-2/+2
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>
2020-04-29imx-base: non-overriding append for WKS_FILE_DEPENDSManuel Bessler1-1/+1
On mx8, `WKS_FILE_DEPENDS_mx8 += "imx-boot"` overrides the content of `WKS_FILE_DEPENDS` instead of appending, causing `do_image_wic` to complain about missing dependencies for `wic-tools`. (cherry picked from commit 7b49a35b976bc76ff9de66191ad09558639e000b)
2020-04-24waffle: Fix x11 build without GBM supportTom Hochstein2-0/+47
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> (cherry picked from commit 76467d61049bd89a25f5a26592bc6c8808e51ff9)
2020-04-24waffle: Add missing dependency on EGLTom Hochstein2-0/+55
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> (cherry picked from commit eea3e3bbe0870b46363884402c97b4f1b187a6f9)
2020-04-24waffle: Disable GBM support for i.MX 6 and 7 GPUTom Hochstein1-5/+9
GBM is not available on i.MX 6 and 7 GPU, so disable support. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit f43fa899d28e1950543a05a2c903a530d7b006f2)
2020-04-23Revert "optee-[client,test]: upgrade to 4.19.35_1.1.0"Peter Griffin1-2/+2
This reverts commit 5fdac18a1f4daed214e07af014d068b7b6196f5c. op-tee os and optee-client were reverted already. This fixes a build failure with optee-test as one of the patches doesn't apply to 4.19 branch.
2020-04-17Revert "mx8qm: Use cortexa72-cortexa53 tune by default"Tom Hochstein2-2/+1
Support for cortexa72-cortexa53 tuning is not available on zeus. This reverts commit 9d6833f8a2e743c9907e20c8e0a0d46be9f65fd3. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16fsl-eula-unpack.bbclass: add latest license md5sumMax Krummenacher1-0/+4
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> (cherry picked from commit 629639a28c27c9a57ffd6cd1c90f5742aa3f996f)
2020-04-16mx8qxp: Use cortexa35-crypto tuning for i.MX 8 QXP defaultTom Hochstein2-9/+11
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> (cherry picked from commit f02d6921bacee8396579330999d57f2381e89402)
2020-04-16mx8qm: Use cortexa72-cortexa53 tune by defaultJoshua Watt2-1/+2
Use the cortexa72-cortexa53-crypto tune for IMX.8 QuadMax devices instead of the more generic aarch64. Update the QuadMax MEK machine to require the file that provides this tune. Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com> (cherry picked from commit 54115b38b777f09d60847f7ba0ac7796230b3d89)
2020-04-14imx8mq: Add tuning for cortexa53+crypto+crcTom Hochstein2-1/+2
Like other i.MX 8M SOCs, the 8M Quad has Cortex-A53 cores and supports ARM Crypto extensions. Enable them by default. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 5e62f2fb476405e77388da0f2963163173e0c090)
2020-04-13imx-sc-firmware: Fix the license as ProprietaryTom Hochstein1-1/+1
The package license was set incorrectly as MIT. The license is Proprietary. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-13fsl-eula-unpack.bbclass: Enhance EULA modelTom Hochstein1-1/+78
Each new version of the EULA is meant to be a click through that includes any existing packages with an older EULA. The latest EULA is also copied in the layer. Capture this model in the class by listing the known EULAs and checking that any package has a known EULA. The new model also allows extensibility, so new EULAs can be introduced separately. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit a9015f8b1116f253af58b185a89440486ceee131)
2020-04-13fsl-eula-unpack.bbclass: Verify LICENSE contains ProprietaryTom Hochstein1-0/+5
All EULA packages are proprietary, so verify that the recipe LICENSE contains Proprietary before fetching the package. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit b8b557ff8b667f74064f8badd490b6ece4945ff9)
2020-04-13Revert "optee-[client,test]: upgrade to 4.19.35_1.1.0"Chris Dimich1-2/+2
This reverts commit 5fdac18a1f4daed214e07af014d068b7b6196f5c. Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-13Revert "optee-os: update to 4.19.35_1.1.0 and introduce imx8mn config"Chris Dimich1-3/+2
This reverts commit 375e31d47372a51adf1f228547bf7829ba1ca60a. Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-13Revert "imx-atf: add platform definition for i.MX8M Nano"Chris Dimich1-1/+0
This reverts commit 70150376c8ab00b8b77de576e5a3e2894256e843. Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-13Revert "imx-atf_2.0.bb: Update branch and revision for 4.19.35_1.1.0"Chris Dimich1-2/+2
This reverts commit 54d14f17ebd961dc7cb9ef89b76613218fb7562d. Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2020-04-08optee-[client,test]: upgrade to 4.19.35_1.1.0Andrey Zhizhikin2-4/+4
This upgrade is required to support new i.MX8M Nano SoC and is also aligned with all optee-imx components. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> (cherry picked from commit 020d81896bba5f6cb1dae0f352854ce4d57374e8)
2020-04-08optee-os: update to 4.19.35_1.1.0 and introduce imx8mn configAndrey Zhizhikin1-2/+3
In order to support new i.MX8M Nano SoC, optee-os should be upgraded to use the imx_4.19.35_1.1.0 branch, which contains the support for new machine. In addition, introduce additional PLATFORM_FLAVOR for new imx8mnevk machine. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> (cherry picked from commit 866e460572ee6fb0398036fb8c1b33966669e086)
2020-04-08imx-atf: add platform definition for i.MX8M NanoAndrey Zhizhikin1-0/+1
Add platform definition parameter for i.MX8M Nano SoC, support for it is already integrated in component source code. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> (cherry picked from commit dab2045044e6aea158596aa298206e7b36b70552)
2020-04-08imx-atf_2.0.bb: Update branch and revision for 4.19.35_1.1.0Cristinel Panfir1-2/+2
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com> (cherry picked from commit 615174d8bf1c937f22a45e940fda50ef7548f491)
2020-04-08weston-init: use g2d for i.MX8M Nano SoCAndrey Zhizhikin1-0/+3
Use 2D acceleration for i.MX8M Nano SoC. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> (cherry picked from commit b3f51ab82838a67146d5b6fcf8f19d36c5efeb37)
2020-04-08imx-boot: add support for i.MX8M Nano EVKAndrey Zhizhikin1-1/+4
Add ATF and platform machine definitions for i.MX8M Nano SoC in order to generate boot images. This mainly follows the setup done for i.MX8M Mini. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> (cherry picked from commit 9babcb15e4cbe204dfa7421d35945e1aa1f08a03)
2020-04-08imx-base: add common defines for imx8m nano socAndrey Zhizhikin1-0/+5
Add necessary machine defines and overrides required to support i.MX8M Nano SoC and is similar to i.MX8M Mini SoC. New SoC lacks VPU support, therefore it is excluded from MACHINEOVERRIDES_EXTENDER, leaving only GPU-related features. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> (cherry picked from commit 525821a6299a5c4b502558c87ac876fb13de8a24)
2020-04-08imx-base.inc: add uboot entrypoint for mx8mmRicardo Salveti1-0/+1
Default u-boot load address is set to 0x40480000 but fitImage support requires the UBOOT_ENTRYPOINT to be defined as well, so just extend imx-base.inc to also include a default uboot entrypoint for mx8mm. Signed-off-by: Ricardo Salveti <ricardo@foundries.io> (cherry picked from commit 62178407d2612f2cb51430d149563d9266a262aa)
2020-04-06optee-imx: add (backported) patches for GCC 9 & muslAndré Draszik5-0/+252
See the individual patches - all patches are simply backports from optee upstream releases. Signed-off-by: André Draszik <andre.draszik@jci.com> (cherry picked from commit 8b51ea3dafe9c5ac667a918911fb8f1050fc8897)
2020-03-28linux-fslc-lts-4.19: upgrade to 4.19.107Andrey Zhizhikin1-2/+2
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. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> (cherry picked from commit 61aeaa3da4251f62d4414217abb2126734c7066b)
2020-03-27Revert "fsl-eula-unpack.bbclass: Enhance EULA model"Otavio Salvador1-42/+1
This reverts commit 49291d13e6c0a555e10fcfb12f550fbf6eba3e19.
2020-03-27fsl-eula-unpack.bbclass: Enhance EULA modelTom Hochstein1-1/+42
Each new version of the EULA is meant to be a click through that includes any existing packages with an older EULA. The latest EULA is also copied in the layer. Capture this model in the class by listing the known EULAs and checking that any package has a known EULA. The new model also allows extensibility, so new EULAs can be introduced separately. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit d24d046766e8b6ebcde17c9243f8527125f1115d)
2020-03-27fsl-eula-unpack.bbclass: CleanupTom Hochstein1-19/+10
- Remove current working directory handling and use the equivalent runfetchcmd workdir parameter - Simplify the SRC_URI for loop Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit fee27818df40719c62bddde717737fb30cef3013)
2020-03-16glmark2: don't build drm flavours for machines not supporting itMax Krummenacher1-0/+4
imx-gpu-viv_6.4.0.p1.0-aarch32 does not provide virtual/libgbm and thus a build with drm* in PACKAGECONFIG does fail. Thus remove drm* from PACKAGECONFIG for those machines. | ERROR: Nothing PROVIDES 'virtual/libgbm' (but .../glmark2_git.bb DEPENDS on or otherwise requires it) | gpulib PROVIDES virtual/libgbm but was skipped: incompatible with machine fixes: 7801868f glmark2: Remove bbappend Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 340f3f2bcc7bcf7f5f3abad9973ac745571fd571)
2020-03-16glmark2: Remove bbappendJoshua Watt1-4/+0
The default PACKAGECONFIG for glmark2 builds just fine on imxgpu3d and imxgpu2d platforms, and doing so enables support for the drm based tests. Tested on imx8mq and imx8qm Backport to zeus Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com> (cherry picked from commit 7801868f4969bc3f93f9d419e7852206e45fad53)
2020-03-03Revert "fsl-eula-unpack.bbclass: Facilitate downstream EULA update"Otavio Salvador1-2/+1
This reverts commit 07ea4fbb111ea57eb77c80e294d3462ce263d57d.
2020-03-03fsl-eula-unpack.bbclass: Facilitate downstream EULA updateTom Hochstein1-1/+2
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-02-19linux-fslc: Update to use 5.4.x versionFabio Berton4-8/+19
Update to tag v5.4.20 and sync defconfig files. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> (cherry picked from commit 66a2169bd2e449856e1eb6891d8383a60365936d)
2020-02-17mesa: Allow to use Etnaviv with i.MX8Frieder Schrempf1-10/+10
Currently the settings for i.MX8 are fixed to only allow to use OSMesa for offscreen rendering. Actually etnaviv is usable on i.MX8MM an it should therefore be possible to let Gallium be enabled instead of unconditionally disabling it. Therefore we introduce the USE_OSMESA_ONLY variable, that can be set to "no" for i.MX8 if etnaviv should be used just like for i.MX6. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> (cherry picked from commit deb2f61f227dcb31ed41629c98e5e5e1edf3afec)
2020-02-17mesa: Use PACKAGECONFIG to enable Gallium driversFrieder Schrempf1-2/+2
We don't need to manipulate the GALLIUMDRIVERS variable. Setting the correct PACKAGECONFIG options is enough as the main recipe handles the rest. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> (cherry picked from commit 494ed8c9b7b211397ce621a36345539a23433ecc)
2020-02-12imx-imx-boot-bootpart.wks.in: Fix overlap of imx-boot and boot partitionsTom Hochstein1-3/+3
The u-boot env offset in the imx-boot partition is 4MiB, so set the boot partition alignment to 8MiB to fix the overlap. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-02-12imx-imx-boot-bootpart.wks.in: Fix the layout commentTom Hochstein1-5/+4
The layout comment was incorrect. It was missing the start of the rootfs and what was there wasn't updated when the boot partition was increased to 64MiB. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-02-07fsl-vivante-kernel-driver-handler: Fix kernel name in variable assignmentTom Hochstein1-3/+3
If the graphics driver is built into the kernel, a warning is generated for each i.MX kernel recipe, like this: WARNING: /home/r60874/zeus/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_5.4.bb: Variable key RPROVIDES_${KERNEL_PACKAGE_NAME}-base ( ${KERNEL_PACKAGE_NAME}-${KERNEL_VERSION}) replaces original key RPROVIDES_kernel-base ( kernel-module-imx-gpu-viv). The problem is that the kernel name used in variables is no longer a constant 'kernel', but is now parameterized: https://github.com/openembedded/openembedded-core/commit/6c8c899849d101fd1b86aad0b8eed05c7c785924 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-02-05linux-fslc(-lts): add CONFIG_NET_SCH_FQ_CODE=y and necessary dependsAndreas Müller2-0/+6
Otherwise modern systemd complains: | Feb 05 13:22:36 some-host systemd-sysctl[186]: Couldn't write 'fq_codel' to 'net/core/default_qdisc', ignoring: No such file or directory | Feb 05 13:22:36 some-host systemd-sysctl[186]: Couldn't write '1' to 'net/ipv4/tcp_syncookies', ignoring: No such file or directory Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> (cherry picked from commit 33410da17f40dd949d29d1daa20c2c89b6741ce5)
2020-01-22firmware-imx: remove sdma-imx6q.bin and sdma-imx7d.binJoris Offouga1-4/+2
This files is already provide by linux-firmware Signed-off-by: Joris Offouga <offougajoris@gmail.com>