The user cannot disable buildhistory from local.conf because it is set
in fslc-base.inc. Use a default setting instead.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Recent Bitbake update introduced following commits in attempt to adapt
to new requirement from GitHub [1]:
86a9c268 ("fetch2/git: Add a warning asking users to set a branch in git urls")
42526a40 ("fetch/git: Show warning for invalid github urls")
There is a warning issued for those recipes that either do not
explicitly provide branch parameter to the Bitbake fetcher, or still
using unauthenticated git:// protocol.
Adapt recipes across layer to accommodate for those new requirements.
Link: [1]: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
The patch to remove non-compliant source fails due to the existence of
binaries.
Drop the patch and instead remove the non-compliant source manually
from do_unpack.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
The recipe assimp was dropped from OE-core due to license issues and the
lack of any dependency.
The recipe is needed by imx-gpu-sdk, so copy it locally, with an extra
patch to remove the license issues.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
The variable is not set for ssh or console, causing app failures. It's
not clear if this is an error or by design, but setting it manually
does help and doesn't seem to hurt.
Set for fsl and fslc distros.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
If wayland is in DISTRO_FEATURES weston is installed in
CORE_IMAGE_EXTRA_INSTALL so include it in IMAGE_FEATURES as well.
Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
Since OE-Core commit 8d0b4704a5 ("defaultsetup.conf: enable select init
manager"), init manager setting is moved to a separate variable and
simplified.
Yocto documentation [1] suggests that the new syntax should be used to
define init manager in distro definitions.
Convert all syntax to use new init system selection.
Link: [1]: https://docs.yoctoproject.org/singleindex.html#init-system-selection
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
imx-gpu-apitrace package has additional patch and can be build with
glibc >= 2.34
This reverts commit 92c75c69e2.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
imx-gpu-apitrace package build is broken since glibc 2.34+ since
upstream version used the glibc private API version and does not
have a solution yet, see [1].
Exclude the imx-gpu-apitrace package from package group until it is
updated to be compatible with newer glibc.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Link: [1]: https://github.com/apitrace/apitrace/issues/756
Even when using pull_request_target, the merged is issued as
pull_request and this should be used to ensure we can run the workflow.
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
1. Firmware loading failure occurs for regulatory.db:
[ 3.616070] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.624709] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[ 64.473750] cfg80211: failed to load regulatory.db
2. Firmware loading failure occurs for imx-sdma if set to builtin:
[ 64.474069] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 64.496589] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin</div>
[ 125.913831] imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware
Add firmwared to the image to provide firmware loading for the
firmware fallback mechanism.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Prevent multiple providers:
```
ERROR: Multiple .bb files are due to be built which each provide linux-mfgtool:
/opt/work/upstream/sources/meta-freescale/recipes-kernel/linux/linux-imx-mfgtool_5.10.bb
/opt/work/upstream/sources/meta-freescale/recipes-kernel/linux/linux-fslc-lts-mfgtool_5.10.bb
```
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
OE-Core upstream commit 8431708201 ("Remove Clutter and Cogl") has
dropped the support for clutter package and removed recipe from the base
layer.
Drop inclusion of clutter-1.0-examples from the image as the recipe
providing it is not available any longer.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
OE-Core upstream commit 8431708201 ("Remove Clutter and Cogl") has
dropped the support for clutter package and removed recipe from the base
layer.
Drop inclusion of clutter-1.0-examples from the package group as the
recipe providing it is not available any longer.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Upgrade GPU SDK to latest release 5.7.1 from upstream.
----
Release 5.7.1
- Compatible with GCC11
- Fixed G2D dependency issue.
- Fixed android compilation issues.
- Added some notes to help people that hit a "access denied" error when trying to run the visual studio cmake project.
- Updated to OpenCV 4.5.2
----
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Upgrade GPU SDK to latest release 5.7.0 from upstream.
----
Release 5.7.0
* Python 3.6 or better is now required
* Updated all setup guides.
* Windows and Ubuntu now uses cmake find_package to locate the system OpenCL implementation.
This removes the the dependency on the deprecated AMD App SDK.
* Samples:
* New Vulkan sample: Vulkan.GenerateMipMaps
* New Vulkan sample: Vulkan.ShaderClock sample (VK_KHR_shader_clock)
* Vulkan samples updated to utilize the new mipmap generation code.
* Build tools:
* FslBuildCheck.py clang tidy now defaults to use cmake for dependencies. Legacy mode can still be used by adding ```--legacy```.
* FslBuild on windows now defaults to the cmake visual studio generator.
* FslBuild now support package flavors.
* **Breaking change** FslBuild removed support for dynamic variants.
* **Breaking change** FslBuild custom Visual Studio project generator no longer use dynamic variants for the OpenGL ES and OpenVG emulation.
This means we no longer generate a the ```.StartProject.bat``` file. The user is now responsible calling ```ConfigureOpenGLESEmu.bat```
to configure the OpenGL ES emulator before launching the project.. Its recommended to call this right after the prepare.bat file.
* Dependencies:
* Upgraded FMT to 7.1.
* Upgraded GLM to 0.9.9
* Upgraded GLI to master branch snapshot (0c171ee87fcfe35a7e0e0445adef06f92e0b6a91)
* Upgraded RapidVulkan to 1.2.162
----
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
This version is required by the GPU SDK 5.7.0 and higher, see [1].
Switch branch to master, sync up to commit 0c171ee8 ("Clean up") and
drop patches already applied upstream.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Link: [1] https://github.com/NXPmicro/gtec-demo-framework/releases/tag/5.7.0
According to the GCC11 Porting Guide [1], error is issued on ordered
pointer comparison with integer which causes the following build
failure:
| test/core/core_convert.cpp:35:85: error: ordered comparison of pointer with integer zero ('const char*' and 'int')
| 35 | if(std::strstr(FilenameDst, ".dds") > 0 || std::strstr(FilenameDst, ".ktx") > 0)
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
Backport upstream patch to correct the ordered comparison.
Link: [1] https://gcc.gnu.org/gcc-11/porting_to.html
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Install imx-test on all i.MX SoCs
Install imx-gpu-viv-demos on all SoCs with GPU
(previously they were missing on SOCs without 2D GPU like the imx8mq)
Signed-off-by: Nate Drude <nate.d@variscite.com>
As a result these packages will be installed on all i.MX8 SOCs.
Previously they were missing on SOCs without 2D GPU (e.g. imx8mq).
Signed-off-by: Nate Drude <nate.d@variscite.com>
x11 is not supported by NXP/Freescale anymore.
(Mentioned on Pull Request #702 at meta-freescale)
Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com>
The u-boot settings in imx6qdlsabresd, imx6qdlsabreauto, and imx6ulevk are
set to values that are correct for u-boot-fslc. Attempts to override these
settings to fix u-boot-imx builds have broken u-boot-fslc builds, and
vice versa. The u-boot-imx build is currently broken:
```
| install: cannot stat '/opt/work/upstream/fsl-xwayland/tmp/work/imx6qdlsabresd-fsl-linux-gnueabi/u-boot-imx/2020.04-r0/build/u-boot.img': No such file or directory
```
The overall design is reworked, and the overrides here are simply dropped.
Fixes: 880dbf2 ("fsl-base.inc: use conditional assignment for base variables")
Fixes: e83f54d ("machines: imx-base.inc: fix failing u-boot builds")
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Upstream commit 2456f523cf ("licenses: Update license file to match
current SPDX names") deprecated the usage of LGPL-2.1 SPDX identifier,
removed LGPL-2.1 license file and replaced it with LGPL-2.1-only SPDX
identifier and text file.
Adjust recipe to use new SDPX identifier and text file.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Builds of 8DXL using fsl- distros are incorrectly using -fslc providers instead of -imx
providers. Fix this now and for all future i.MX 8 parts by using the common i.MX 8
override _mx8 instead of trying to maintain a list of all SoC-specific overrides.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Base machine-specific variables are now moved to distro, and are
hard-assigned to certain values. This effectively overrides definitions
of same variables in machines, making mx8m machines fail to build with
NXP BSP, as imx-boot package requires SPL to be deployed for it.
Make those assignments as conditional ones, leaving the possibility for
certain machines to re-define them for their own purpose.
Fixes: e83f54d ("machines: imx-base.inc: fix failing u-boot builds")
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
If using a fsl-xxx distro the prefered provider of U-Boot is
u-boot-imx. That U-Boot didn't make the switch to a unified dl/q/qp
binary and does not use an spl. For the imx6ulevk it does not use an
spl.
The below commits try to address that, however the change is not
limited to
- the fsl distro but rather uses use-nxp-bsp which can be used with any distro
- some machines which do not use u-boot-imx, e.g. colibri-imx6 now fail.
Fix this by moving the configuration into the affected distro in
meta-freescale-distro and the machines.
This commit and one in meta-freescale Fixes in meta-freescale:
c9757ea3 ("imx-base.inc: Fix use-nxp-bsp after rework")
77e56f30 ("imx-base.inc: Limit use-fsl-bsp u-boot overrides to i.MX 6 and 7")
e5cd33c9 ("u-boot.imx: Add u-boot configuration for fsl")
Build tested with fsl-xwayland & use-nxp-bsp for imx6qdlsabreauto,
imx6qdlsabresd, and imx6ulevk.
Build tested with the fslc-xwayland & use-nxp-bsp for imx6qdlsabreauto,
imx6qdlsabresd, imx6ulevk, and colibri-imx6.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
The 8M Mini configuration does not include rapidopencl or rapidopenvx,
so remove the incorrect runtime dependencies.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
All of the wayland based distros add systemd to DISTRO_FEATURES.
However, sysvinit is also added as part of DISTRO_FEATURES_BACKFILL,
set in poky/meta/conf/bitbake.conf.
Remove sysvinit from DISTRO_FEATURES_BACKFILL by adding it to
DISTRO_FEATURES_BACKFILL_CONSIDERED as suggested in
poky/meta/conf/distro/include/init-manager-systemd.inc.
Signed-off-by: Pierluigi Passaro <pierluigi.p@variscite.com>
- Use default packaging since there's no need to override
- Set ALLOW_EMPTY_${PN} since the main package is empty
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
OE-core does not add -dev packages to the SDK for recipes
with an empty main package. Work around this issue by adding
a runtime dependency on any such recipes.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5.5.3 to 5.6.0:
- This release contains breaking changes.
- Recommendations and examples for designing custom UI systems.
- FslSimpleUI system now follows these best recommendations and comes with a default theme.
- This includes DPI aware rendering.
- New samples
- GLES3.RenderToTexture
- GLES2, GLES3, Vulkan, SdfFonts
- GLES2, GLES3, Vulkan, UI.DevNativeTexture2D
- GLES2, GLES3, Vulkan, UI.DpiScale
- GLES2, GLES3, Vulkan, UI.PixelPerfect
- GLES2, GLES3, Vulkan, UI.SmoothScroll
- GLES2, GLES3, Vulkan, UI.ThemeBasicUI
- Better CMake integration.
- Release and debug builds now use separate output dirs by default.
- Better support for CMake generators.
- CMake + ninja is now the default backend for Ubuntu and Yocto for improved build speed.
- Ubuntu builds now utilize CMake's find_package support to locate third party dependencies.
- Code modernization with PathView, StringViewLite, NumericCast and Spans.
- Clang tidy + format now requires clang 10.
- Downgraded ninja build system requirement to 1.8.2 from 1.9 for better ubuntu 18.04 compatibility.
- Better display metrics available to all samples.
- Misc: New binary texture atlas format, new bitmap font format with simple kerning.
- NativeBatch upgrades
- SDF rendering.
- Pixel perfect bitmap font rendering.
- New rendering primitives.
- Now require a compiler with proper C++14 constexpr support.
- This means GCC 5.x and below is not supported.
5.6.0 to 5.6.1:
- Fixed a issue in the basic UI theme for 80dpi.
- Updated Doc/FslSimpleUI.md
- Updated KnownIssues.md
- Upgraded the fmt library to 7.x to improve compile time and reduce exe size.
- Latest build tools
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
GStreamer plugin provider is not defined for NXP distro and was relying
on the values set in meta-freescale layer.
Define those providers here to point to those provided by NXP, since
this distro include file defines the NXP BSP usage.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>