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
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>
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)
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>