Commit Graph

167 Commits

Author SHA1 Message Date
Vitor Soares
765da3cd93 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:51 +00:00
Alexander Stein
e70573421b Revert "imx-cst: Remove it now that it is in meta-oe"
meta-oe includes imx-cst only in styhead and above branches, but not in
scarthgap. Revert the removal in order to provide imx-cst for scarthgap
as well.
This reverts commit 448312c35c.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
2025-04-28 15:50:24 +02:00
Khem Raj
a52fe28bc4 xserver-common: Delete bbappend
This recipe is gone in meta-oe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-02 09:18:21 -03:00
Fabio Estevam
448312c35c 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>
2025-04-02 09:18:21 -03:00
Hiago De Franco
01945b2982 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:33 +00:00
Tom Hochstein
47571ec37b 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>
(cherry picked from commit 9a76d3abd7)
2025-01-09 17:34:41 +00:00
Zelan Zou
e41cb81ab4 fmc: Upgrade to lf-6.6.36-2.1.0 release
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
(cherry picked from commit e822d0905a)
2024-11-06 11:47:02 +00:00
Konrad Weihmann
1370f150a6 chromium-imx.inc: drop unreferenced file
and the corresponding patch as well

Closes #2011

Signed-off-by: Konrad Weihmann <konrad.weihmann@avnet.eu>
(cherry picked from commit 481ba8ee3a)
2024-11-04 13:51:56 +00:00
Alexander Stein
cabb62db06 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>
(cherry picked from commit 7db4404952)
2024-10-25 10:29:26 +00:00
Max Krummenacher
e4e9054805 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>
(cherry picked from commit 87148386fb)
2024-10-25 10:17:54 +00:00
Max Krummenacher
215e4e3e6b 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>
(cherry picked from commit 78cebbf496)
2024-10-25 10:17:54 +00:00
Max Krummenacher
beba330af4 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>
(cherry picked from commit d00cf9454a)
2024-10-25 10:17:54 +00:00
Max Krummenacher
452045351b 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>
(cherry picked from commit 825d6a47b4)
2024-10-21 23:44:08 +00:00
Jun Zhu
083c3eec2f 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>
(cherry picked from commit f5c65f2ab9)
2024-10-08 15:52:27 +00:00
Jun Zhu
0c1b224fcc pipewire: Add libcamera back to PACKAGECONFIG for i.MX 95
Signed-off-by: Jun Zhu <junzhu@nxp.com>
(cherry picked from commit db4b09b8bd)
2024-09-30 11:17:04 +00:00
Alexander Stein
1fb0f36c9e 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>
(cherry picked from commit b650de0478)
2024-09-14 12:21:03 +00:00
Hiago De Franco
873c567565 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>
(cherry picked from commit 07931ef7fd)
2024-09-09 11:32:17 +00:00
Fabio Estevam
a727b64c0d 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>
(cherry picked from commit 6011167521)
2024-09-06 21:57:21 +00:00
Alexander Stein
dcf5ab3d5f 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>
(cherry picked from commit 753a955102)
2024-08-27 14:13:40 -03:00
Meng Li
86e931c872 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>
(cherry picked from commit a43e994054)
2024-08-27 14:02:42 -03:00
Paul Gerber
c086b04b2f 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>
(cherry picked from commit 81657e636f)
2024-08-27 12:51:07 +00:00
Max Krummenacher
e70adddc0d 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>
(cherry picked from commit bbaaa2981c)
2024-06-18 19:06:13 -03:00
Meng Li
6c09a03c15 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>
(cherry picked from commit 7f2d7385a9)
2024-06-18 19:06:13 -03: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
Ting Liu
203f407a9e qoriq: Convert to new override syntax
* change `virtclass-native`` to ``class-native`
* add fixes for ls2088a

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-10-13 15:01:28 +08:00
Khem Raj
2acbec4cc3 imx-cst: Correct SRC_URI to use static SRCREV instead of tag
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-04 12:02:22 -07:00