Commit Graph

367 Commits

Author SHA1 Message Date
Max Krummenacher
48dfc5f5f3 wayland-protocols: use upstream repo with NXP downstream patches
OE-core update wayland-utils to 1.3.0 which now requires
wayland-protocols version >= 1.44.
As the imx-nxp-bsp forked wayland protocols and does not provide
a version later than 1.41 the build fails in do_configure of
wayland-utils.

Drop the wayland-protocol recipe of the downstream fork, extract
the 3 relevant patches on top of upstream v1.41 and apply them
in a bbappend on top of whatever OE-core provides for wayland-protocols.
(6 downstream patches not relevant for the build are dropped)

| ../sources/wayland-utils-1.3.0/wayland-info/meson.build:4:9:
|   ERROR: Dependency lookup for wayland-protocols with method 'pkgconfig' failed:
|     Invalid version, need 'wayland-protocols' ['>= 1.44'] found '1.41'.

The `inherit allarch` from OE-core can not easily be overridden. I.e.
just setting `PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}"` was
ignored and the packages were still allarch without the workaround.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>

wayland-protocol: drop patches 0004-0009
2026-01-07 10:09:01 +01:00
Tom Hochstein
d5850dd42c vulkan-utility-libraries: Add 1.3.275.0.imx downgrade
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-10-15 16:41:22 -05:00
Tom Hochstein
5e802566f3 vulkan-loader: Configure virtual-vulkan-icd for i.MX GPU
Use the new virtual runtime provider to configure the ICD for i.MX GPU.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-10-06 09:24:31 -05:00
Max Krummenacher
d7910cd433 layerwide: follow rename virtual/opencl-icd to virtual/libopencl1
A change in meta-openembedded that provided virtual/opencl-icd [1]
changed the name to virtual/libopencl1.

[1] https://git.openembedded.org/meta-openembedded/commit/?id=87b44d29b6942427bfb1fab02a4564e41dcc01a0

Fixes e.g. when building 'clpeak' for a downstream vivante setup:
| ERROR: The file /usr/lib/libOpenCL.so.1 is installed by both opencl-icd-loader and imx-gpu-viv, aborting

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2025-09-28 11:08:48 +02:00
Otavio Salvador
84465457fd
Merge pull request #2347 from nxp-upstream/optee-upgrade-to-6.12.20
Optee Update From 6.12.20-2.0.0
2025-09-10 08:18:11 -03:00
Ernest Van Hoecke
8e1ebe57de imx-base.inc: Update i.MX95 default Rev to B0
This is necessary to align with NXP BSP LF6.6.52-2.2.1.

In imx-oei, the default DDR timings have been updated to B0, and anyone
building for A0/A1 is expected to pass the argument DDR_CONFIG with the
A1 timings to imx-oei.

Therefore, a machine conf for A0/A1 support that also sets the desired
timings is always necessary, and we have to drop A0/A1 from
imx-base.inc. It is not enough to override IMX_SOC_REV to support A0/A1.

Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com>
(cherry picked from commit e43eb83044)
2025-09-09 16:36:55 -03:00
Zelan Zou
54e05b2601 imx-base.inc: Update optee PREFERRED_VERSION to 4.6.0.imx
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2025-09-03 10:57:15 +08:00
Tom Hochstein
a3c087a3cb weston: Upgrade 14.0.1.imx -> 14.0.2.imx
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-08-26 10:10:21 -05:00
Tom Hochstein
5717bf7412 glslang: Align with Vulkan downgrade 1.3.275.0.imx
The current glslang fails to compile.
```
| /.../SPIRV/SpvTools.cpp: In function 'spv_target_env glslang::MapToSpirvToolsEnv(const SpvVersion&, spv::SpvBuildLogger*)':
| /.../SPIRV/SpvTools.cpp:75:32: error: 'SPV_ENV_VULKAN_1_4' is not a member of 'spv_target_env'
|    75 |         return spv_target_env::SPV_ENV_VULKAN_1_4;
|       |                                ^~~~~~~~~~~~~~~~~~
| /.../SPIRV/SpvTools.cpp: In function 'void glslang::SpirvToolsValidate(const TIntermediate&, std::vector<unsigned int>&, spv::SpvBuildLogger*, bool)':
| /.../SPIRV/SpvTools.cpp:168:5: error: 'spvValidatorOptionsSetAllowOffsetTextureOperand' was not declared in this scope
|   168 |     spvValidatorOptionsSetAllowOffsetTextureOperand(options, intermediate.usingTextureOffsetNonConst());
|       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

Downgrade to 1.3.275.0 to align with the existing Vulkan downgrade.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-08-26 10:10:21 -05:00
Tom Hochstein
a2f9d42178 wayland-protocols: Upgrade 1.37.imx -> 1.41.imx
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-08-26 10:05:32 -05:00
Zelan Zou
9d27357cac gstreamer: Upgrade to 1.26.0
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2025-08-14 14:14:13 +08:00
Rodrigo M. Duarte
2a1583a69c xwayland: 23.2.5.imx -> 24.1.6-imx
Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-06-02 18:00:23 -03:00
Otavio Salvador
1f2e35923d
Merge pull request #2284 from OSSystems/topic/gstreamer
Update gstreamer to LF6.12.3
2025-05-21 13:21:27 -03:00
Rodrigo M. Duarte
6b7c39e76d imx-base: Update libdrm version to 2.4.123.imx
Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-21 11:00:09 -03:00
Rodrigo M. Duarte
d7f4613e44 imx-base: Change the IMX_DEFAULT_KERNEL assignment
This commit changes the IMX_DEFAULT_KERNEL assignment to allow
change the kernel provider.

Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-20 17:22:44 -03:00
Rodrigo M. Duarte
b19332a207 imx-base: Change the PREFERRED_PROVIDER u-boot assignment
This commit changes the PREFERRED_PROVIDER_u-boot assignment
to allow to change the u-boot provider.

Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-20 17:22:44 -03:00
Rodrigo M. Duarte
a6a9fc8ee4 imx-base: Update gstreamer1.0-libav version
This commit update the gstreamer1.0-libav version for imx8 and imx9.

Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-20 17:22:44 -03:00
Max Krummenacher
755e5c811a gst-examples: import from oe-core and downgrade to 1.24.7
OE core upgraded gst-examples from 1.18.6 to 1.26.1.
The newer version fails in configure as it expects the gstreamer
version to be 1.26 or greater.

Import the 1.26.1 recipe and downgrade it to 1.24.7. Append the
version with '.imx' to point out that it is meant for the NXP
gstreamer fork.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2025-05-18 12:26:28 +02:00
Sathishkumar Duraisamy
63661cd18e conf/machine/include/imx-base: Default version for weston wayland
Updated default version for weston to 14.0.1 and wayland protocol to
1.37 based on BSP LF6.12.3_1.1.0

Signed-off-by: Sathishkumar Duraisamy <sathishkumar.d.cbe@gmail.com>
2025-05-17 11:26:19 +05:30
Hiago De Franco
10b651b0d1 recipes: fix whitespace warnings
Since OE bitbake commit 24772dd2ae6c ("parse/ConfHandler: Add warning for
deprecated whitespace usage"), the current build generates the following
warning (as example):

WARNING:
/var/home/frh/bsp-master/build/../layers/meta-freescale/recipes-kernel/linux/linux-imx.inc:36
has a lack of whitespace around the assignment:
'KCONFIG_MODE="--alldefconfig"'

Fix all the warnings.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-04-22 19:37:01 -03:00
Tom Hochstein
896fce3bc4 imx-base.inc: Drop redundant i.MX 91 override
IMX_SOC_REV defaults to A0, so no need to override it.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-03-28 05:56:30 -07:00
Ricardo Salveti
b6a666659c imx-base: mx8mq: fix SOC_ATF_BOOT_UART_BASE value
mx8mq uses 0x30860000 as the base address for boot uart base.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2025-03-27 20:52:35 -03:00
Tom Hochstein
04abb8bec1 optee-imx: Upgrade 4.2.0.imx -> 4.4.0.imx
Copy latest support from NXP BSP LF6.6.52_2.2.0.

Note that clang is disabled in optee-os-fslc.inc, which is copied from
meta-arm optee-os.inc.

Fixes: Issue 2048 - Upgrade BSP to LF6.6.52_2.2.0
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-03-26 07:36:14 -07: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
Jonathan GUILLOT
1285232175 Set default UBOOT_ENTRYPOINT for mx93-generic-bsp
It allows a  correct kernel load address when using FIT image with
i.MX93. The value 0x80400000 has been retrieved from
imx93_11x11_evk_defconfig in uboot-imx.

Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
2025-01-30 21:32:56 +01:00
Alexander Stein
96b9e1da10 imx-base: Add i.MX 91 configuration
It is based on imx-6.6.52_2.2.0 NXP BSP release.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
2025-01-29 08:26:55 +01:00
Valentin Jec
49ab2beac7 xwayland*: Upgrade Graphics BSP to LF6.6.52_2.2.0
Bump xwayland version 23.1.1.imx -> 23.2.5.imx

Signed-off-by: Valentin Jec <valentin.jec@nxp.com>
2025-01-17 13:31:05 -08:00
Tom Hochstein
7afa05781c imx-base.inc: Add imxviv and imxmali overrides
The recipe overrides for Mali are set currently by mx95 override. Add
imxmali and imxviv overrides for a simpler, scalable model. Use the new
model to set the preferred providers for the graphics libraries.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-01-17 13:28:16 -08:00
Tom Hochstein
c459a9974b imx-base.inc: Drop redundant mesa setting
The default graphics provider is already set to mesa in
poky/meta/conf/distro/include/default-providers.inc, which is included
by bitbake.conf.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-01-17 13:28:16 -08:00
Zelan Zou
98cb547ce4 gstreamer1.0: Upgrade version 1.24.0 to 1.24.7
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2025-01-15 12:50:10 +01:00
Weisser, Pascal
cec6d45699 imx-base: Avoid unnecessary device tree blob files.
When using fitImage as kernel image type the fitImage already contains the
device tree blob files. So, it's not necessary to add them to the image
boot files.

Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com>
2025-01-08 11:12:26 +01:00
Otavio Salvador
4abb53abda
Merge pull request #2001 from nxp-upstream/lf_6_6_36_210
Upgrade NXP Graphics BSP to LF6.6.36_2.1.0
2024-10-28 08:22:27 -03:00
Valentin Jec
fc287f98d9 Upgrade BSP to LF6.6.36_2.1.0
spir: Update downgrade spir: 1.3.261.1.imx -> 1.3.275.0.imx

vulkan: Update downgrade vulkan: 1.3.261.1.imx -> 1.3.275.0.imx

vulkan-loader_1.3.261.1.imx.bbappend: Upgrade vulkan-loader: 1.3.261.1.imx -> 1.3.275.0.imx

Add patch for wsi layer

imx-base.inc: Update `PREFFERED_VERSION` for vulkan and spir

Signed-off-by: Valentin Jec <valentin.jec@nxp.com>
2024-10-25 13:48:21 +03:00
Max Krummenacher
ff9e2a169e imx-base: add mali gpu support for i.mx 95
Add the relevant configuration for an i.MX 95 SoC so that the
mali-imx recipe is selected for userspace GPU support (EGL, GLES...).

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-10-24 10:05:24 +02:00
Max Krummenacher
3e08ba16f9 imx-base: Add i.MX 95 configuration
Based on 6.6.36-2.1.0 NXP BSP release.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-10-22 00:13:56 +02:00
Tom Hochstein
ef8b4c41cf boot: Fix UUU tagging, extend to fslc
Using the UUU-tagged bootloader image directly with UUU can cause UUU
to hang. The bootloader image is split on a certain transmit size, and
the hang occurs if the tag does not fit with the final bytes of the
bootloader image and must be split into a new transmit package.

The UUU tag is needed by UUU only in the SD Card image file itself so
that UUU can find the end of the boot partition.

Rework the design so the default bootloader and the default imx-boot
binaries are not tagged.

Also, extend the UUU tagging to fslc so it can gain the same benefit.

Fixes: https://github.com/Freescale/meta-freescale/pull/1762
Fixes: https://github.com/nxp-imx/mfgtools/issues/416
Co-authored-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-09-16 04:36:03 -07:00
Khem Raj
ea4261bf46
imx-base: Bump optee P_V to 4.2.0.imx
4.2.0.imx was merged via [1]
Therefore match the version settings

[1] https://github.com/Freescale/meta-freescale/pull/1906

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 20:41:29 -07:00
Tom Hochstein
ec2f9a8235 imx-base.inc: Simplify libdrm, wayland-protocols overrides
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-09-05 07:21:16 -07:00
Khem Raj
5b22cd90a8
imx-base: Bump weston P_V to 12.0.4.imx
12.0.3.imx is gone from metadata

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-19 20:55:33 -07:00
Hiago De Franco
d1c6878cf2 gstreamer: Update 6.6.3-1.0.0 to 6.6.23-2.0.0
Upgrade gstreamer and all related recipes to 1.24.0, syncing with
meta-imx layer.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-08-03 18:20:53 -03:00
Tom Hochstein
2ca5c455bc gstreamer: Downgrade non-forked recipes to match 1.22.5.imx
Add the full set of 1.22.5 compatible recipes with the following
exceptions due to build breaks for obsolete components:
- gstreamer1.0-omx: Drop the recipe
- gstreamer1.0-plugins-ugly: Drop liba52 and mpeg2dec support

These exceptions mirror changes in the upstream support:
9c21815339 gstreamer1.0: update 1.22.11 -> 1.24.3
90fbfe9fe1 liba52: remove the recipe
d46660e6c0 mpeg2dec: remove the recipe

(From OE-Core rev: ae9c64cd2291f4b24ac442816a4e354e47c70933)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-06-05 09:54:41 -07:00
Max Krummenacher
c239f9f551 imx-base: follow renamed fw package name
Commit 9a522207 ("firmware-imx: Use vpu-amphion and vpu-wave suffix.")
renamed the vpu firmware package name from firmware-vpu-imx8 to
firmware-imx-vpu-amphion.
Follow that in the setting of MACHINE_FIRMWARE setting.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-05-16 13:27:53 +02:00
Tom Hochstein
d29e7efe84 gstreamer: Use upstream recipes
The downgraded recipes are no longer needed.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-04-26 13:23:26 -07:00
Tom Hochstein
a97b02bb29 weston: Upgrade 11.0.3.imx -> 12.0.3.imx
Align with NXP BSP 6.6.3-1.0.0.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-04-24 16:17:06 -07:00
Tom Hochstein
84bb2909ec weston: Upgrade 10.0.4.imx -> 10.0.5.imx
Align with NXP BSP 6.6.3-1.0.0.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-04-24 16:17:06 -07:00
Tom Hochstein
771e4ececa vulkan/spir: Update downgrade 1.3.239.0.imx -> 1.3.261.1.imx
Align with NXP BSP 6.6.3-1.0.0.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-04-24 16:17:06 -07:00
Tom Hochstein
364fa4a641 imx-gpu-viv: Upgrade 6.4.11.p2.2 -> 6.4.11.p2.4
Drops OpenGL support.

Align with NXP BSP 6.6.3-1.0.0.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-04-24 16:16:52 -07:00
Tom Hochstein
dac97d19df libdrm: Upgrade 2.4.115.imx -> 2.4.116.imx
Align with NXP BSP 6.6.3-1.0.0.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-04-24 11:06:36 -07:00
Oleksandr Suvorov
735b303cdf firmware-ele-imx: Update to 0.1.1 aligned with LF6.6.3-1.0.0
Update the recipe to be aligned with the NXP BSP LF6.6.3-1.0.0.

Add installing of a second part of ELE to rootfs.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2024-04-21 21:21:47 +03:00
Khem Raj
a30bdf3001
wayland: Delete recipe
this recipe is close to what core layer has and it seems to be not
needed to be forked anymore

here is diff

--- wayland_1.22.0.imx.bb       2023-09-06 20:34:55.169416916 -0700
+++ ../../../poky/meta/recipes-graphics/wayland/wayland_1.22.0.bb       2023-08-02 14:11:05.768744418 -0700
@@ -12,13 +12,11 @@

 DEPENDS = "expat libffi wayland-native"

-SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/1.22.0/downloads/${BP_ORIGINAL}.tar.xz \
+SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \
            file://run-ptest \
            file://0001-build-Fix-strndup-detection-on-MinGW.patch \
            "
 SRC_URI[sha256sum] = "1540af1ea698a471c2d8e9d288332c7e0fd360c8f1d12936ebb7e7cbc2425842"
-BP_ORIGINAL = "${BPN}-1.22.0"
-S = "${WORKDIR}/${BP_ORIGINAL}"

 UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
 UPSTREAM_CHECK_REGEX = "wayland-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
@@ -61,7 +59,3 @@
 BBCLASSEXTEND = "native nativesdk"

 RDEPENDS:${PN}-ptest += "binutils sed ${PN}-tools"
-
-PACKAGE_ARCH = "${MACHINE_SOCARCH}"
-
-DEFAULT_PREFERENCE = "-1"

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-11 11:15:13 -07:00