Commit Graph

70 Commits

Author SHA1 Message Date
Tom Hochstein
a127044541 fsl-imx-base.inc: Drop gl config [YOCIMX-7737]
For parts without GPU, the gl config gets set, but you can't have that
and gles2 at the same time:
```
CMake Error at cmake/QtBuildInformation.cmake:508 (message):
|   Feature "opengles2": Forcing to "ON" breaks its condition:
|
|       NOT WIN32 AND NOT WATCHOS AND NOT QT_FEATURE_opengl_desktop AND GLESv2_FOUND
|
|   Condition values dump:
|
|       WIN32 = ""
|       WATCHOS = "0"
|       QT_FEATURE_opengl_desktop = "ON"
|       GLESv2_FOUND = "TRUE"
```

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-03-19 18:14:48 -05:00
Tom Hochstein
efa8ae302b distro: Fix SDK builds for non-GPU parts [YOCIMX-7737]
On parts without GPU, an imx-image-full SDK build fails in qtdavis and
qt3d do_install:
```
| ninja: error: unknown target 'install'
```

The same error was fixed for i.MX 93. Extend that fix for all parts
without GPU.

Fixes:
8b5583333e fsl-imx-base.inc: Limit imx93 fix [YOCIMX-7167]
037aac9c51 fsl-imx-base.inc: Enable gles2 PACKAGECONFIG through distro [YOCIMX-7167]

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-03-19 15:00:07 -05:00
Jun Zhu
6dd9548cd7 Revert "wpa-supplicant/hostapd: Update defconfig to enable new features [YOCIMX-7704]"
The patch should revert the patch to check the previous configures.

This reverts commit d9ed2dc0f3.
2024-03-19 16:29:17 +08:00
Tom Hochstein
26eecb45ae chromium-ozone-wayland: Fix narrowing build break
Backport fix from https://chromium-review.googlesource.com/c/chromium/src/+/5150303.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-03-09 10:34:53 -06:00
Sherry Sun
d9ed2dc0f3 wpa-supplicant/hostapd: Update defconfig to enable new features [YOCIMX-7704]
Using new wpa-supplicant/hostapd defconfig file,
as it enables many other features like WPA3-R3, AKA, etc.

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Signed-off-by: Jun Zhu <junzhu@nxp.com>
2024-03-07 14:21:15 +08:00
Tom Hochstein
9c991d9708 fsl-imx-preferred-env.inc: Remove sysvinit from distro config [YOCIMX-7648]
DISTRO_FEATURES incorrectly includes sysvinit. The problem is that the
variable INIT_MANAGER that was introduced to simplify the selection of
the init system manager did make our init system manager selection
logic incorrect.

Update our distro config to use INIT_MANAGER (via POKY_INIT_MANAGER).

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-03-06 11:11:03 -06:00
Tom Hochstein
7f5086480f Revert "qtbase: Fix PACKAGECONFIG after base recipe change"
This reverts commit 8643f07d7a.
2024-02-29 14:25:31 -06:00
Tom Hochstein
4504bbd057 Revert "recipes-qt: Upgrade Qt 6.5.3 -> 6.7 [YOCIMX-7690]"
This reverts commit 63d2496d6e.
2024-02-29 11:59:41 -06:00
Flora Hu
0ef82b8f9b packagegroup-imx-security: exclude keyctl-caam and crypto-af-alg from imx93 and 95 rootfs [YOCIMX-7692]
Signed-off-by: Flora Hu <flora.hu@nxp.com>
2024-02-29 14:29:34 +08:00
Tom Hochstein
8643f07d7a qtbase: Fix PACKAGECONFIG after base recipe change
The build fails in do_configure:
```
| ERROR: Qt Wayland Client requires QtGui to be build with support for wayland
```

The base recipe has added a wayland PACKAGECONFIG [1], so need to set that
in our local override.

[1] 9c1bca42d0 qtbase: add PACKAGECONFIG for wayland support

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-02-28 16:25:23 -06:00
Tom Hochstein
63d2496d6e recipes-qt: Upgrade Qt 6.5.3 -> 6.7 [YOCIMX-7690]
Revert two commits that are redundant after the upgrade to 6.7.

Revert "qtgrpc: Fix native build for SDK [YOCIMX-7429]"

This reverts commit 9a159c9070.

Revert "qtmultimedia: Remove ffmpeg [YOCIMX-6921]"

This reverts commit 6ecea53200.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-02-27 09:37:32 -06:00
Tom Hochstein
34706bef2b libcamera: Drop redundant fix
The fix is now in the base recipe.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-02-12 07:48:13 -06:00
Zelan Zou
5b4e92ef7a packagegroup-fsl-tools-testapps: Install media-ctl in rootfs [YOCIMX-7652]
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2024-02-02 09:01:26 +01:00
Tom Hochstein
73dc48df39 packagegroup-fsl-tools-gpu: Include imx-gpu-apitrace for 95 [YOCIMX-7612]
Restore imx-gpu-apitrace to the 95 rootfs. It was removed when patrace
was added to 95, but we want both.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-01-30 06:29:27 -06:00
Jun Zhu
5cfe28392d dpdk: Update dpdk.inc to commit 5479bb82
[YOCIMX-7646]

Signed-off-by: Jun Zhu <junzhu@nxp.com>
2024-01-29 18:00:48 +08:00
Tom Hochstein
be9e98a2df opencl-icd-loader: Add RDEPENDS for opencl-headers [YOCIMX-7632]
Since opencl-headers is a header-only package, opencl-headers-dev is
not implicitly included by Yocto in dev-pkgs. Add it explicitly.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-01-26 17:16:41 +01:00
Tom Hochstein
2018910eaa packagegroup-fsl-tools-gpu: Add patrace to 95 [YOCIMX-7612]
Use patrace for 95 instead of imx-gpu-apitrace.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-01-22 17:41:37 -06:00
Tom Hochstein
39ae704db4 Revert "packagegroup-fsl-tools-gpu: Add patrace to 95 [YOCIMX-7612]"
patrace fails to build on the build machine.

This reverts commit e4499e264e.
2024-01-22 16:45:46 -06:00
Tom Hochstein
e4499e264e packagegroup-fsl-tools-gpu: Add patrace to 95 [YOCIMX-7612]
Use patrace for 95 instead of imx-gpu-apitrace.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-01-22 18:58:43 +01:00
Tom Hochstein
e3f1948b8f packagegroup-core-full-cmdline: Don't include NFS server support [LF-11310]
The logs show errors for NFS server:
```
systemd[1]: Dependency failed for NFS Mount Daemon.
systemd[1]: Dependency failed for NFS server and services.
systemd[1]: Failed to mount NFSD configuration filesystem.
systemd[1]: nfs-mountd.service: Job nfs-mountd.service/start failed with result 'dependency'.
systemd[1]: nfs-server.service: Job nfs-server.service/start failed with result 'dependency'.
```

The default kernel config doesn't support NFS server, so the error is
not a surprise. This issue was fixed once incorrectly by hacking the
NFS server install [1]. A more recent fix reverted that and fixed
instead the root cause of including the NFS server [2]. That fix is
fine, but the problem persists because there is a second recipe
including the NFS server, packagegroup-core-full-cmdline.

[1] 586837c146 nfs-utils_1.3.3.bbappend: Check for CONFIG NFSD in kernel config [YOCIMX-1736] [YOCIMX-1737]
[2] ec71133501 imx-image-*: Remove nfs-server from rootfs [YOCIMX-7329]

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-01-22 11:36:50 -06:00
Zelan Zou
59fa060ead optee-os_%.imx.bbappend: Set imx93 stmm build option CFG_RPMB_FS_DEV_ID=0 [YOCIMX-7344] [LF-11364]
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2024-01-19 13:57:26 +08:00
Mingli Yu
0357e46e09 openssh: Remove the bbappend
The bbappend is added to disable rng-tools originally as [1], but the
rng-tools has been already removed in oe-core as [2]. So no need to
keep this bbappend which used to disable rng-tools. And the means used
to disable rng-tools [1] also make the sshd service not work after the
logic [3] introduced.

So remove the useless bbappend.

[1] 6c9ad14
[2] https://git.openembedded.org/openembedded-core/commit/?id=868dfb46d96a27ec9041cb902fb769330277257d
[3] https://git.openembedded.org/openembedded-core/commit/?id=bc830ad3c6a11af1a350dca7f33f0682aeee0d21

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
2024-01-18 09:05:15 -06:00
Tom Hochstein
1c09269f39 imx-gpu-sdk: Add missing RDEPENDS for imx95 [YOCIMX-7603]
The runtime dependencies are not extended properly for imx95. Add
rapidopencl, rapidvulkan, and vulkan-loader.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-01-15 10:59:45 -06:00
Tom Hochstein
4778f0f236 imx-gpu-sdk: Release 6.3.0 [STDIO-2054]
* FslDataBinding now supports two way binding.
* UI.Benchmark now supports a draw cache option.
* FslSimpleUI
  * Draw caching support.
  * Handles SRGB and HDR framebuffers better.
* Added examples for Custom app services.
* Android HDR check improved.
* FslNativeWindowSystem modernized.
* Yocto: Improved Wayland XDG implementations.
  * Now supports XDG decorations where applicable.
* FslBuild
  * Visual Studio projects no longer references unused flavors.
  * Clang format/tidy are now flavor aware.
  * -open2 can now supply arguments to visual studio code (can be used as a workaround for wayland issues).
* Upgraded fmt to 10.1.1
* Upgraded clang tools to 16

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-01-15 09:20:38 -06:00
Tom Hochstein
1ce2bdb334 imx-gpu-sdk: Release 6.2.3 [STDIO-2053]
- Marked samples that use the GL_VIV_direct_texture extension but was not marked as such.
- SmoothScroll should now scroll on displays that are too small to show the entire text being shown
- Fix out-of-bound R/W in gaussian_filter.cl
- FslUtil.OpenCL.ContextEx added new constructor and reset method.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-01-15 08:08:41 -06:00
Flora Hu
1f985e787b packagegroup-fsl-tools-testapps.bbappend: Include brctl in full and multimedia images [YOCIMX-7592]
Signed-off-by: Flora Hu <flora.hu@nxp.com>
2024-01-15 03:51:52 +01:00
Tom Hochstein
9ad4d0fa90 imx-gpu-sdk: Enable G2D for 95 [LF-10833]
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-01-13 09:57:53 -06:00
Tom Hochstein
ba980f457d packagegroup-fsl-tools-gpu: Rename Mali OpenCL dev package [YOCIMX-7489]
The Mali OpenCL API is updated for ICD, resulting in mali-imx-libopencl package
being renamed to mali-imx-opencl-icd.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-01-11 16:33:00 -06:00
i.MX Yocto Project Release
873518ccb8 imx-gpu-sdk: Update imx-gpu-sdk_6.2.3.bb to commit c17dcc7
Signed-off-by: i.MX Yocto Project Release <imx.release@nxp.com>
2024-01-11 14:13:31 -06:00
Tom Hochstein
a9c70c2219 mali-imx: Stop providing OpenCL API [YOCIMX-7489]
Khronos provides headers and an ICD loader that frees each OpenCL
implementation from having to provide them. Switch our implementation
to take advantage of this.

Also, rename the package to mali-imx-opencl-icd to align with other
implementations:
https://packages.debian.org/bookworm/ocl-icd-libopencl1

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-01-11 07:13:16 -06:00
Tom Hochstein
0ee241e68c imx-gpu-sdk: Switch branch to release/6.2.3
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-01-09 13:21:15 -06:00
Tom Hochstein
e10d612656 imx-gpu-sdk: Align with recipe automation [LF-11208]
Standard recipe automation uses SRCBRANCH.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-01-09 13:21:15 -06:00
Tom Hochstein
48d2e93935 nativesdk-packagegroup-sdk-host: Fix nativesdk-glslang addition [STDIO-1992]
The package nativesdk-glslang is not being added to the SDK because the
MACHINEOVERRIDES are cleared for class-nativesdk:

6907da7eb4

Add it unconditionally.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-01-07 12:53:59 -06:00
Tom Hochstein
81f98b4c31 nativesdk-packagegroup-sdk-host: Add nativesdk-glslang to SDK [STDIO-1992]
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-01-05 11:41:12 -06:00
Tom Hochstein
bd7b4b6363 Revert "imx-gpu-sdk: Fix nativesdk-glslang inclusion [STDIO-1992]"
This reverts commit 00bc03aaa2.

Revert "imx-gpu-sdk: Add glslang to the SDK host toolchain [STDIO-1992]"

This reverts commit 5a18b6f8c2.
2024-01-05 11:41:12 -06:00
Jun Zhu
fb8c16b3d8 packagegroup-imx-isp: Include libcamera for i.MX95 [YOCIMX-7440]
Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-12-29 14:59:28 +08:00
Jun Zhu
7bee8fba24 imx-gpu-sdk: Update imx-gpu-sdk_6.2.3.bb to commit 72a5579
Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-12-29 14:50:36 +08:00
Jun Zhu
ed072258de libcamera_0.1.0.imx.bb: Add NXP fork for i.MX95 build [YOCIMX-7440]
Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-12-25 15:05:13 +08:00
Tom Hochstein
00bc03aaa2 imx-gpu-sdk: Fix nativesdk-glslang inclusion [STDIO-1992]
The append syntax has no effect. Make a simple assignment instead.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-12-23 09:53:07 -06:00
Tom Hochstein
a38cc3e9c7 qtmultimedia: Fix missing libxrandr dependency [YOCIMX-7429]
Fixes:
```
| src/plugins/multimedia/ffmpeg/qx11surfacecapture.cpp:21:10: fatal error: X11/extensions/Xrandr.h: No such file or directory
|    21 | #include <X11/extensions/Xrandr.h>
|       |          ^~~~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
```

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-12-22 14:39:39 -06:00
Tom Hochstein
5a18b6f8c2 imx-gpu-sdk: Add glslang to the SDK host toolchain [STDIO-1992]
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-12-21 18:06:20 -06:00
i.MX Yocto Project Release
c33a629720 gputop: Update gputop_6.4.11.p2.6.bb to commit 0040dfe
Signed-off-by: i.MX Yocto Project Release <imx.release@nxp.com>
2023-12-21 17:34:07 -06:00
i.MX Yocto Project Release
883f7f2de9 libgpuperfcnt: Update libgpuperfcnt-6.4.11.p2.6-arm-wayland to EULA 44a8052
Signed-off-by: i.MX Yocto Project Release <imx.release@nxp.com>
2023-12-21 17:31:41 -06:00
i.MX Yocto Project Release
f6c95592e6 libgpuperfcnt: Update libgpuperfcnt-6.4.11.p2.6-arm-wayland to commit e4ba456
Signed-off-by: i.MX Yocto Project Release <imx.release@nxp.com>
2023-12-21 17:31:41 -06:00
i.MX Yocto Project Release
c51c495815 libgpuperfcnt: Update libgpuperfcnt-6.4.11.p2.6-aarch64-wayland to EULA 44a8052
Signed-off-by: i.MX Yocto Project Release <imx.release@nxp.com>
2023-12-21 17:30:27 -06:00
i.MX Yocto Project Release
8745716e70 libgpuperfcnt: Update libgpuperfcnt-6.4.11.p2.6-aarch64-wayland to commit e4ba456
Signed-off-by: i.MX Yocto Project Release <imx.release@nxp.com>
2023-12-21 17:30:27 -06:00
i.MX Yocto Project Release
efab5896e3 libgpuperfcnt: Update libgpuperfcnt-6.4.11.p2.6-arm-fb to EULA 44a8052
Signed-off-by: i.MX Yocto Project Release <imx.release@nxp.com>
2023-12-21 17:16:51 -06:00
i.MX Yocto Project Release
cec18e2a8b libgpuperfcnt: Update libgpuperfcnt-6.4.11.p2.6-arm-fb to commit e4ba456
Signed-off-by: i.MX Yocto Project Release <imx.release@nxp.com>
2023-12-21 17:16:50 -06:00
Tom Hochstein
04251d3516 imx-gpu-viv: Bump 6.4.11.p2.4 -> 6.4.11.p2.6
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-12-21 12:29:48 -06:00
Tom Hochstein
0ebdc66b7b protobuf: Fix SDK build for nativesdk-qtgrpc [YOCIMX-7429]
Backport recipe workaround:
b1deec0de4

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-12-21 11:31:48 -06:00