Commit Graph

169 Commits

Author SHA1 Message Date
Vitor Soares
7f88682b74 imx-system-manager: fix EXTRA_OEMAKE verbose parameter
Change V=y to V=1 for proper verbose output in iMX System Manager builds.

Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
(cherry picked from commit 44963fd741)
2025-07-22 17:30:54 +00:00
Hiago De Franco
07dad4a976 imx-oei: provide virtual/imx-oei
Some hardware vendors provide a customized Optional Executable Image
(OEI) with changes specific to their boards (e.g. Toradex SMARC i.MX95).

Add a virtual provider to avoid conflicts between the OEI recipes from
other layers. This follows the pattern used for the related
imx-system-manager.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
(cherry picked from commit 7cf349d287)
2025-03-24 17:26:38 +00:00
Tom Hochstein
9a76d3abd7 glmark: Simplify logic for DRM config
Since i.MX 8, DRM is supported by default by the i.MX GPU. Simplify the
DRM config logic by reversing the default, making it clear that it is
i.MX 6 and 7 that do not support DRM.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-01-09 09:06:14 -08:00
Khem Raj
c2784046c5
xserver-common: Delete bbappend
This recipe is gone in meta-oe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-04 20:01:20 -08:00
Zelan Zou
e822d0905a fmc: Upgrade to lf-6.6.36-2.1.0 release
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2024-11-06 02:59:18 +01:00
Konrad Weihmann
481ba8ee3a chromium-imx.inc: drop unreferenced file
and the corresponding patch as well

Closes #2011

Signed-off-by: Konrad Weihmann <konrad.weihmann@avnet.eu>
2024-11-04 12:23:57 +00:00
Otavio Salvador
ac4e9df365
Merge pull request #1996 from tq-steina/master
imx-system-manager: use `MACHINE_ARCH` as `PACKAGE_ARCH`
2024-10-25 07:29:12 -03:00
Max Krummenacher
87148386fb glmark2: : add overrides for i.mx 95
Add the relevant configuration for an i.MX 95 SoC.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-10-24 10:05:24 +02:00
Max Krummenacher
78cebbf496 qtwayland: add overrides for i.mx 95
Add the relevant configuration for an i.MX 95 SoC.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-10-24 10:05:24 +02:00
Max Krummenacher
d00cf9454a qtbase: add overrides for i.mx 95
Add the relevant configuration for an i.MX 95 SoC.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-10-24 10:05:24 +02:00
Alexander Stein
7db4404952 imx-system-manager: use MACHINE_ARCH as PACKAGE_ARCH
The recipe build changes depending on the `SYSTEM_MANAGER_CONFIG` value,
which is machine-specific.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
2024-10-23 15:11:47 +02:00
Max Krummenacher
825d6a47b4 imx-system-manager: import recipe from meta-imx
imx-system-manager at 6.6.36-2.1.0 NXP BSP release.

This provides among others the DDR configuration which may require
machine dependent configurations. Thus additionally add a virtual
provider.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-10-22 00:13:56 +02:00
Jun Zhu
f5c65f2ab9 pipewire: Exclude gstreamer from PACKAGECONFIG list for i.MX 6, 7, 8 and 93
libcamera gst video source has the limition to co-work with pipewire gst video source.
NXP i.MX 95 HW will well support libcamera gst video source, and
the related pipewire gst video source should be enabled.

Signed-off-by: Jun Zhu <junzhu@nxp.com>
2024-10-08 22:49:56 +08:00
Jun Zhu
db4b09b8bd pipewire: Add libcamera back to PACKAGECONFIG for i.MX 95
Signed-off-by: Jun Zhu <junzhu@nxp.com>
2024-09-29 22:42:17 +08:00
Otavio Salvador
fc2efb01ae
Merge pull request #1941 from tq-steina/master
imx-oei: use `MACHINE_ARCH` as `PACKAGE_ARCH`
2024-09-14 09:20:47 -03:00
Fabio Estevam
c8fc8ad467 imx-cst: Remove it now that it is in meta-oe
Since meta-oe commit 87579c932e19 ("imx-cst: Add recipe") the imx-cst
recipe is avaiable in meta-oe:

87579c932e

Remove it from meta-freescale in favor of using the meta-oe version.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
2024-09-13 22:25:51 -03:00
Alexander Stein
b650de0478 imx-oei: use MACHINE_ARCH as PACKAGE_ARCH
The recipe build changes depending on the `OEI_BOARD` value, which is
machine-specific.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
2024-09-13 15:47:43 +02:00
Hiago De Franco
07931ef7fd imx-oei: move to dynamic-layers and add arm-toolchain
The recipe depends on meta-arm-toolchain, therefore it should be on
dynamic-layers/arm-toolchain folder. Create it and make the necessary
changes for conf/layer.conf.

Fixes: 61beaf5861 ("recipes-bsp: introduce imx-oei recipe")
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-09-08 11:25:18 +02:00
Fabio Estevam
6011167521 imx-cst: Remove unused patch
Since the update to version 3.4.0, the imx-cst patch is no
longer used.

Remove the unused imx-cst patch.

Signed-off-by: Fabio Estevam <festevam@denx.de>
2024-09-06 15:14:54 -03:00
Paul Gerber
81657e636f imx-cst: update the recipe for version 3.4.0
New version of NXP i.MX Code Signing Tool for signing images for i.MX
HABv4 and AHAB.

Signed-off-by: Paul Gerber <paul.gerber@ew.tq-group.com>
2024-08-27 08:06:10 +02:00
Alexander Stein
753a955102 openembedded-layer: Remove luajit abbappend
This (qoriq-ppc only) patch fails to apply since upstream commit
https://repo.or.cz/luajit-2.0.git/commitdiff/338e9863c220462201fde0e725aba4002310c849

This breaks 'devtool modify luajit' even on non-qoriq-pcc platforms.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
2024-08-05 11:31:38 +02:00
Meng Li
a43e994054 fmc: update patch format
The code of fmc package is created in windows editer environment,
and the CRLF is different from unix format, so update patch format
so that apply patch smoothly.

Signed-off-by: Meng Li <Meng.Li@windriver.com>
2024-07-10 09:55:17 +08:00
Max Krummenacher
bbaaa2981c patches: fix upstream-status
OE-core enabled the picky QA check on Upstream-Status.
commit b7fb91c797ab ("insane: add patch-status to default ERROR_QA")
Add missing upstream-status respectively fix unknown 'unknown' state.

strict_status_re = re.compile(r"^Upstream-Status: (Pending|Submitted|Denied|Inappropriate|Backport|Inactive-Upstream)( .+)?$", re.MULTILINE)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-06-18 18:15:31 +02:00
Meng Li
7f2d7385a9 meta-freescale: improve parameter definition of function errorFuncHandler
Add a patch to adjust parameter definition of function errorFuncHandler,
so that align with the definition in libxml2 package.

Signed-off-by: Meng Li <Meng.Li@windriver.com>
2024-06-07 09:00:32 +08:00
Khem Raj
365e9110b9
recipes: Switch WORKDIR use with UNPACKDIR
This is being enforced in master oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-22 13:25:43 -07:00
Tom Hochstein
4d55669232 pipewire: Fix move to dynamic-layers
Fixes: e70b160 ("pipewire: untie bbappend from meta-multimedia")
Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
2024-04-24 07:10:23 -05:00
Oleksandr Suvorov
e70b1608eb pipewire: untie bbappend from meta-multimedia
Move the recipe append to dynamic-layers. This allows one to use
meta-freescale without meta-multimedia layer.

Fixes: f2575b7e ("recipes-multimedia: Upgrade to NXP release 6.6.3_1.0.0")
Signed-off-by: Oleksandr Suvorov <cryosay@gmail.com>
2024-04-24 11:43:41 +03:00
Khem Raj
25d78fb6bd
qtbase: Enable wayland knob when in distro features
Mimic the behavior from recipe proper here since we override
packageconfig defaults. With QT 6.7, qtbase built without wayland
support is not sufficient to build rest of QT components e.g. qtwayland
errors out during build/configure

    ERROR: Qt Wayland Client requires QtGui to be build with support for wayland

Therefore add it when wayland is in distro features.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-02 10:12:48 -08:00
Jun Zhu
6153ca0fbd fmc: Update to commit 63c8ac9
Integrate new commits:
 63c8ac9 Deny HC usage on fmc cleanup
 3def2b9 Check if valid FMan handle exists when create devices
 a8a257b Rename COPYING to LICENSE

Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-07-01 22:55:57 +08:00
Khem Raj
80fd227f1d mpv: Do not enable x11 when using vivante graphics driver
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-08 07:48:47 -07:00
Clément Péron
58577f6254 dynamic-layers: meta-arm: tf-a: only set target for supported machines
This layer set the ARM TF-A build and install target for all board.

Only set those variables to the supported machines.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
2023-05-11 18:06:27 +02:00
Khem Raj
245e9fbc7f xdg-desktop-portal-wlr: Disable when using vivante gpu driver
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-13 15:53:55 -07:00
Khem Raj
4bf24dd514 qtmultimedia: Fix build of dependencies when using vivante gpu drivers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-13 14:34:05 -07:00
Khem Raj
090079a62f xdg-desktop-portal-wlr: Disable build when using imx gpu driver
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-13 11:01:10 -07:00
Khem Raj
9a1e1243b4 vlc: Disable x11 when using imx gpu driver
It does not provide glx implementation which is needed for vlc x11
support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-13 10:26:46 -07:00
Mauro Salvini
98b3dec7e2
qt4-imx-support.inc: fix append syntax
Change the "+=" in "=", we are using the :append

Signed-off-by: Mauro Salvini <m.salvini@koansoftware.com>
2023-02-13 12:37:12 +01:00
Chris Dimich
fd3289315d chromium-ozone-wayland: remove bbappend and patches
Removing because they are based on older version of chromium
(101.0.4951.54) and do not apply on latest/HEAD.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-02-08 11:20:04 -08:00
Walter Schweizer
c731dcbe2d imx-cst: fix build issue for Ubuntu 22.04(LTS)
On Ubuntu 22.04(LTS) cst fails to link with libcrypto.

NXP uses weaken to solve a conflict in linking.
The linker in Ubuntu seems to ignore weak symbols does
not link libcrypto at all.

The patch fixes the conflict in the code itself.
It restricts the scope of err_msg to the module.

Signed-off-by: Walter Schweizer <walter.schweizer@siemens.com>
2023-02-04 11:03:24 +01:00
Chris Dimich
23bdb51b78 chromium-ozone-wayland: add bbappend and patches as per NXP 5.15.71_2.2.0 rel
Changes include:

    - support on i.MX 8 series platform.
    - 8MM/8MP/8MQ support h264/hevc/vp8/vp9 hardware decoding.
    - 8QM/8QXP support h264/hevc/vp8 hardware decoding.
    - support seek, playrate change and resolution change.
- support video acceleration for online media platform such as
Youtube, bilibili.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-01-09 10:52:50 -08:00
Tom Hochstein
f17b502396 weston-init: Drop redundant xwayland=true setting
The main recipe now sets xwayland=true in weston.ini, so drop it from
here.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-12-15 09:42:13 -07:00
Jun Zhu
db67bdf59c Switch NXP QorIQ repositories to github.com
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>
2022-12-15 11:47:18 +08:00
Tom Hochstein
cb85cf427d qt6-layer: Add Qt6 support
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>
2022-11-15 15:50:12 -07:00
Mauro Salvini
3abc09fe62 qt4-imx-support: fix typo
Signed-off-by: Mauro Salvini <m.salvini@koansoftware.com>
2022-10-07 12:25:31 +02:00
Mauro Salvini
d2107e1927 qt4-imx-support: change format of patches added by commit 4aed4a5
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>
2022-10-03 12:09:20 +02:00
Mauro Salvini
4aed4a5833 qt4-imx-support: fix build for imxgpu2d SOCs
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>
2022-09-28 17:00:31 +02:00
Andrey Zhizhikin
cbea2c3647 dynamic-layers: add meta-arm to provide upstream TF-A
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
2022-06-14 18:55:57 +00:00
Khem Raj
91df95b441 imx-cst: Use specific BSD license
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>
2022-04-14 10:30:49 -07:00
Tom Hochstein
286385e3b2 dynamic-layers: Update SOC overrides
Fix dynamic layer overrides missed by the script.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-03-02 09:56:39 -06:00
Otavio Salvador
30f5ce1d21 Generalize overrides subsystem for NXP and Mainline support
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>
2022-02-21 20:06:28 -03:00
Pierre-Jean Texier
bef00d6e4f recipes: use https protocol and add explicit branch parameter
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>
2021-11-03 22:27:01 +01:00