Commit Graph

174 Commits

Author SHA1 Message Date
Ernest Van Hoecke
8e02ec952d imx-oei: Add OEI_DDRCONFIG for imx95 A1 builds
Add new variable OEI_DDRCONFIG to be used with A1 builds to specify the
DDR configuration.

Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com>
(cherry picked from commit 1a77d79203)
2025-09-09 16:36:55 -03:00
Ernest Van Hoecke
4e110ac197 imx-oei: Add compile option for imx95 B0
Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com>
(cherry picked from commit 85863672d7)
2025-09-09 16:36:55 -03:00
Ernest Van Hoecke
b00bcb2307 imx-oei: Update SRCREV and license to NXP BSP LF6.6.52-2.2.1
Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com>
(cherry picked from commit 30e8b8107e)
2025-09-09 16:36:55 -03:00
Vitor Soares
44963fd741 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>
2025-07-22 18:01:58 +01:00
Tom Hochstein
5687813ed7 pipewire: Simplify gstreamer package config override
Allow the user to more easily override the removal of the gstreamer
PACKAGECONFIG.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-07-01 09:14:56 -07:00
Max Krummenacher
b747b01501 global: whinlatter updates for WORKDIR/UNPACKDIR and git fetch location
The series [1] changed the way sources are fetched/unpacked and
S needs to follow that. Additionally for git repos it moved away from
having 'git/' as the checkout directory.

This has been partly tested by building weston based image for
imx6/imx6ull/imx7/imx8/imx8mm/imx8mp/imx95 based images.
E.g. none of the recipes specific for qoriq is built time tested.

As walnascar is no longer compatible with master/whinlatter drop
it from LAYERSERIES_COMPAT.

[1] https://lore.kernel.org/openembedded-core/20250616095000.2918921-1-alex.kanavin@gmail.com/

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2025-06-28 18:58:39 +02:00
Hiago De Franco
7cf349d287 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>
2025-03-24 13:57:11 -03: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