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>
The NXP distro was using the community recipes for kernel,
uboot, and gstreamer for 8QXP and 8QM. Fix this by adding the missing
overrides.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5.5.3:
- Fixed a issue with packages marked as not supported
- Now using libwayland-egl on some platforms.
5.5.2:
- Fixed a matrix alignment bug in Vulkan.ObjectSelection.
- Added a Matrix3Std140 helper class that matches the Vulkan shader layout for mat3 in std140 layout.
5.5.1:
- Added a known issue for Visual Studio 2019 16.5.x and provided a workaround until its fixed.
- Fixed a crash bug in Vulkan.Bloom and Vulkan.ModelViewer.
- Fixed vulkan DFGraphicsBasic2D so it works without a --Stats overlay.
- T3DStressTest. Fixed shader precision issue (that also exist in 5.4.0 and previous releases).
- Vulkan depth selection no longer picks unwanted depth+stencil formats.
- Workaround for OpenVG reference implementation EGL bug.
5.5.0:
- New samples
- GLES2.Stats
- Vulkan.Bloom
- Vulkan.EffectOffscreen
- Vulkan.EffectSubpass
- Vulkan.FractalShader
- Vulkan.FurShellRendering
- Vulkan.HDR04_HDRFramebuffer
- Vulkan.ModelLoaderBasics
- Vulkan.ModelViewer
- Vulkan.T3DStressTest
- GLES2, GLES3, Vulkan ModelViewer now supports wireframe rendering.
- Dependency changes
- Assimp 5.0.1 from 4.1.0
- Fmt 6.1.2 from 6.0.0
- Google test 1.10.0 from 1.8.1
- Ninja from 1.9.0 from 1.8.2
- OpenCV 4.2 from OpenCV 4
- Tool changes
- Clang tidy+format now requires clang 8
- VS2019 is now the default on windows.
- Ubuntu and yocto builds now default to the cmake generator (The old makefile based builds are available using "-g legacy".)
- Deprecated FSLLOG and FSLLOG2.
- Introduced FSLLOG3 which use the fmt library instead of streams. The fmt library is a implementation of the C++20 std::format.
- Experimental Angle support and compatibility test.
5.4.0:
- Now requires C++14.
- New Samples
- GLES2.TextureCompression
- Vulkan.ObjectSelection
- Vulkan.SRGBFramebuffer
- Vulkan screenshot support
- Replaced TCLAP with a custom argument parser to reduce executable size.
- FslBuild
- now supports “-c install”.
- Experimental CMake support (see FslBuild_CMake.md)
- Experimental VS2019 support
- Android Studio 3.5.0
- Android NDK r20
5.3.1:
- Added new sample Vulkan.NativeWindowTest.
- Improved Vulkan Wayland support.
- Yocto wayland fix: Not create shell surface for ivi applications which only requires ivi surface.
5.3.0:
- Disable third party downloads per default for Yocto builds. To build using an old Yocto release that doesn't come with all third party software you need to add "--Recipes [*]" to your command line which will re-enable the download.
- Updated all OpenCV 3 apps to OpenCV 4.
- New samples
- GLES2.LineBuilder
- GLES3.AssimpDoubleTexture
- GLES3.LineBuilder
- Vulkan.DFGraphicsBasic2D
- Vulkan.DFNativeBatch2D
- Vulkan.DFSimpleUI100
- Vulkan.DFSimpleUI101
- Vulkan.GammaCorrection
- Vulkan.HDR01_BasicToneMapping
- Vulkan.HDR02_FBBasicToneMapping
- Vulkan.HDR03_SkyboxToneMapping
- Vulkan.InputEvents
- Vulkan.LineBuilder
- Vulkan.OpenCLGaussianFilter
- Vulkan.OpenCV101
- Vulkan.OpenCVMatToNativeBatch
- Vulkan.OpenCVMatToUI
- Vulkan.OpenVX101
- Vulkan.Scissor101
- Vulkan.Skybox
- Vulkan.TextureCompression
- Vulkan.Vulkan101
- Vulkan demo host was refined and is much closer to a finished implementation.
- All Vulkan samples now utilize it. Due to low level nature of the Vulkan API they use it to varying degree, all new Vulkan samples use it extensively and therefore support the usual stats overlay etc. Older samples will be converted in upcoming releases.
- Screenshots are still not supported out of the box, this is coming soon.
- This includes a basic NativeGraphics service for Vulkan.
- Lots of GLES 2 + 3 samples were updated to make it easier to compare the Vulkan and OpenGL ES implementations.
- New logging functionality
- FslBase
- FslGraphics
- Additional unit tests made available
- FslBase
- FslGraphics
- Clang format now runs on shaders as well.
5.2.0:
- CONTRIBUTING.md describes how to contribute.
- Early access to the Helios cross platform camera API.
- GLES3.CameraDemo
- GLES3.DFNativeBatchCamera
- Includes a small subset of the unit tests. More will be made available in future release.
- Code cleanup
- FslBuildCheck now supports clang format and clang tidy.
- All code was reformatted with clang format.
- All code had a tidy pass using clang tidy.
- Added OpenVX.Stereo.
- Vulkan console demos no longer gets build with a window system
- Vulkan.DevBatch implementation improved.
- Fixed all Vulkan 1.1.85.0 validation layer warnings in:
- Vulkan.DevBatch
- Vulkan.DisplacementMapping
- Vulkan.Gears
- Vulkan.MeshInstancing
- Vulkan.TessellationPNTriangles
- Vulkan.Texturing
- Vulkan.TexturingArrays
- Vulkan.TexturingCubeMap
5.1.1:
- FslBuild 2.8.4
- Texture2D SetData
- Fixed pixel formats in OpenCV3 demos
- GLRawBitmapUtil::Result can now be constructed as 'empty'.
- TClap recipe updated to use internal mirror of tclap.
- Updated DemoFramework.docx yocto section as it was out of date.
- Updated the TPConvert script
5.1.0:
- All ThirdParty code is now downloaded as needed instead of being included in the repo.
- Windows builds now default to Visual Studio 2017 instead of 2015.
- Basic support for changing the color-space via EGL.
- Examples of how to setup SRGB and HDR framebuffers.
- HDR to LDR display rendering examples with various basic tone-mapping algorithms.
- Vulkan enabled for the Yocto Wayland backend.
- Assimp upgraded to 4.1 on most platforms.
- GLES3.ColorspaceInfo
- GLES3.EquirectangularToCubemap
- GLES3.GammaCorrection.
- GLES3.HDR01_BasicToneMapping
- GLES3.HDR02_FBBasicToneMapping
- GLES3.HDR03_SkyboxTonemapping
- GLES3.HDR04_HDRFramebuffer
- GLES3.MultipleViewportsFractalShader.
- GLES3.Scissor101
- GLES3.Skybox
- GLES3.SRGBFramebuffer
- GLES3.TextureCompression.
- Vulkan.VulkanInfo.
- Android build now requires Android Studio 3.1 and the Android NDK16b or newer.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Add an image (based on suiting packagegroup) for QorIQ networking targets.
Can be reasonably used to run tests when NXP sends updates for LSDK or people
want to start first steps on layerscape RDBs (or derived hardware).
Signed-off-by: Jens Rehsack <sno@netbsd.org>
GCC 10 dropped implicit inclusion of <stdexcept> [1], causing the
GPU SDK build to fail.
Introduce a patch which explicitly includes <stdexcept> at the base
header, effectively solving missing declarations in various SDK parts.
[1]: https://gcc.gnu.org/gcc-10/porting_to.html
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Commit [189229d0f822d62c6e4da19a367f754b0c9162af] in meta-freescale
layer consolidated both libraries and binaries packages for
imx-gpu-apitrace recipe into a singe package.
Drop the reference to -bin package in the package group as it is
reported as missing and would be provided by imx-gpu-apitrace anyway.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
The xserver-xorg fail to build when using ARM instruction set, if dri is
enabled. Disable it for now.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>