summaryrefslogtreecommitdiffstats
path: root/dynamic-layers
Commit message (Collapse)AuthorAgeFilesLines
* weston-init: Drop redundant xwayland=true settingTom Hochstein2022-12-151-1/+0
| | | | | | | The main recipe now sets xwayland=true in weston.ini, so drop it from here. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Switch NXP QorIQ repositories to github.comJun Zhu2022-12-151-1/+1
| | | | | | | | Fetch QorIQ's source code from github.com/nxp-qoriq, as original source.codeaurora.org/external/qoriq will stop to access from April 2023. Signed-off-by: Jun Zhu <junzhu@nxp.com>
* qt6-layer: Add Qt6 supportTom Hochstein2022-11-152-0/+56
| | | | | | | | | | Copy the qt5-layer bbappends with the following modifications: - qtbase: Use eglfs for KMS backend for i.MX 8 with GPU on NXP BSP - qtbase: Drop build config patches no longer needed Testing is done using the quick3d and webengine examples. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* qt4-imx-support: fix typoMauro Salvini2022-10-071-1/+1
| | | | Signed-off-by: Mauro Salvini <m.salvini@koansoftware.com>
* qt4-imx-support: change format of patches added by commit 4aed4a5Mauro Salvini2022-10-035-20/+52
| | | | | | | Patches are the same but now are in git format ad have Signed-off-by and From fields as required Signed-off-by: Mauro Salvini <m.salvini@koansoftware.com>
* qt4-imx-support: fix build for imxgpu2d SOCsMauro Salvini2022-09-283-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, when imxgpu2d is selected, the qt4 do_configure fails with the following error: | EGL (EGL/egl.h) auto-detection... () | compiling egl.cpp ... | /home/wrk/yocto/build-qt4/tmp/work/imx8mmevk-fslc-linux/qt4-embedded/4.8.7-r0/recipe-sysroot/usr/include/EGL/eglplatform.h:150:10: fatal error: X11/Xlib.h: No such file or directory | 150 | #include <X11/Xlib.h> | | ^~~~~~~~~~~~ | compilation terminated. | Makefile:178: recipe for target 'egl.o' failed | make: *** [egl.o] Error 1 | EGL (EGL/egl.h) disabled. | EGL (GLES/egl.h) auto-detection... () ... | /home/wrk/yocto/build-qt4/tmp/work/imx8mmevk-fslc-linux/qt4-embedded/4.8.7-r0/recipe-sysroot/usr/include/EGL/eglplatform.h:150:10: fatal error: X11/Xlib.h: No such file or directory | 150 | #include <X11/Xlib.h> | | ^~~~~~~~~~~~ | compilation terminated. | Makefile:178: recipe for target 'egl4gles1.o' failed | make: *** [egl4gles1.o] Error 1 | EGL (GLES/egl.h) disabled. | The EGL functionality test failed! This is because the -DLINUX=1 and -DEGL_API_FB=1 flags added to QT_CONFIG_FLAGS are not pushed down during these configuration tests. This commit adds these two flags directly to the related .pro files in Qt4 sources. Since it's been a long time that meta-qt4 is not updated anymore, the patch can be backported to LTS releases. Signed-off-by: Mauro Salvini <m.salvini@koansoftware.com>
* dynamic-layers: add meta-arm to provide upstream TF-AAndrey Zhizhikin2022-06-141-0/+16
| | | | | | | | | | | | | | | | Default upstream TF-A implementation resides in the separate layer [1], which needs to be included in the bblayers.conf file. Per default, upstream recipe does not define any machine to be compatible, this compatibilty needs to be defined by the layer that pulls meta-arm TF-A package. This however cannot be listed as dependency, since not all BSP flavors do require upstream TF-A, therefore direct layer dependency cannot be added. Add meta-arm to dynamic-layers and define compatible machines in the bbappend, which are supported by upstream TF-A version. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Link: [1]: https://github.com/jonmason/meta-arm/tree/master/meta-arm/recipes-bsp/trusted-firmware-a
* imx-cst: Use specific BSD licenseKhem Raj2022-04-141-1/+1
| | | | | | | Fixes WARNING: imx-cst-3.3.1-r0 do_populate_lic: QA Issue: imx-cst: No generic license file exists for: BSD in any provider [license-exists] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dynamic-layers: Update SOC overridesTom Hochstein2022-03-025-9/+9
| | | | | | Fix dynamic layer overrides missed by the script. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-213-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* recipes: use https protocol and add explicit branch parameterPierre-Jean Texier2021-11-031-1/+1
| | | | | | | | | | | | | | | Due to https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git it is required to use https protocol for github repo accessing. Update created with oe-core/scripts/contrib/convert-srcuri.py (see [0]) Fixes: WARNING: /work/meta-freescale/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2021.07.bb: URL: git://github.com/Freescale/u-boot-fslc.git;branch=2021.07+fslc uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. [0] - https://git.openembedded.org/openembedded-core/tree/scripts/contrib/convert-srcuri.py Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
* qoriq: Convert to new override syntaxTing Liu2021-10-131-1/+1
| | | | | | | * change `virtclass-native`` to ``class-native` * add fixes for ls2088a Signed-off-by: Ting Liu <ting.liu@nxp.com>
* imx-cst: Correct SRC_URI to use static SRCREV instead of tagKhem Raj2021-10-041-1/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer: Convert to new override syntaxKhem Raj2021-08-1214-51/+51
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imx-cst: introduce the recipe for the version 3.3.1Thomas Perrot2021-08-121-0/+30
| | | | | | | | It provides a code signing tool for signing images for i.MX-based NXP processors using High Assurance Boot (HABv4) library in the internal boot ROM or the Advanced High Assurance Boot (AHAB) subsystem. Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
* recipes-graphics: clutter/cogl: move bbappend to dynamic layersPierre-Jean Texier2021-06-042-0/+10
| | | | | | | | | | | | | | | As it breaks the build on master since [1]. Move bbappend files to dynamic layers since recipes were moved to meta-gnome Fixes: ERROR: No recipes in default available for: /home/bdx-iot/ci/meta-freescale/recipes-graphics/clutter/clutter-1.0_%.bbappend /home/bdx-iot/ci/meta-freescale/recipes-graphics/cogl/cogl-1.0_%.bbappend [1] - http://git.openembedded.org/openembedded-core/commit/?id=c4f167d05f58f35a6b94e8dbc4721ab67e7e71eb Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
* qtbase: Add reference for pending patchTom Hochstein2021-04-301-1/+1
| | | | | | Note the Qt ticket for the pending patch. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* conf/layer.conf: Rename browser-layer as chromium-browser-layerPablo Saavedra2021-03-262-0/+0
| | | | | | | | | | | | | This commit updates the directory name of the browser-layer dynamic-layer because the changes introduced in https://github.com/OSSystems/meta-browser/pull/470. This browser-layer doesn't exist anymore in the meta-browser layer being replaced by a new chromium-browser-layer. For backwards compatibility this changes keeps the entries associated to the former browser-layer pointing to the new chromium-browser-layer. Signed-off-by: Pablo Saavedra <psaavedra@igalia.com>
* weston-init: Update weston.ini for IVITom Hochstein2021-02-111-0/+6
| | | | | | | | | - Set core idle-time to 0 to align with non-IVI setting - Add repaint-window for all i.MX 8 to support 4K display - Add enable-overlay-view option as comment - Enable touchscreen_calibrator Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* qtwayland: fix configuration errors for both mx6 and mx7 machinesPierluigi Passaro2021-01-311-0/+3
| | | | | | | QtWayland configuration task fails for xwayland distros. Just remove the conflicting options. Signed-off-by: Pierluigi Passaro <pierluigi.p@variscite.com>
* ipsec-demo: remove as it depends on ipsec-toolsTing Liu2020-12-1656-1519/+0
| | | | | | | ipsec-tools has security issues and has been ABANDONED. Recipe was removed from meta-networking too. Signed-off-by: Ting Liu <ting.liu@nxp.com>
* fmc: update to c2ed7c2Ting Liu2020-12-161-1/+1
| | | | | | | | | New commits: c2ed7c2 XML config files update for proper syntax 3a1566e Use MIT license for lexical analyzer files 1ebdcb4 Use MIT license for config files Signed-off-by: Ting Liu <ting.liu@nxp.com>
* opencv: Drop removal of v4l supportTom Hochstein2020-09-141-3/+0
| | | | | | | | | | In the past, i.MX gstreamer camera didn't work well with OpenCV v4l, so v4l was disabled. Now that i.MX gstreamer is no longer using OpenCV, v4l support can be restored. Fixes #475 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* qtbase: Define empty PACKAGECONFIG_VULKANKhem Raj2020-06-051-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>
* qtbase: Drop upstreamed patchTom Hochstein2020-06-022-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>
* qtbase: Add i.MX 8 configurationTom Hochstein2020-06-021-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>
* qtbase: Fix patch fuzz for mkspecs/linux-oe-g++/qmake.confantznin2020-05-051-6/+8
| | | | | | | The current version of the patch causes a fuzz because of context change. Signed-off-by: antznin <agodard@witekio.com>
* qtbase: Allow easy override of the mainline BSP GL backendOtavio Salvador2020-05-051-1/+1
| | | | | | | | 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
* Revert "qtbase: Do not pin gles2 when using open source graphic stack"Otavio Salvador2020-05-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* glmark2: don't build drm flavours for machines not supporting itMax Krummenacher2020-03-161-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>
* glmark2: Remove bbappendJoshua Watt2020-03-121-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 Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
* weston-init: Move weston.ini install to weston-initTom Hochstein2019-11-185-4/+108
| | | | | | | | | | | | | OE-core now installs weston.ini from weston-init, so align our recipe to do the same. The IVI dynamic layer now has a copy of the weston.ini file that is normally produced by the weston build. The AGL dynamic layer now uninstalls the weston.ini installed upstream. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* weston: Improve weston.ini selection logicTom Hochstein2019-11-042-0/+4
| | | | | | | | | | | | Add a variable WESTON_INI_INSTALL_FILE to make it easy to customize the selection of the weston.ini file. The main recipe now performs only a generic install of the selected file. For AGL and IVI, we use the BBFILES_DYNAMIC mechanism to specify no file and an IVI-specific file respectively. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* fix(qtbase): remove unnecessary patchChristopher Boyd2019-10-232-14/+0
|
* opencv: Adjust the bbappend for version 4.xKhem Raj2019-07-163-51/+3
| | | | | | The patch is no longer needed, relevant code no more present in opencv Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fmc: install all config filesChunrong Guo2019-07-121-1/+1
| | | | Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
* qtwayland: drop xcomposite-egl, xcomposite-glx packageconfig for mx8Max Krummenacher2019-05-051-0/+3
| | | | | | | | | | | | | | | | | | | NXP dropped native X11 support for i.MX 8(X). with xcomposite-glx: qtwayland fails in configure with: | ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition 'features.wayland-client && features.opengl && !features.opengles2 && features.xlib && libs.xcomposite && libs.glx' failed. | ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition 'features.wayland-server && features.opengl && !features.opengles2 && libs.xcomposite && libs.glx' failed. with xcomposte-egl: qtwayland fails during compile starting with: | .../qwaylandxcompositeeglclientbufferintegration.cpp:140:59: error: cannot convert 'Display*' {aka '_XDisplay*'} to 'EGLNativeDisplayType' {aka 'wl_display*'} | integration->mEglDisplay = eglGetDisplay(integration->mDisplay); | ~~~~~~~~~~~~~^~~~~~~~ Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* Revert "cpuburn-arm: Add armv7ve as a valid machine"Fabio Berton2019-03-261-1/+0
| | | | | | | | | | This reverts commit 0e12eb4a039f2e9b1d53c0a8a0815382190931be. This commit was merged in meta-openembedded/meta-oe layer. See commit: https://git.openembedded.org/meta-openembedded/commit/?id=ea59b56825912614d8b2acb3ed621a8e9333a23c Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* cpuburn-arm: Add armv7ve as a valid machineFabio Berton2019-03-221-0/+1
|
* remove True option to getVar callsAndré Draszik2019-01-171-1/+1
| | | | | | | | | | | | | | getVar() has been defaulting to expanding by default for a long time (2016), thus remove the True option from getVar() calls with a regex search and replace. Search & replace made using the following command: sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \ -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \ | cut -d':' -f1 \ | sort -u) Signed-off-by: André Draszik <andre.draszik@jci.com>
* fmc: update to c7576abChunrong Guo2019-01-141-1/+1
| | | | | | | | *update to lsdk 1812 tag include the following changes: c7576ab - Resolved compile warning on ubuntu with aarch64-linux-gnu-g++ v7.3 Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
* qtbase: Do not modify QT_CONFIG_FLAGSAndreas Müller2018-11-211-5/+0
| | | | | | | | | * For distros enabling x11 and wayland it breaks X11 images (xfce/lxqt) for ALL machines * It is a setting which can be done at runtime. E.g KDE plasma does so. * Settings like these do NOT belong into BSP layers Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* fmc: set EXTRA_OEMAKE_PLATFORM for p* targetsChunrong Guo2018-11-081-1/+7
| | | | | Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* qtbase: Refactor configurationTom Hochstein2018-11-061-6/+6
| | | | | | Replace QT_CONFIG_FLAGS with PACKAGECONFIG Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* qtbase: Drop redundant configuration flag -no-eglfsTom Hochstein2018-11-061-5/+4
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* qtbase: Fix QT_CONFIG_FLAGS for non-mainline-bspTom Hochstein2018-11-061-4/+7
| | | | | | | - Enable eglfs only for 3D parts and framebuffer backend - Disable opengl and enable linuxfb for 2D parts with no 3D Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* qtbase: Set the default platform correctlyTom Hochstein2018-11-061-0/+5
| | | | | | | Set the correct Qt platform for the graphics backend so the user isn't required to set it manually. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* qtbase: Fix SRC_URI whitespaceTom Hochstein2018-11-061-6/+9
| | | | | | | - Fix a missing space in an append. - Re-format to reduce leading whitespace. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* qtbase: Do not pin gles2 when using open source graphic stackAndreas Müller2018-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | One of the advantages in using upstream mesa is that we have the freedom to use gl or gles2 for qtbase. So follow meta-qt5's default here which is desktop-gl and give other layers a more simple chance to change default if necessary. Notes: * Did performance tests with my images and did not find any performance issues. * Some recipes in meta-qt5-extra fail to build when qtbase is build for gles2. A patch addressing imx was applied [1] - but honestly it is not the way to go: use meta-qt5's default which is fine. [1] https://github.com/schnitzeltony/meta-qt5-extra/commit/0972828deb6a9e6a44d7596e6e4817fd74dbb51c Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* fmc: udpate to 09a497fChunrong Guo2018-10-011-1/+2
| | | | | | | | | | | | | *update to lsdk 1809 tag include the following changes: 09a497f - Makefile: enable PPC support ba9ed3b - Remove fmc data file on cleanup command a3e83b6 - Added fmc option to perform only cleanup of last fmc execution * add EXTRA_OEMAKE_PLATFORM_qoriq-ppc to support ppc Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>